Homebrew HANS source code now publicly available!

WiseHorror

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
77
Trophies
0
Age
29
Location
Lisbon, Portugal
XP
279
Country
Portugal
I read something 'bout people unpacking the updates themselves and getting the files from their romfs to copy them into the actual game's romfs so it would run them, or something.
I'm not entirely sure if anything happened from that.
Yes, a lot of people tried that, myself included, and it didn't work(at least in Pokemon)
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
22
XP
424
Country
United States
Yeah, I get that, but I'm trying to understand if HANS not doing anything after launching the game is just consequential to the app's function and you can in fact run code while the game is running, or if there is no actual way to do it.
you have to either dump the update and dlc data necessary to have the entire thing, undecrypt all of it through a pretty stupid process, and then combine it with romfs, ORRRRR ask someone who already has it and pray you're not shot for warez requests.
 

LeifEricson

Coming Soon™
Member
Joined
Jun 22, 2012
Messages
234
Trophies
0
Age
26
Location
New York, USA
Website
www.youtube.com
XP
499
Country
United States
as some1 already said somewhere, it just saves the screenshot tool in ram, and when the game thinks that it calls the home menu, it actually calls the screenshot tool, which saves the screenshot and resumes the game.

EDIT- I mean that if I understand it right, every game gets a pointer to the start of the function of the main menu, which enables it to run menu while playing. HANS sends a false pointer to the app that is running (as that person says)

So would it be possible then to change the function that gets loaded to RAM (or the pointer)? Because all I need to do is make the screenshot code loop ot implement what I'm trying to do.
 
D

Deleted User

Guest
So would it be possible then to change the function that gets loaded to RAM (or the pointer)? Because all I need to do is make the screenshot code loop ot implement what I'm trying to do.
i dont know for sure, just a theory
 
D

Deleted User

Guest
Well looking at it again it does appear to be doing some memory manipulation before launching, perhaps that's the code that you're theorizing about. I'll see what I can mess with.
you said you know c, right? each function you wright has a pointer to it, and every time you call it, the "pointer" of the executer jumps to the start of the function, performing whatever it should, and then it goes back to the point where you called the function. so theoretically, maybe the game that runs, has a pointer to the code chunk of the system menu, or to something that loads the system. if ya see any memory manipulations, then maybe he makes the "home menu" pointer point to the screenshot tool instead of pointing to the menu. and maybe he back-up's the real pointer, and at the end he returns the right values at the end of execution of the game. maybe, who knows, it's just a theory(, a game theory LOL)
 
  • Like
Reactions: BurningDesire

NodePoint

  
Member
Joined
Sep 29, 2015
Messages
164
Trophies
0
Location
that was a lie -- actually somewhere in europe
XP
168
Country
United States
Since HANS is open sourced now, could it be possible to modify it to allow it to bootup into DS mode in order to play DS cartridges?

I have menuhax installed, and would love to be able to boot both 3DS games and DS games in the menu without having to switch to the normal home menu.
I don't know about that but what I do know is that HANS doesn't load a game or app when you either change app within an app or change firmware modes (like when selecting 'Nintendo DS' whilst in Download Play [which is supposed to bring it to the ol' DS download play] launched via HANS or when attempting to access the system update utility in the settings also launched by HANS).
 
Last edited by NodePoint,

Heran Bago

Where do puyo come from?
Member
Joined
Nov 6, 2005
Messages
3,100
Trophies
0
Age
34
Location
Foggy California
Website
heranbago.com
XP
1,177
Country
United States
man you're really disconnected if you donno whats hans...

LOL
You're right I just use Gateway, emunand, ninjhax, and ironhax and they seem to do everything I want. There is a thread about hans shortcuts but it doesn't say what hans is. I'm guessing it's just another homebrew launcher or cfw.
 
  • Like
Reactions: Deleted-236924

NodePoint

  
Member
Joined
Sep 29, 2015
Messages
164
Trophies
0
Location
that was a lie -- actually somewhere in europe
XP
168
Country
United States
You're right I just use Gateway, emunand, ninjhax, and ironhax and they seem to do everything I want. There is a thread about hans shortcuts but it doesn't say what hans is. I'm guessing it's just another homebrew launcher or cfw.
It's a "game enhancer." Allows you to inject arbitrary code in 3DS software, overclock, region/language spoofing. That stuff.
 

NodePoint

  
Member
Joined
Sep 29, 2015
Messages
164
Trophies
0
Location
that was a lie -- actually somewhere in europe
XP
168
Country
United States
I'll give it a few weeks until they figure out how to boot entire ROMs using Hans. xD
I would generally be surprised if that happens.
It's not arbitrary code at all.
Technically it is, if you're able to replace (maybe any) images or, alter things within the game/app.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Skelletonike @ Skelletonike: No idea what that is tbh, is that like the iso or something?