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

  • Thread starter Thread starter Rinnegatamante
  • Start date Start date
  • Views Views 187,231
  • Replies Replies 1,199
  • Likes Likes 35
The sound system is very buggy, it corrupts audio even after the app has been closed (cia). The sound fixes itself after hw rebooting
I've been talking with @Rinnegatamante about this, I think LPP could use an update to it's libctru library, there have been some improvements made to the CSND system since the version currently used.
 
I've been talking with @Rinnegatamante about this, I think LPP could use an update to it's libctru library, there have been some improvements made to the CSND system since the version currently used.

I'm working on a massive update to lpp-3ds core to use the last ctrulib release but it will take some time to adapt all the CSND calls.
 
Updating to latest ctrulib seems to have completely broken lpp-3ds sound system on fw > 9.2 as @keanutah reported after his tests.

I probably take a break from 3DS scene until NH 2.5 release to see if it will solve the issues. In the meantime i'll update my projects regarding PSVITA scene.
 
Updating to latest ctrulib seems to have completely broken lpp-3ds sound system on fw > 9.2 as @keanutah reported after his tests.

I probably take a break from 3DS scene until NH 2.5 release to see if it will solve the issues. In the meantime i'll update my projects regarding PSVITA scene.

Is it broken on cia build?
 
I want to check if ntr is installed, and I'm trying this:
Code:
function checkntr()
    local cias = System.listCIA()
    local v
    local installed
    for _,v in pairs(cias) do
        if (v == 0x00b00000) then
            installed = true
            break
        else
            installed = false
        end
    end
    return installed
end

I have ntr installed, and its UID is 00b00000, however it isn't listing it.
 
So now that *hax 2.5 has been released, will you update lpp to fix the problems the current version has?

Doubtful.

I should talk sincerely,
i DON'T KNOW where the problem is with Ninjhax 2.5 cause libctru FSFILE wrapper didn't change from the build i'm using right now and also i really don't understand how NH2.5 was not tested before releasing (cause releasing something that have problem with the most homebrews already released means you not tested your product or you don't give a fuck about developers who create homebrews for 3DS scene).
I'm also annoyed by all these f**king problems with libctru, haxs, payloads and so on, even with NH2.1 that broke EVERYTHING (soc:U, httpc:c, cfg:u, csnd:SND) and i won't waste TONS of hours trying to patch my code that SHOULD work fine cause they run perfectly with older builds of haxs, payloads, libctru.
I came from PSP scene, PSP scene had the best hackers you could ask like Tyranid, DarK_AleX, Total_Noob, yifanlu, Wololo, qwikrazor87, 173210 (who everyone insulted on this community https://gbatemp.net/threads/unconfirmed-arm11-kernel-vulnerability-under-10-0-0-x.398953/ ) and such big fails never happened: pspsdk is a very strong, complete and well working toolchain with no bugs and it works on ANY CF/HEN/SIGNED HB (cause it seems to be a special things to people who works on 3DS scene, not a normal thing like it should be cause no one wants to rewrite an hb pratically by scratch cause a new hax is released who doesn't support a f**k about older things).

Closing this digression by saying i probably stop working on my 3DS projects cause seems all of them are broken by something new and i won't waste hours of work on something which won't work after 1 month cause a new hax is released and it works as good as a p*nis in the a*s.

Stating current situation if someone wants to fix my works:
1) CHMM2 gives extdata errors when trying to write on extdata.
2) Last commit of lpp-3ds has sound broken cause it's based on newest csnd wrapper and it seems using the same functions as the old ones is not good cause as i said before, on 3DS scene if you write a code who works with a libctru version, it's not sure it works with latest one :D
3) If you use old lpp-3ds (not last commit) all networking features are broken, sound and gpu could cause glitchy things (probably caused by one of them not properly freeing shared memory), getSystemModel doesn't work cause random and probably more others.
4) Any lpp-3ds related homebrew already released (Sunshell, Big Red Menu, Blackjack 3DS, VN3DS, WANT3D, etc...) have the same limitations of point (3).

