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:
    @Veho, where's the poll at?
  • Julie_Pilgrim @ Julie_Pilgrim:
    they're giving the internet an open text box?
  • BigOnYa @ BigOnYa:
    I never played or own any of they devices, but I like small style, but with a somewhat grip
  • Julie_Pilgrim @ Julie_Pilgrim:
    oh man, that always goes great!
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
  • Veho @ Veho:
    A smaller form factor would be nice too.
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +1
    K3Nv2 @ K3Nv2: A shield portable 2 would be nice aye Nvidia +1