Hacking [Tutorial] How to convert Arm9LoaderHax payloads to FIRMS

Status
Not open for further replies.

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,871
Trophies
2
Location
At Home :)
XP
4,496
Country
yeah i implemented that -b in my python script but doesn't help apparently the problem is with the framebuffer adress they are integrated in the code so i don't really know how the new firmtool works since the readme.MD is not updated
I'm not sure how there doing it but this guy below has all the .firm builds in his hourly page for B9Sv1.2, if you need them that is its just a shame we could not get your app working! :(

https://gbatemp.net/threads/compile...otu-for-boot9strap-v-1-2.473197/#post-7372458
 

Hihomaster

Well-Known Member
Member
Joined
Jun 25, 2008
Messages
184
Trophies
0
XP
486
Country
France
  • Like
Reactions: Reecey

key1340

Well-Known Member
Member
Joined
Jul 6, 2015
Messages
193
Trophies
0
Age
33
XP
222
Country
United States
it's okay i will find a way once i understand how the firm is created and what framebuffer address to put

You don't need to update your app the updated framebuffer doesn't get add in when you convert the a9lh bin to firm. It needs to be added in to the source code of the app you won't to build.
 

Hihomaster

Well-Known Member
Member
Joined
Jun 25, 2008
Messages
184
Trophies
0
XP
486
Country
France
You don't need to update your app the updated framebuffer doesn't get add in when you convert the a9lh bin to firm. It needs to be added in to the source code of the app you won't to build.
so the original app need to be updated to use firmtool for v1.2?
 

key1340

Well-Known Member
Member
Joined
Jul 6, 2015
Messages
193
Trophies
0
Age
33
XP
222
Country
United States
so the original app need to be updated to use firmtool for v1.2?

With b9s 1.0 all you need to do is convert a9lh.bin to firm.bin with firmtool.

For b9s 1.2 you need to update the framebuffer in the source code of godmode9,decrypt9 or whot ever app you wont to make compatible with b9s.Then make the a9lh.bin then convert to firm.bin with firmtool.
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,871
Trophies
2
Location
At Home :)
XP
4,496
Country
With b9s 1.0 all you need to do is convert a9lh.bin to firm.bin with firmtool.

For b9s 1.2 you need to update the framebuffer in the source code of godmode9,decrypt9 or whot ever app you wont to make compatible with b9s.Then make the a9lh.bin then convert to firm.bin with firmtool.
So what file & line do you change to convert the app in the master-folder? say if you open it up with notepad++ what part do you change to what and then just type in "make release" I presume in cmd to build it? just use decrypt9 as an example. I know all about building files I used to do all the wiiu stuff over there so all I need to know is which file & line or lines you need to change to what string to convert the framebuffer?
 
Last edited by Reecey,

key1340

Well-Known Member
Member
Joined
Jul 6, 2015
Messages
193
Trophies
0
Age
33
XP
222
Country
United States
So what file & line do you change to convert the app in the master-folder? say if you open it up with notepad++ what part do you change to what and then just type in "make release" I presume in cmd to build it? just use decrypt9 as an example. I know all about building files I used to do all the wiiu stuff over there so all I need to know is which file & line or lines you need to change to what string to convert the framebuffer?

To update the framebuffer is different for every app.Here is Decrypt9 and hourglass9 code for an example.

https://github.com/d0k3/Decrypt9WIP/commit/99069ca130175f74e195cc11f2a5e3cd385ebf19
https://github.com/d0k3/Hourglass9/commit/dbf75e2007efa0fed93b0eaad5a8e9e07ae5b828

When the framebuffer has been updated you don't need and special commands just use make or make firm for most apps.Or if you have the a9lh.bin that has its framebuffer already updated just use the command on the first page of this thread with firmtool.
 
  • Like
Reactions: Reecey

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,871
Trophies
2
Location
At Home :)
XP
4,496
Country
To update the framebuffer is different for every app.Here is Decrypt9 and hourglass9 code for an example.

https://github.com/d0k3/Decrypt9WIP/commit/99069ca130175f74e195cc11f2a5e3cd385ebf19
https://github.com/d0k3/Hourglass9/commit/dbf75e2007efa0fed93b0eaad5a8e9e07ae5b828

When the framebuffer has been updated you don't need and special commands just use make or make firm for most apps.Or if you have the a9lh.bin that has its framebuffer already updated just use the command on the first page of this thread with firmtool.
I see so the apps have already been updated by the owner, its just a matter of compiling them again.
 

Clément

Well-Known Member
Member
Joined
Aug 2, 2016
Messages
126
Trophies
0
Age
21
Location
Paris
XP
144
Country
France
Okay i made a new version but i didn't test it yet ( pretty busy right now)
if someone could test it to see if it works with b9s1.2 ? that woul be helpful
I obtained a output.firm and the size is 0 kb with Python 3.6.1 :/ I need to have Python 3.2 ? Or it's not the problem ?
upload_2017-6-11_0-24-43.png
 

Mat37

