I thought the screen did crazy shit if you didn't refresh it? Or am I getting that mixed up with trying to draw on the screen without refreshing it...If the text is static you can blit it once and refresh screen only when needed.
I thought the screen did crazy shit if you didn't refresh it? Or am I getting that mixed up with trying to draw on the screen without refreshing it...If the text is static you can blit it once and refresh screen only when needed.
I thought the screen did crazy shit if you didn't refresh it? Or am I getting that mixed up with trying to draw on the screen without refreshing it...
there is a more technical explanation, but due to the size of lpp-3ds, it can't be used as a boot.3dsx directly under ninjhax 2.x.The screen just stays red when I try to use this is a boot.3dsx.
I place the index.lua at the root of the sd card, right?
If it's not related to where my index.lua file is, is it a problem with my code?
oldpad=999
pad=999
while true do
Screen.waitVblankStart()
Screen.refresh()
Screen.clear(TOP_SCREEN)
Screen.clear(BOTTOM_SCREEN)
pad = Controls.read()
Screen.debugPrint(0, 0, "Happy", Color.new(255,255,94), TOP_SCREEN)
if pad~=oldpad and (Controls.check(pad,KEY_X)) then
if start_dir == "/" and build ~= "Custom Firmware" then -- boot.3dsx patch
System.reboot()
else
System.exit()
end
end
Screen.flip()
oldpad = pad
end
you could check these out:Oh, thanks.
Could I make a boot.3dsx that launches the lpp-3ds.3dsx?
If so, is there any code you know of that I can s̶t̶e̶a̶l̶ borrow to launch a .3dsx?
<services autodetect="false">
<request priority="1">csnd:SND</request>
</services>
Awesome news man, I will check this out real soon. Thanks for all your hard workTo anyone who wants to use audio in their homebrews, i'm currently working hard to solve dsp:: DSP service problem. In the meantime, i fixxed csnd:SND service on NH 2.5 (it means audio is now available also on NH2.5!) but there are few things to say:
1) There could be some bug with static loud / looped blocks with OGG streaming (report me music files info if this appears like bitrate, samplerate, audiotype, audio length).
2) An audio device has been implemented in lpp-3ds. It means you no longer need to specify channels with Sound.play.
3) Now Sound.play can assume as facoltative 3rd argument an interpolation mode (NO_INTERP, LINEAR_INTERP, POLYPHASE_INTERP). By default is set to LINEAR_INTERP and POLYPHASE_INTERP is available only with dsp:: DSP
4) Sound system now check at the begin if csnd:SND service is accessible. If it's available, it's used as sound service, if not, (experimental) dsp:: DSP is used.
5) To check if your executable is running csnd:SND or dsp:: DSP, you can use Sound.getService(), it will returns you a string with the service currently running with Sound system.
6) Video playback (JPGV & BMPV) are currently using csnd:SND hardcoded. It means if you use a Video module feature when you're on dsp:: DSP, you'll get a console freeze.
7) Network module and csnd:SND are incompatible. It means if you need Socketing or Networking you have to use experminetal dsp:: DSP which have a lot of issues ( https://github.com/smealum/ctrulib/issues/209 )
8) To use csnd:SND you have to use this service descriptor template in your homebrew:
Code:<services autodetect="false"> <request priority="1">csnd:SND</request> </services>
To use sound system, you can grab this Nighly Build: https://github.com/Rinnegatamante/lpp-3ds/commit/6c46ddd9f95aad14e068827ac91e1459907a9b70
Is there a lua camera?
http://gbatemp.net/threads/example-camera-service-high-framerate-and-fast-drawing.402882/ looks interesting, though it needs an xml to use Nintendo 3DS Camera...If you mean camera support, not yet cause cam:U wrapper is kinda bugged right now (according to issues opened on ctrulib repository).
nope, it doesn't (seem to) work on ninjhax 2.x. Rinnegatamante is trying to fix this.Are you sure System.launch3DSX works?
I can't seem to get it working.
Ok thanksAs @ihaveamac said, currently 3dsx launcher works only on NH1.1b (on NH 2.X it will result in a system crash); my first goals for next revision of lpp-3ds (r4) are to fully solve luaSound issues, add NH2.x 3dsx launcher support and add new services access (like the camera ones).
Kann you write an Wii version to? There is currently no Lua on wii.
Or is it only thought for portable consoles?
Kann you write an Wii version to? There is currently no Lua on wii.
Or is it only thought for portable consoles?
well, here's some I found while searching online.I don't use any home console (they are just a money stealing way).