| ||
| Views: 2,093,968 | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 12-01-25 06:53 PM |
| Guest: | ||
| 0 users reading Staplehax -- Ninjhax with kernel access | 1 bot |
| Main - Homebrew projects - Staplehax -- Ninjhax with kernel access | Hide post layouts | New reply |
| Arisotura |
| ||
|
Member blarg Level: 30
Posts: 89/184 EXP: 158893 Next: 6976 Since: 10-27-14 From: France Last post: 3023 days ago Last view: 2934 days ago |
Interesting. Staplehax's libkhax is modified in how it gains SVC access, and I wanted to test it against other firmware versions... gotta debug it.
Would you be available for testing debug builds sometime? ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
| pseudov |
| ||
|
Member Normal user Level: 8 Posts: 7/10 EXP: 1959 Next: 228 Since: 05-27-15 From: Canada Last post: 3772 days ago Last view: 3693 days ago |
Sure thing, it'll be my pleasure to test.
I have two old 3DS units to work with: 8.1.0-0U 9.2.0-20U EDIT: With what firmware version did you get the current Staplehax build to work? |
| pseudov |
| ||
|
Member Normal user Level: 8 Posts: 8/10 EXP: 1959 Next: 228 Since: 05-27-15 From: Canada Last post: 3772 days ago Last view: 3693 days ago |
I'm not sure how important the SYSTEM_VERSION minor is, but I noticed that both the systems I tested were not specifically listed in the System version table of khaxinit.cpp |
| pseudov |
| ||
|
Member Normal user Level: 8 Posts: 9/10 EXP: 1959 Next: 228 Since: 05-27-15 From: Canada Last post: 3772 days ago Last view: 3693 days ago |
After my limited debugging abilities, I have determined that it hangs somewhere at:
Result KHAX::MemChunkHax::Step5_CorruptCreateThread()
Maybe this: u32 writeaddr = GetMagicalPointer() + 0xF3D;
is version specific? |
| Arisotura |
| ||
|
Member blarg Level: 30
Posts: 90/184 EXP: 158893 Next: 6976 Since: 10-27-14 From: France Last post: 3023 days ago Last view: 2934 days ago |
Could be that. Could as well be bad timing.
The whole thing wouldn't work on newer firmwares anyway. I haven't adapted srv:pm registration yet, and FS patching uses hardcoded offsets. ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
| profi200 |
| ||
|
Member Who knows? Level: 20 Posts: 14/70 EXP: 36325 Next: 6114 Since: 05-21-15 From: Germany Last post: 3368 days ago Last view: 3236 days ago |
That's why it is a bad idea to build libhax into apps. That should be done externally. |
| Arisotura |
| ||
|
Member blarg Level: 30
Posts: 91/184 EXP: 158893 Next: 6976 Since: 10-27-14 From: France Last post: 3023 days ago Last view: 2934 days ago |
The libkhax we're using in Staplehax is modified, too. With the original method, I kept running into icache issues. ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
| Opposing Force |
| ||
|
Newcomer Normal user Level: 7 Posts: 1/7 EXP: 1148 Next: 300 Since: 05-25-15 Last post: 3451 days ago Last view: 2696 days ago |
Hi, nice forum here. Really fast and good looking.
My question, StapleButter or anybody, which is the correct .cro file to use with when building this for new3ds? (edit, just saw that I don't need the .cro stuff to build staplehax, but could you still answer this so I can get ninjhax build correctly? thx) The ones I see are: cairo.cro.lex oss.cro.lex peer.cro.lex static.crs webkit.cro.lex Which is the right one and is the .lex format something I have to decompress or process in some way? Thanks! |
| Arisotura |
| ||
|
Member blarg Level: 30
Posts: 92/184 EXP: 158893 Next: 6976 Since: 10-27-14 From: France Last post: 3023 days ago Last view: 2934 days ago |
I know zero about that shit. I haven't bothered to deal with it. ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
| Opposing Force |
| ||
|
Newcomer Normal user Level: 7 Posts: 2/7 EXP: 1148 Next: 300 Since: 05-25-15 Last post: 3451 days ago Last view: 2696 days ago |
Posted by StapleButter .lex, I found out, is not some official file format. It's Nintendo's own LZ77. They just made up the file extension for fun and confusion I guess. .lex stands for, LZ77 EXtended It can be decompressed with dsdecmp. |
| MassExplosion213 |
| ||
|
Newcomer Normal user Level: 3 Posts: 1/1 EXP: 61 Next: 67 Since: 08-01-15 Last post: 3775 days ago Last view: 3717 days ago |
Is this project still active or has it been dropped? |
| pseudov |
| ||
|
Member Normal user Level: 8 Posts: 10/10 EXP: 1959 Next: 228 Since: 05-27-15 From: Canada Last post: 3772 days ago Last view: 3693 days ago |
Posted by MassExplosion213 Posted by StapleButter ^That, and with the release of Ninjhax 2.0 and the upcoming Ironhax, it seems this project has been put aside for now. Hopefully when Ninjhax 2.0 source comes out, StapleButter might take interest in this project once again. |
| Arisotura |
| ||
|
Member blarg Level: 30
Posts: 99/184 EXP: 158893 Next: 6976 Since: 10-27-14 From: France Last post: 3023 days ago Last view: 2934 days ago |
Ninjhax 2.0 makes this redundant, and even works on firmware versions Staplehax wouldn't have supported. The tiny range of potential cases supported by Staplehax made it ephemeral, basically "not worth the effort".
tl;dr Staplehax is dead. The code might be useful for some fancy shit though. ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
| coto |
| ||
|
Member (u32)(0xffff & (~0x3f8f)) Level: 11 Posts: 5/19 EXP: 5135 Next: 850 Since: 05-23-15 From: chili Last post: 3337 days ago Last view: 3335 days ago |
refactor is the key when a project-s purpose has been defeated. Reuse code |
| Main - Homebrew projects - Staplehax -- Ninjhax with kernel access | Hide post layouts | New reply |
|
Page rendered in 0.020 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 91/91, time: 0.009 seconds.
Acmlmboard 2.064 (2018-07-20)© 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |