Homebrew Interesting problem...

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
I've ran into a rather unique problem. I've been working on a homebrew for a while now, but no matter what I try, it won't run on the console... and yet it runs fine on an emulator. Any ideas why?

(and no, I'm not trying kernel access/ cia installing or anything like that :P)
 

machinamentum

Well-Known Member
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
Country
United States
You need to provide context if you want help solving your problem. There could be countless reasons why it'd work on Citra or 3dmoo but not on hardware.
Where's the code?
What are you trying to do in the code?
What do you mean it won't run? Is it crashing on start up? Is it soft locking?
What are you using to launch the homebrew? Homebrew Launcher? Ninjhax/tubehax/ironhax without the launcher?
What parts of the hardware are you trying to call into? Are you using the linear heap correctly? Are you flushing the data cache when needed?
 

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
You need to provide context if you want help solving your problem. There could be countless reasons why it'd work on Citra or 3dmoo but not on hardware.
Where's the code?
What are you trying to do in the code?
What do you mean it won't run? Is it crashing on start up? Is it soft locking?
What are you using to launch the homebrew? Homebrew Launcher? Ninjhax/tubehax/ironhax without the launcher?
What parts of the hardware are you trying to call into? Are you using the linear heap correctly? Are you flushing the data cache when needed?

What happens is when I attempt to load the program, it freezes after doing the service "takeover", with either a black top screen and a red bottom screen, or a garbled top screen with a red bottom screen. It does compile to a rather large file, around 2 mb or so, which makes me wonder if it could be a ram related issue. Also, I'm lauching from the HB launcher, but I've tried without the launcher as well. I've tried NINJhax 2.0 and ironhax, but it doesn't make any difference.

Any other details you might need?
 

machinamentum

Well-Known Member
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
Country
United States
What happens is when I attempt to load the program, it freezes after doing the service "takeover", with either a black top screen and a red bottom screen, or a garbled top screen with a red bottom screen. It does compile to a rather large file, around 2 mb or so, which makes me wonder if it could be a ram related issue. Also, I'm lauching from the HB launcher, but I've tried without the launcher as well. I've tried NINJhax 2.0 and ironhax, but it doesn't make any difference.

Any other details you might need?
2MB is pretty huge, what are you using inside the binary? Are you using the GPU at all? Are you embedding images or sound into the code or loading via SD card?
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,034
Country
United States
can you use the bottom screen for printing? add some printf calls with some code to wait for a button press - essentially a manual break point. put these in some key places, startup game loop - and see where it dies. usually the fastest way to find issues lacking an actual debugger.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @StealthD0g99, welcome