Help - Search - Members - Calendar
Full Version: Autorun.gpe
GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment > GP2X > General talk [GP2X]
saboteur
Anyone give me a heads up on the autorun.gpe

I want to run a program on the SD on boot.

I've done a search, but it's not sinking in.

Oh, and auto run is on. smile.gif

Any and all comments appreciated.

Cheers
Yod4z
what have you put in the autorun.gpe?
saboteur
#!bash

/mnt/sd/scroller/test6.gpe
Alex.
Get autorun.gpe from GMenu2x and edit it to your liking smile.gif
saboteur
OK so my autorun now looks like :
#!/bin/sh
cd /mnt/sd/scroller
exec ./test6.gpe

When the user exits the program - will it revert back to the menu or do I need to reference in this script ??

Thanks


EDIT : Hmm this doesn't work - I've placed the above autorun.gpe into the root directory of my SD and nothing happens any ideas ??
rokdcasbah
what text editor are you using?
Hyperpc
QUOTE(saboteur @ Sep 6 2007, 01:02 PM) *

Anyone give me a heads up on the autorun.gpe

I want to run a program on the SD on boot.

I've done a search, but it's not sinking in.

Oh, and auto run is on. smile.gif

Any and all comments appreciated.

Cheers



It is meant to be autorun.gpu , when save it make sure it is I Linux format.
If it does not work use this text editor and save it in LINUX FORMAT.

notepad++(text editor) biggrin.gif
saboteur
QUOTE(Hyperpc @ Sep 6 2007, 04:58 PM) *

QUOTE(saboteur @ Sep 6 2007, 01:02 PM) *

Anyone give me a heads up on the autorun.gpe

I want to run a program on the SD on boot.

I've done a search, but it's not sinking in.

Oh, and auto run is on. smile.gif

Any and all comments appreciated.

Cheers



It is meant to be autorun.gpu , when save it make sure it is I Linux format.
If it does not work use this text editor and save it in LINUX FORMAT.

notepad++(text editor) biggrin.gif


thanks guys - i'll rename it and give it shot tommorrow.

I already use crimson editor and saved as unix format.

cheers for the help.
saboteur
Thanks to everyone for your help - renaming to .gpu fixed it right up.

Cheers
Hyperpc
QUOTE(saboteur @ Sep 7 2007, 08:44 AM) *

Thanks to everyone for your help - renaming to .gpu fixed it right up.

Cheers



Glad to help biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.