diff --git a/es-configs/rd_prepacks/doom/doom.zip b/es-configs/rd_prepacks/doom/doom.zip new file mode 100644 index 00000000..bdd6ef31 Binary files /dev/null and b/es-configs/rd_prepacks/doom/doom.zip differ diff --git a/es-configs/rd_prepacks/doom/gamelist.xml b/es-configs/rd_prepacks/doom/gamelist.xml new file mode 100644 index 00000000..745ca4b7 --- /dev/null +++ b/es-configs/rd_prepacks/doom/gamelist.xml @@ -0,0 +1,16 @@ + + + + ./doom1.wad + DOOM + In Doom, a nameless space marine is posted to a Martian base where secret teleportation experiments are being conducted. One of these experiments goes horribly wrong and "something fragging evil" starts pouring out of the gateways, killing or possessing all the base personnel! + +Responding to a frantic distress call from the overrun scientists, the Martian marine unit is quickly sent to Phobos to investigate, where you, the space marine, are left to guard the hangar with only a pistol while the rest of the group proceed inside to discover their worst nightmare. As you advance further, terrifying screams echo through the vast halls, followed by a disturbing silence ... it seems, all your buddies are dead and you're all on your own now - fight back, exterminate every evil creature and get your ticket back home to earth! + 0.9 + 19930101T000000 + id Software + GT Interactive + Shooter / 1st person + 1-4 + + diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index e933f82b..c13b5c42 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -1194,6 +1194,7 @@ modules: - cp es-configs/es_systems.xml /app/share/emulationstation/resources/systems/unix/ # These must be put in home folder, managed by retrodeck.sh - cp es-configs/es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml + - cp -rt ${FLATPAK_DEST}/retrodeck/rd_prepacks/ es-configs/rd_prepacks/* # Logo, res, move graphics directory away from default location so splash can be changed after build - mv -f -t ${FLATPAK_DEST}/retrodeck /app/share/emulationstation/resources/graphics diff --git a/post_update.sh b/post_update.sh index 82857bdb..c8f110f0 100644 --- a/post_update.sh +++ b/post_update.sh @@ -88,9 +88,13 @@ post_update() { sed -i '/version=.*/G' $rd_conf sed -i '3i [paths]' $rd_conf - sed -i '/^power_user=.*/i [options]' $rd_conf + sed -i '/^power_user_warning=.*/i [options]' $rd_conf cp /app/retrodeck/extras/doom1.wad "$roms_folder/doom/doom1.wad" # No -f in case the user already has it + mkdir -p "/var/config/emulationstation/.emulationstation/gamelists/doom" + cp "/app/retrodeck/rd_prepacks/doom/gamelist.xml" "/var/config/emulationstation/.emulationstation/gamelists/doom/gamelist.xml" + mkdir -p "$media_folder/doom" + unzip -q "/app/retrodeck/rd_prepacks/doom/doom.zip" -d "$media_folder/doom/" fi # The following commands are run every time. @@ -104,4 +108,4 @@ post_update() { --title "RetroDECK Finishing Upgrade" \ --text="RetroDECK is finishing the upgrade process, please wait." create_lock -} \ No newline at end of file +}