Homebrew [Release] Lua Player Plus 3DS (lpp-3ds) - LUA interpreter for 3DS

  • Thread starter Thread starter Rinnegatamante
  • Start date Start date
  • Views Views 187,230
  • Replies Replies 1,199
  • Likes Likes 35
Could someone build lastest commit (I want to use the io.size fix)? I tried to build myself, and I get a bunch of errors, such as: c:/devkitPro/msys/aemstro_as.py file not found (Yes I have devkitpro installed and working with other homebrews, but that file isn't there) also I get: arm-none-eabi-strip not a valid command.


I posted a compile guide earlier in the thread that fixes all these errors. https://gbatemp.net/posts/5633085/
 
Hello rinnegatamante, this is a programming question. How can I calculate the fps for showing up? I've stuck for days here.
 
you can create a Timer and check how much time passes between two ticks for example. Another quick and weird method could be this:

Code:
tmr = Timer.new() // Create a new timer
fps = 0 // This will be the framerate var
fps_counter = 0 // Internal var to calculate fps

// Main cycle
while true do

   // Increase internal val by 1
   fps_counter = fps_counter + 1

   // If a second has passed, reset timer and save fps val
   if Timer.getTime(tmr) > 1000 then
     Timer.reset(tmr)
     fps = fps_counter
     fps_counter = 0
   end
end
 
Last edited by Rinnegatamante,
you can create a Timer and check how much time passes between two ticks for example. Another quick and weird method could be this:

Code:
tmr = Timer.new() // Create a new timer
fps = 0 // This will be the framerate var
fps_counter = 0 // Internal var to calculate fps

// Main cycle
while true do

   // Increase internal val by 1
   fps_counter = fps_counter + 1

   // If a second has passed, reset timer and save fps val
   if Timer.getTime(tmr) > 1000 then
     Timer.reset(tmr)
     fps = fps_counter
     fps_counter = 0
   end
end
*facepalm* man, I'm feeling stupid. I was trying using getTime in all ways without success. A simple timer give me all I need. Thank you, man. Nice work.
 
funktion request: brstm/bcstm player.

would be neat to play special loops

These files uses ADPCM audiocodec. Theoretically, lpp-3ds support ADPCM files by months but there are different problems in their playback:

1) Streaming will corrupt audio playback.
2) Stereo corrupt audio playback.
3) Currently ADPCM headers for audio reloading are skipped (Cause not jumping them corrupt audio playback).
 
These files uses ADPCM audiocodec. Theoretically, lpp-3ds support ADPCM files by months but there are different problems in their playback:

1) Streaming will corrupt audio playback.
2) Stereo corrupt audio playback.
3) Currently ADPCM headers for audio reloading are skipped (Cause not jumping them corrupt audio playback).
thats sad but shouldnt be there some librarys to play these? Or create an entire new fileformat
 

Site & Scene News

Popular threads in this forum