Hacking Official [Source Release] ReiNand CFW

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,857
Trophies
4
XP
10,179
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,212
Trophies
1
XP
3,387
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
  • S @ salazarcosplay:
    and also ahve the option to play as a human
  • S @ salazarcosplay:
    or set it up that when you get injured past a certain point they have to replace your human parts with cybernetics
  • Xdqwerty @ Xdqwerty:
    i have a placeholder enemy sprite i made
  • S @ salazarcosplay:
    or have it that you don't know you are a cyborg, robot, and you find out and have a existential crisis
  • S @ salazarcosplay:
    or have it start in the virtual world and you are an ai that gained sentience
  • Xdqwerty @ Xdqwerty:
    btw gonna wash my face in a bit, my eyes feel tired
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
  • Xdqwerty @ Xdqwerty:
    btw @BigOnYa the health bar doesnt decrease when i take damage (and yes i put the "at the beggining of the scene change value of greenflatbar: set to Protagonistcopmode.Health::Health())
  • S @ salazarcosplay:
    i the protagonist
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
    Xdqwerty @ Xdqwerty: ok im gonna make my own asset