Thursday, 20 November 2008
Home
Forum
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome,
Guest
. Please
login
or
register
.
November 20, 2008, 10:55:21 AM
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Auto booting game?
DSLua Community
Welcome,
Guest
. Please
login
or
register
.
November 20, 2008, 10:55:21 AM
1723
Posts in
315
Topics by
5673
Members
Latest Member:
RooneCozy
Home
Help
Search
Login
Register
DSLua Community
|
General DS Programming Chats
|
Code Hashing
|
Auto booting game?
« previous
next »
Pages:
[
1
]
Print
Author
Topic: Auto booting game? (Read 1364 times)
bug
Waxing Crescent
Posts: 14
Auto booting game?
«
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
Re: Auto booting game?
«
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
Re: Auto booting game?
«
Reply #2 on:
January 22, 2007, 10:49:30 AM »
kl, thx
I will try that out now
Logged
bug
Waxing Crescent
Posts: 14
Re: Auto booting game?
«
Reply #3 on:
January 22, 2007, 11:27:30 AM »
Awesome
Even works with the sc.nds file
Thanks dude, help much apreciated
Logged
molster
Waxing Crescent
Posts: 19
Re: Auto booting game?
«
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
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
DSLua - Best scripting language for Nintendo DS
-----------------------------
=> News and Announcements
=> Examples/Tutorials
=> Home-brew/Hacks/Games/Projects
=> Hardware and Equipments
=> Need Help?
=> Bugs & Suggestions
-----------------------------
General DS Programming Chats
-----------------------------
=> Code Hashing
=> Chat Room
=> Test Area
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
(C) 2008 DSLua
DSLua - Best scripting language for Nintendo DS home-brew!