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,036
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Temp is back back again
    +1
  • Xdqwerty @ Xdqwerty:
    why were servers down?
  • K3Nv2 @ K3Nv2:
    Because it was telling a friend
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, telling what?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Maintenance most likely.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, understandable
  • SylverReZ @ SylverReZ:
    Hopefully it wasn't a DDoS attack.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, i was already believing that was the reason it was down
  • SylverReZ @ SylverReZ:
    @Xdqwerty, The response from the page said it had too many connections. So perhaps, flooded traffic?
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, it didnt say that for me
  • SylverReZ @ SylverReZ:
    @Xdqwerty, It only shows that if you do 'View Source', right below that it'll tell you the SQL response query. I feel like a nerd lol.
  • SylverReZ @ SylverReZ:
    But for everyone, it said unexpected database error.
    +1
  • BigOnYa @ BigOnYa:
    Just said database error for me
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she said it only said "too many connections" when you view the source
    +1
  • Xdqwerty @ Xdqwerty:
    btw gonna try to actually beat touhou 6
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Have fun.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, i recall playing some hard undertale fangames way before playing touhou, like the genocide asgore fangame or the mettaton neo 2.0 one
  • Xdqwerty @ Xdqwerty:
    so atleast im already kinda used to bullet hell games
  • Xdqwerty @ Xdqwerty:
    and yea i played both undertale and deltarune too although those are a piece of cake compared to any touhou game
  • Xdqwerty @ Xdqwerty:
    aaaaaaannnnnnd i already lost all my continues
  • Xdqwerty @ Xdqwerty:
    I only set three default lives btw
  • Xdqwerty @ Xdqwerty:
    cuz of score
  • Xdqwerty @ Xdqwerty:
    i think i first should focus more on beating the game rather than obtaining a high score
  • Xdqwerty @ Xdqwerty:
    good night
    Xdqwerty @ Xdqwerty: good night