Until i don't see a final stable version of libctru which works with ANY released thing and will work with ANY future released thing, i probably not update anyone of my projects.

Good day everyone.
 
Yeah pretty much everyone is saying that hax2.5 is buggier than ever and broke a ton of stuff. I don't blame @Rinnegatamante for not wanting to update lpp because of that.
 

Oh thank you, I didn't know that. It's a shame though, lpp is awesome and I hoped that networking functions would be fixed for 2.5 so I could've started to work on a bigger project

--------------------- MERGED ---------------------------

Yeah pretty much everyone is saying that hax2.5 is buggier than ever and broke a ton of stuff. I don't blame @Rinnegatamante for not wanting to update lpp because of that.

Yeah, I understand that. Hopefully smea will release a version with fixes soon
 
Last edited by The_Marcster,
Yeah pretty much everyone is saying that hax2.5 is buggier than ever and broke a ton of stuff. I don't blame @Rinnegatamante for not wanting to update lpp because of that.

It's a pain in the ass how much regression there is with some of these 3ds libraries, I don't blame @Rinnegatamante either. I spend most of my 3DS dev time trying to debug strange issues instead of writing new features. I think this is just how it goes when the whole 3ds homebrew community relies on just a few developers to write our exploits and libraries.
 
Another day lost trying to search a fix for sound system with @ihaveamac and got this results:

- old libctru + old csnd (like original lpp-3ds r3): freeze when trying to start the song on NH 2.5, works fine on NH 2.1
- new libctru + new csnd with LINEAR_INTERP: corrupted sound (like wrong samplerate) on NH 2.5, corrupted sound on NH 2.1
- new libctru + old csnd: freeze when trying to start the song on NH 2.5, corrupted sound on NH 2.1
- new libctru + old csnd (using mappableAlloc) for CSND_Initialize: freeze when trying to start the song on NH 2.5, corrupted sound on NH 2.1
- new libctru + new csnd without LINEAR_INTERP: freeze when trying to start the song on NH 2.5, corrupted sound on NH 2.1


What does using or not using new libctru means not talking about sound on NH 2.5:

- new libctru have networking features fixxed, random errors (don't know how to patch) on several functions (like System.getBatteryLevel)
- old libctru have networking features broken


Just to let know if someone wants to try to understand where the problem is.
@smealum you asked me to search for assistence so, do you know what could be the problem? Even if i use latest commit of ctrulib, sound is completely corrupted when with old libctru and old csnd wrapper (like the one used in CHMM2) everything works fine at least on NH 2.1 and NH 1.1b.
 
Another day lost trying to search a fix for sound system with @ihaveamac and got this results:

- old libctru + old csnd (like original lpp-3ds r3): freeze when trying to start the song on NH 2.5, works fine on NH 2.1
- new libctru + new csnd with LINEAR_INTERP: corrupted sound (like wrong samplerate) on NH 2.5, corrupted sound on NH 2.1
- new libctru + old csnd: freeze when trying to start the song on NH 2.5, corrupted sound on NH 2.1
- new libctru + old csnd (using mappableAlloc) for CSND_Initialize: freeze when trying to start the song on NH 2.5, corrupted sound on NH 2.1
- new libctru + new csnd without LINEAR_INTERP: freeze when trying to start the song on NH 2.5, corrupted sound on NH 2.1


What does using or not using new libctru means not talking about sound on NH 2.5:

- new libctru have networking features fixxed, random errors (don't know how to patch) on several functions (like System.getBatteryLevel)
- old libctru have networking features broken


Just to let know if someone wants to try to understand where the problem is.
@smealum you asked me to search for assistence so, do you know what could be the problem? Even if i use latest commit of ctrulib, sound is completely corrupted when with old libctru and old csnd wrapper (like the one used in CHMM2) everything works fine at least on NH 2.1 and NH 1.1b.
Thanks for all your efforts man.

Have you looked into the overhaul branch of libctru? I know there is another branch with over 100 new commits
 
Last edited by keanutah,

Site & Scene News

Popular threads in this forum