Add Soyuz-TMA trainer demo

This commit is contained in:
Ehmry - 2019-03-16 18:42:42 +01:00
parent fbaa7c31f3
commit b7d04cb18e
3 changed files with 39 additions and 1 deletions

View File

@ -5,7 +5,11 @@ URL_BASE = https://ce.gl/ports/dist/soyuz
: |> wget --quiet $(URL_BASE)/%o |> soyuz.zip
: soyuz.zip \
|> unzip %f -d tmp ; tar cf %o -C tmp . ; rm -r tmp \
|> unzip %f -d soyuz ; tar cf %o dosbox.conf soyuz ; rm -r soyuz \
|> $(DEPOT_RAW_DIR)/%d/@(DEPOT_VERSION)/soyuz.tar {raw}
: runtime |> !runtime_to_depot |> {package}
: archives |> !archives_to_depot |> {package}
: {package} |> !publish_pkg |>
: {raw} |> !publish_raw |>

6
runtimes/soyuz/archives Normal file
View File

@ -0,0 +1,6 @@
@SDK_USER@/src/vfs/@SDK_VERSION@
@SDK_USER@/src/libc/@SDK_VERSION@
@SDK_USER@/src/stdcxx/@SDK_VERSION@
@DEPOT_USER@/src/libretro-dosbox/@DEPOT_VERSION@
@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@
@DEPOT_USER@/raw/soyuz/@DEPOT_VERSION@

28
runtimes/soyuz/runtime Normal file
View File

@ -0,0 +1,28 @@
<runtime ram="128M" caps="192" binary="retro_frontend">
<requires>
<nitpicker/>
<rtc/>
</requires>
<content>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="libretro.so"/>
<rom label="retro_frontend"/>
<rom label="soyuz.tar"/>
<rom label="stdcxx.lib.so"/>
<rom label="vfs.lib.so"/>
</content>
<config>
<game path="/dosbox.conf"/>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
<vfs>
<tar name="soyuz.tar"/>
<dir name="dev"> <log label="core"/> <rtc/> </dir>
</vfs>
<default-controller port="0" device="771"/>
</config>
</runtime>