Thursday, 20 November 2008
 
  Home arrow Forum  
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome, Guest. Please login or register.
November 20, 2008, 11:15:41 AM
Username: Password:
Login with username, password and session length

Forgot your password?
Auto booting game?
DSLua Community
Welcome, Guest. Please login or register.
November 20, 2008, 11:15:41 AM
1723 Posts in 315 Topics by 5674 Members
Latest Member: MTIncongoatabor
DSLua Community  |  General DS Programming Chats  |  Code Hashing  |  Auto booting game? « previous next »
Pages: [1]
Author Topic: Auto booting game?  (Read 1365 times)
bug
Waxing Crescent
**
Posts: 14


« on: January 21, 2007, 07:23:11 PM »

Is there any way of auto booting the game without having to go through the lua menu in gbfs mode?

Thanks for any responses, Bug
Logged
Jeremysr
Waxing Gibbous
****
Posts: 254



WWW
« Reply #1 on: January 21, 2007, 08:55:38 PM »

Yep, use autostart.exe (comes with DSLua 0.6). It will edit the directory to find the program to be auto-started. Put it in the same directory as the already-packed GBFS rom and use the command line to type

autostart.exe DSLUA-PACK.nds Gamename.nds /gbfs/

It'll copy DSLUA-PACK.nds to Gamename.nds and edit Gamename.nds to auto-start /gbfs/main.lua.

Or if you'd rather use a hex editor/can't run .exe's, you can find where to change it by doing a text search for "___" (3 underline characters)
Logged
bug
Waxing Crescent
**
Posts: 14


« Reply #2 on: January 22, 2007, 10:49:30 AM »

kl, thx Smiley

I will try that out now Cheesy
Logged
bug
Waxing Crescent
**
Posts: 14


« Reply #3 on: January 22, 2007, 11:27:30 AM »

Awesome Cheesy

Even works with the sc.nds file Cheesy

Thanks dude, help much apreciated Cheesy
Logged
molster
Waxing Crescent
**
Posts: 19


« Reply #4 on: July 20, 2007, 10:24:58 PM »

I cant seem to get this to work. My script is named main.lua . I run autopak, test the .sc.nds, and it works fine... so now i want to make it auto start the main.lua, i open command prmt and do the following

autostart.exe DSLUA-PACK.sc.nds test.sc.nds /gbfs/

and when i run the test, i stil have to select the file (and I even looked at its hex, it was changed.. but didnt work)


turns out, that i used \gbfs\ and not /gbfs/ my bad =(
« Last Edit: July 20, 2007, 10:31:09 PM by molster » Logged
Pages: [1]
« previous next »
    Jump to:  



    (C) 2008 DSLua

    DSLua - Best scripting language for Nintendo DS home-brew!