Hacking Wii U Hacking & Homebrew Discussion

  • Thread starter Thread starter filfat
  • Start date Start date
  • Views Views 5,122,394
  • Replies Replies 21,104
  • Likes Likes 29
Which file are you suggesting to add this to, and why? I can incorporate this back into libwiiu if it helps people.
You mentioned that function calls crash, this means there is a problem with the stack.
Some examples have this code:
Code:
/* Load a good stack */
asm(
"lis %r1, 0x1ab5 ;"
"ori %r1, %r1, 0xd138 ;"
);
Replace that or add it after _start.
 
  • Like
Reactions: pelago
Which file are you suggesting to add this to, and why? I can incorporate this back into libwiiu if it helps people.
I believed the "findcode532.c" file under the framework/src.

Am I correct in assuming that this PPC ASM does either add 0x1220 or(i) add 0xc250 to r1 (stack)?
 
So in "findcode532.c", I should replace this:
Code:
asm("stwu %r1,-0x2000(%r1)");

With yours? I'm gonna try that now, and upload it back to wiiulib.arndroid.nl.
Not findcode, in the loader.c file you're trying to compile. Basically it's loading a clean stack to use.
 
  • Like
Reactions: Adr990
You mentioned that function calls crash, this means there is a problem with the stack.
Some examples have this code:
Code:
/* Load a good stack */
asm(
"lis %r1, 0x1ab5 ;"
"ori %r1, %r1, 0xd138 ;"
);
Replace that or add it after _start.

Unfortunately, that still doesn't fix the problems I've mentioned. Where exactly did you get 0x1220c250 anyway?

I believed the "findcode532.c" file under the framework/src.

Am I correct in assuming that this PPC ASM does either add 0x1220 or(i) add 0xc250 to r1 (stack)?

It loads 0x1220, shifted 16-bits left, into r1 (lis stands for load-immediate shifted), so it loads 0x12200000. Then it does a bitwise-OR with 0xc250, meaning r1 becomes 0x1220c250 (ori stands for OR-with-immediate).
 
  • Like
Reactions: Adr990
I put it before the OSFatal function-call.
Since it's stack-access, maybe it should be after the function!? :D

Well, OSFatal() needs the stack to run, so it would be before. Anyway, when you say code execution works, are you saying OSFatal() does or doesn't print something?
 
So no one, and I mean no one has any information on all regarding the safety of 5.4.0.? Freaking really? I would've thought those who programmed the exploit would know more about that. Wow, that really is reassuring. No really.

Calm down, we're getting a lot of questions and there's no reason yours takes priority. We have some bugs that seem viable, but 5.4.0 isn't our focus while we finish 5.3.2.
 
Well, OSFatal() needs the stack to run, so it would be before. Anyway, when you say code execution works, are you saying OSFatal() does or doesn't print something?
It prints the text, but the console doesn't recognise any buttons presses what-so-ever! :/
 
You don't pay much attention ever to things, just gimme gimme gimme. They are probably all right now polishing and fixing any bugs they can in the 5.3.2 right now. I am sure at some point they will look into and get back on 5.4.0. No answer probably means they aren't sure yet.
 
Calm down, we're getting a lot of questions and there's no reason yours takes priority. We have some bugs that seem viable, but 5.4.0 isn't our focus while we finish 5.3.2.

I'm not the one asking, @Adeka was the one that asked, and I was merely trying to get someone to answer his question, that's all.
 
Calm down, we're getting a lot of questions and there's no reason yours takes priority. We have some bugs that seem viable, but 5.4.0 isn't our focus while we finish 5.3.2.
Please tell me, it's your program made to create homebrews on the Wii U?, because i don't understand how this works.
 

Site & Scene News

Popular threads in this forum