DSLua Community

DSLua - Best scripting language for Nintendo DS => Bugs & Suggestions => Topic started by: MusiX on September 15, 2007, 12:06:00 PM



Title: Stand-alone .nds files
Post by: MusiX on September 15, 2007, 12:06:00 PM
Hi

I wonder if it is possible to have a lua project packed into one single and therefore better distributable ".nds"  file?

Thanks


Title: Re: Stand-alone .nds files
Post by: sylus101 on September 23, 2007, 03:54:48 AM
It is with DSLua 0.6, but not 0.7.

There should be instructions in the docs and readme for0.6, but it may depend on the "flavor" you use.

For example, I test in my emulator with an auto launching Green build. You end up leaving the scripts open to viewing though that way. I'm not sure if you can pack everything, scripts and all,  into one file but I think it's possible.


Title: Re: Stand-alone .nds files
Post by: daltonlaffs on September 23, 2007, 05:27:38 PM
If you're using 0.6 GBFS version, then you can run PACK.BAT and include everything in a single .nds file. However, do NOT use any folders in your 'scripts' folder, because it will fail.

Then use the autorun program (included) to make it automatically start any script you choose, and it'll behave just like a commercial game.


Title: Re: Stand-alone .nds files
Post by: manu62300 on October 16, 2007, 09:41:18 PM
Yes i have create my .nds with the DSLua 0.6 GBFS version, and it works with only the linker slot-2