Well-Known Member
Member
Joined
Dec 3, 2016
Messages
790
Trophies
0
Age
22
Location
Does it matter ?
XP
1,379
Country
France
Is there any tool to convert bins to firm for b9s 1.2 ? cuz emunand9 doesn't work (or maybe i'm doing something wrong but tested with files at page 3 and makes same result
 

Mitch__

Active Member
Newcomer
Joined
Jun 12, 2017
Messages
32
Trophies
0
Age
20
XP
100
Country
United States
WARNING: I am not responsible for any damage to any devices.

Anyway, so head on over to https://github.com/TuxSH/firmtool.git
Download the firmtool file
Scroll down to "Building a firmware binary from an arm9loaderhax.bin payload "
Copy the code "firmtool build test.firm -n 0x23F00000 -e 0 -D arm9loaderhax.bin -A 0x23F00000 -C NDMA"
Run that but replace the arm9loaderhax.bin with the payload of your choice
It should create a test.firm file.
Just rename that to whatever you chose and put it in your luma/payloads

Anyway, I'm bad at making quality tutorials, but this should work. It at least worked for me

Also, I would also like to point out that I haven't done anything in the development of the firmtool. i just figured the makefile of godmode9 would say something about firm files. All credit goes to TuxSH.
Can someone please elaborate this for me? I got lost at "Run that but replace the arm9loaderhax.bin with the payload of your choice" run what?
 

Mat37

Well-Known Member
Member
Joined
Dec 3, 2016
Messages
790
Trophies
0
Age
22
Location
Does it matter ?
XP
1,379
Country
France
Can someone please elaborate this for me? I got lost at "Run that but replace the arm9loaderhax.bin with the payload of your choice" run what?
Copy the code in a bat file in same directory as firmtool, and replace arm9loaderhax.bin with the name of your payload
 

Powerful

Well-Known Member
Member
Joined
Dec 7, 2016
Messages
538
Trophies
0
Age
26
XP
2,367
Country
United States
can anyone make an emunand.firm for b9s v1.2? i could only get the emunand firm to work on b9s 1.0
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Yeah but if your main goal is just to play n64 and GameCube you can save about $50 and have the portability option
    +1
  • BigOnYa @ BigOnYa:
    True, but on 2 monitors at 4k. Its just want you want really, to each they own.
  • K3Nv2 @ K3Nv2:
    For a kids aspect Anbernic would be the better option they'd probably melt over the price on a good 4k display
    +1
  • BigOnYa @ BigOnYa:
    For that texasroo guy, I'd recommend the Spell and speak as his first system.
    +1
  • K3Nv2 @ K3Nv2:
    So they buy a pi5 kit for about $150 and say a 28" 4k display probably looking around $400 total
  • K3Nv2 @ K3Nv2:
    They'll be getting in the territory of portable Pcs anyway
    +1
  • BigOnYa @ BigOnYa:
    Again you get what you pay for, its like buying a S series for $300 but its only 1440p native, if you want true 4k, gotta get the X model for $500. But yea you right, when moms buying it anyways, you gotta stay cheap.
  • K3Nv2 @ K3Nv2:
    They could use HD out on their TV no real need for a monitor these days tbh the purists will disagree
  • K3Nv2 @ K3Nv2:
    I'm kind of phasing out on the need for wanting all these consoles cool to have but they just become dust build ups
  • BigOnYa @ BigOnYa:
    I here ya there, I have too many myself, and have hard time letting them go, since most of mine I've modded at some point. Anymore I just play Switch on the go, seriesx at home.
  • Xdqwerty @ Xdqwerty:
    ack my throat
  • K3Nv2 @ K3Nv2:
    I need to invest in some storage totes tbh
  • BigOnYa @ BigOnYa:
    Tots?
  • K3Nv2 @ K3Nv2:
    Tootles
  • BigOnYa @ BigOnYa:
    Tootles? Wtf
  • K3Nv2 @ K3Nv2:
    Oh tootles
  • BigOnYa @ BigOnYa:
    Oh totes , lol, like Tupperware storage, I gotcha
  • BigOnYa @ BigOnYa:
    I'm designing my own entertainment cabinet for my man cave, to store all my systems, then I'm also designing a power supply/HDMI switcher so I can switch to whichever system I want, and power it also. Already picked up the cabinet board, but tinkering with my drawings before start
  • BigOnYa @ BigOnYa:
    But yea, I have frogger arcade cabinet that I gutted and put a Pi4 then Pi5 into, but it never gets played much anymore, should sell it. Even when the kids come over, they don't want to play on it, just the xbox. TMNT and Simpson's arcade is still so fun on it, esp w 2 players.
  • K3Nv2 @ K3Nv2:
    Gonna check out the new Garfield looks like garbage
  • BigOnYa @ BigOnYa:
    Can't wait to see the new "stick" that can actually play Ps3 or 360 games. I know they are getting close.
  • BigOnYa @ BigOnYa:
    @Xdqwerty didn't you see the new garfield?
  • K3Nv2 @ K3Nv2:
    Ah it's all animated I was hoping for some live action
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, yes i did
  • T @ TheSusKing:
    does anyone know if you can run android apps on a usb
    T @ TheSusKing: does anyone know if you can run android apps on a usb