Hacking Official [Source Release] ReiNand CFW

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,855
Trophies
4
XP
10,154
Country
United Kingdom
-fixed version string! - It was a problem with the affinity mask of the thread, lol. Also I made it search more specifically (it now only looks for "Ver. %d.%d.%d-%d"), but for some reason terraria still hates it.
When you say terraria still hates it, what actually happens? Does it crash or it's just glitchy?
 

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
Country
Japan
thank you for your nice cfw. and laste build works fine.
I hope someday reinand 3.x support sysnand if it possible.

thank you.
 

Reisyukaku

Onii-sama~
OP
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
I dont really understand the emunand self patching part. Does reinand now load 10.4 firmlaunch?
Like I said, all the patches to even make emunand happen, are now all automated and future proof, more or less. It finds everything it needs in firm to make emunand happen. Just less for me to have to do when updating firms. It still uses 10.3 because theres no reason for 10.4 yet.
 

Audioboxer

Well-Known Member
Member
Joined
Jun 7, 2007
Messages
524
Trophies
0
XP
392
Country
Pushed code! Didn't wanna stall any longer with this, so yea..
Heres whats new:
-Emunand self patching - I made it so the code will find the sdmmc struct and read/write offsets and patch them. In theory, if you disabled patches, you should be able to get instant emunand by loading any firm. In reality, i still need to tweak the read/write offset finder.. the struct code seems pretty stable.
-Found solution for some hard coded stuff/FS more flexible - Basically I just make fatFS read file size now too.
-got rid of screenShot - If you want ghetto screenshots, just dump VRAM, since thats all it really did :P
-implemented PoC RAM dumper using txt file - I still have to write a string split function, so for now you can only specify start addr and it dumps the first 6MB.(also the txt needs decimal numbers since that was easier than parsing hex, lol)
-changed location of arm9 thread - thought it might help, but it didnt, but since the read is small i left it there, and will use the previous location for something else.
-fixed version string! - It was a problem with the affinity mask of the thread, lol. Also I made it search more specifically (it now only looks for "Ver. %d.%d.%d-%d"), but for some reason terraria still hates it.
-tons of organization and cleaning up for easier to read and modifycode. - self explanatory.

String is back?! String is back <3
 

RednaxelaNnamtra

Well-Known Member
Member
Joined
Dec 8, 2011
Messages
1,210
Trophies
1
XP
3,364
Country
Germany
Like I said, all the patches to even make emunand happen, are now all automated and future proof, more or less. It finds everything it needs in firm to make emunand happen. Just less for me to have to do when updating firms. It still uses 10.3 because theres no reason for 10.4 yet.
I wanted to do something like this in future, but it seems you have done it yourself :)

For the version string patching, maybe you could do it in a similar way, my FreeMultiPatcher finds the memory position for a process. This way it would only patch msets version string.
Have testet something like this for patches in rxTools, didn't know how the version string patching worked at that time, so i didn't got it working.
Maybe I will test it later with reinand.
 

Reisyukaku

Onii-sama~
OP
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
I wanted to do something like this in future, but it seems you have done it yourself :)

For the version string patching, maybe you could do it in a similar way, my FreeMultiPatcher finds the memory position for a process. This way it would only patch msets version string.
Have testet something like this for patches in rxTools, didn't know how the version string patching worked at that time, so i didn't got it working.
Maybe I will test it later with reinand.
Yea, i've been meaning to get an arm11 process running, but free time is scarce.
 
  • Like
Reactions: daxtsu

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    RedColoredStars @ RedColoredStars: Also this song https://youtu.be/27RWx9Q6LcQ?si=c7C8YuRoIPHadiQ0