smealum / ninjhax2.x

source code for 3DS hax 2.x payloads
http://smealum.github.io/3ds/
75 stars 24 forks source link

Cannot use APT_SetAppCpuTimeLimit on the KOR version Old3DS #9

Open d3m3vilurr opened 8 years ago

d3m3vilurr commented 8 years ago

API fail on the o3ds 10.3K

I was try to check about svchax stuck on the Korea console with browserhax. I added debug codes, and few days ago, figure out main problem.

My console always return error code at call APT_SetAppCpuTimeLimit, and svcCreateThread(with processor_id is 1) cannot create new thread.

So, I was asked to https://github.com/yellows8/3ds_browserhax_common/issues/36, yellows8 said this problem already fixed since 2.5 payload, but still cause :(

This problem cause cannot use some homebrew apps...

d3m3vilurr commented 8 years ago

This issue only has old version.

I think, this problem cause diff memory map. dlplay of KOR version might be have same memory map. but other apps might be have difference map.

Old 3ds KOR version not work these actions.

  1. Not work return homebrew launcher (L+R+Down+B)
  2. HANS cannot launch apps. It will raise crash.
  3. Cannot launch some homebrews(related this issue). They will struck.

So I want to recheck all app entries for to check this theory. But 96crypto_dbgen only can calculate to 1st~3rd. But app_targets's memory map have 1st to 4th~9th.

So my question is, can share method about how calculate full memory map entries?

d3m3vilurr commented 8 years ago

Ok, I switched launch hax to basehax. This problem has gone.

d3m3vilurr commented 8 years ago

@yellows8 said This seems like a KOR-*hax-payload issue. :-/ so reopen issue :)