Parkydr posted on Aug 24 2006 at 09:27 PM said:
Set "Menu Extension" to "ON" to get the other options
Ah-ha! Cheers for that. I should have done my homework and read
this... At least now I can also prevent SD card wear-out
For any other (non-linux) newbs reading who would like to mount a folder (as shared on your PC) onto your GP2X (via Samba on the GP2X), you can do the following. I assume here that you've already read Andrew's blog and can get a terminal session open to your GP2X:
- Get the ARM Samba client from here
- Start up the Samba server on the GP2X
- Browse to \\gp2x in Windows Explorer or similar
- Copy the contents of the above zip file to the root of your GP2X, overwriting if Windows asks you to
- Once logged in to your GP2X via telnet, type "insmod smbfs" at the shell to install the samba filesystem module
- You're then free to mount any shares you may have on your host PC - simply type something like "smbmount //192.168.1.1/gp2x /mnt/sd/" at the shell, depending on your networking/share setup.
Also, for proper game testing while telnet'd in, be sure to "killall gp2xmenu" at the shell, or else when you start a program via telnet the menu will still have input focus, as well as try attempt to compete for the screen.
To start a program from the telnet shell simply type something similar to the following on the command line:
Code:
cd /mnt/sd/myprogramdir/
./myprogram.gpe
You should see any text sent to standard out/standard error on the terminal - the program should start as normal on your GP2X, with all the usual graphical output going to the GP2X's screen. If you want to terminate the application without quiting properly (e.g. the program has hung or something) you can try hitting Ctrl+C in the terminal. If that fails, you might need to start another command window, telnet into your GP2X again, and then type
If that did nothing and the first terminal has still not dropped back out to the the command prompt, you might need to do the more drastic:
More info on the Samba stuff available, as always, on
the wiki.
HTH!