konqithedragon
Member
- Joined
- Apr 8, 2007
- Messages
- 436
I've been making the PND for the latest ReisdualVM and one issue/bug I am having is that the configuration file sometimes becomes blank.. even if the PND is not run... it often happens after using Residual then taking the memory card out then putting the memory card back in..
the configuration file is still fine before I eject the card... but when I put the card back in and have a look at the file.. it just becomes blank.
Here is the shell script for the PND:
and here is a CRUDE video recording of it actually happening:
https://www.youtube.com/embed/dr6QJ7ErkVo?feature=oembed
I've attached the current PND..
Maybe it is something dead obvious I am missing.. maybe there is some weird bug in the RAM from ResidualVM..
residualvm-op(1).pnd
the configuration file is still fine before I eject the card... but when I put the card back in and have a look at the file.. it just becomes blank.
Here is the shell script for the PND:
Code:
#!/bin/sh
export PATH="/mnt/utmp/residualvm/bin:${PATH:-"/usr/bin:/bin:/usr/local/bin"}"
export LD_LIBRARY_PATH=":${LD_LIBRARY_PATH:-"/usr/lib:/lib"}"
export HOME="/mnt/utmp/residualvm" XDG_CONFIG_HOME="/mnt/utmp/residualvm"
if [ -d /mnt/utmp/residualvm/share ];then
export XDG_DATA_DIRS=/mnt/utmp/residualvm/share:$XDG_DATA_DIRS:/usr/share
fi
export SDL_AUDIODRIVER="alsa"
cd $HOME
if [ ! -f residualvm.config ] ; then
cp .residualvmrc residualvm.config
fi
mkdir -p saves
[ -e "$HOME/scripts/pre_script.sh" ] && . $HOME/scripts/pre_script.sh
if [ -e "$HOME/scripts/post_script.sh" ];then
residualvm $*
. $HOME/scripts/post_script.sh
else
exec residualvm -c residualvm.config $*
fi
and here is a CRUDE video recording of it actually happening:
https://www.youtube.com/embed/dr6QJ7ErkVo?feature=oembed
I've attached the current PND..
Maybe it is something dead obvious I am missing.. maybe there is some weird bug in the RAM from ResidualVM..
residualvm-op(1).pnd
Attachments
Last edited by a moderator: