mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 22:51:11 +00:00
![David-John Willis](/assets/img/avatar_default.png)
* Update vairous GPH bundle targets to suit new layout. * Also add .in input files so we can automatically update version numbers.
19 lines
535 B
Bash
19 lines
535 B
Bash
#!/bin/sh
|
|
|
|
# Remount SD with forced Sync, does this really work?
|
|
mount -o sync,remount /dev/mmcsd/disc0/part1 /mnt/sd/
|
|
|
|
# Export the location of any libs ScummVM depends on
|
|
# (to avoid installing to the NAND and overwriting the broken ones there).
|
|
export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
|
|
|
|
# Run ScummVM, important this bit.
|
|
./scummvm.gph --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc
|
|
|
|
# Sync the SD card to check that everything is written.
|
|
sync
|
|
|
|
# Return to the GPH menu screen
|
|
cd /usr/gp2x
|
|
exec /usr/gp2x/gp2xmenu
|