Homebrew So, what have been achevied with HANS so far ?

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
We achieved to patch the romfs in order to edit textures, musics, levels, etc...
But what about the .code file ? No one tried to patch it, and it seems like it was never modified in ROM hacking before; I can't find any tool about it.
But that's something that I would like to know: how do we patch it ?
For example, when we patch Alpha Sapphire .code with the Omega Ruby one, it works, but we get a black screen (haven't tried with romfs patching at the same time.).
But when we patch Alpha Sapphire with the Face Riders one, HANS crashes: it seems like he cannot run the .code file, or something like that.
Can we have more info about it or anything ?
 

Astoria

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
653
Trophies
1
XP
1,245
Country
Costa Rica
Just tried replacing both code and exefs from Y to AS, no lucj, HANS crashes.

This makes me wonder, could there be a reason smealum has not released the source code of HANS? Maybe it's a simple check that HANS makes to know if the code being loaded is from the same game?
 
  • Like
Reactions: Mrrraou

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
Just tried replacing both code and exefs from Y to AS, no lucj, HANS crashes.

This makes me wonder, could there be a reason smealum has not released the source code of HANS? Maybe it's a simple check that HANS makes to know if the code being loaded is from the same game?
I don't know, maybe it is.
But I managed to load the OR .code into SA, but with a black screen (the game crashed). So, that's pretty strange.
 

Astoria

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
653
Trophies
1
XP
1,245
Country
Costa Rica
I don't know, maybe it is.
But I managed to load the OR .code into SA, but with a black screen (the game crashed). So, that's pretty strange.
Try replacing both the code and romfs. I don't have two games from the same pair to try.
 

JustPingo

Well-Known Member
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
23
XP
1,071
Country
France
Just tried replacing both code and exefs from Y to AS, no lucj, HANS crashes.

This makes me wonder, could there be a reason smealum has not released the source code of HANS? Maybe it's a simple check that HANS makes to know if the code being loaded is from the same game?

I'd bet that HANS uses an unreleased exploit.
I think that maybe the ROP entry is different in every games, so maybe it doesn't work because HANS can't call the intialisation function, but as OR and AS are very similar it would have worked. But that's just a theory, given how few information we have about everything. A bit more clarification from smealum maybe or anyone that belive to have understood would be appreciated. Thanks :P
 
Last edited by JustPingo,
D

Deleted-236924

Guest
I replace both code.bin and romfs.bin when I play Neo Y and Rutile Ruby and both work fine.
I haven't tried without it, but it works so I don't have a reason to change it.
 

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
I'd bet that HANS uses an unreleased exploit.
I think that maybe the ROP entry is different in every games, so maybe it doesn't work. But that's just a theory, given how few information we have about everything. A bit more clarification from smealum maybe or anyone that belive to have understood would be appreciated. Thanks :P
Yeah, that sure uses an unreleased exploit, because there is more RAM available, and more services too. It doesn't look like before, but maybe it's still unreleased because Nintendo would patch it faster.
 
  • Like
Reactions: JustPingo

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
Tried with the OR .code and romfs on AS, it doesn't work. Black screen when HANS starts the game, so next after icache invalidation.
 

ar4757

Well-Known Member
Newcomer
Joined
May 24, 2010
Messages
51
Trophies
0
XP
206
Country
United States
Quick question about hans - if I have a JP cartridge and a US 3ds do I set Hans' region option to US or JP? I'm thinking JP but want to be sure
 

DesuIsSparta

Well-Known Member
Member
Joined
Oct 13, 2015
Messages
580
Trophies
0
XP
1,027
Country
United States
Not specifically HANS-related, but currently working on some ACNL stuff.. Have to reverse-engineer all the file types since they're completely different from other 3ds games and don't use a common format.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
    Skelletonike @ Skelletonike: hmm