aliaspider / svchax

21 stars 6 forks source link

Hax always fails with big homebrews (?) #2

Open Rinnegatamante opened 8 years ago

Rinnegatamante commented 8 years ago

The hax always fails with homebrews with a large code section as stated in this thread: http://gbatemp.net/threads/easyrpg-3ds-rpg-maker-2000-2003-player-for-3ds.419889/

Maybe the problem is related to custom target application it uses?

aliaspider commented 8 years ago

you mean with the takeover specified in the xml ? i didn't test it there, maybe the environment is a bit different. I'll have a look. also due to the high failure rate, I wouldn't recommend using it for a standard homebrew, it was mostly meant for specific uses where the failure rate is irrelevant. why does rpg maker need it ? does it use a dynamic recompiler ?

Rinnegatamante commented 8 years ago

EasyRPG core is pretty big (elf file is 71 mbs and 3dsx 4,5 mb) so it needs a pretty large code section (4,5 mb) and not any target can handle it (some good targets are Youtube App, Monster Hunter 4 Demo, Monster Hunter 4, Mario Kart 7).

Anyway i need it cause on such targets, csnd:SND service is unaccessible and dsp::DSP produces framedrops since it runs a secondary thread on appcore.

aliaspider commented 8 years ago

ah I see it is for the CSND service.

I've run into the same audio frame drops problems with the DSP driver and managed to 'solve' it by using a single looping wavebuffer, audio is then played back the same way it is done with CSND, and the drops are gone.

I'll try to find a solution for the xml takeovers but you would still have the problem of the bad bootrate, so I would really recommend giving DSP another chance.

Rinnegatamante commented 8 years ago

I tried what you suggested and it works quite good, differences between csnd and dsp is pretty low (like 1 fps). Thanks for your tip ;)