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
  • Xdqwerty @ Xdqwerty:
    I only drank alcohol once and it was by accident
  • Xdqwerty @ Xdqwerty:
    I didnt know it was beer, it was on a juice bottle
  • SylverReZ @ SylverReZ:
    Yeah, I'm addicted to smoking, sadly. It's very addictive but I wish I didn't start.
  • K3Nv2 @ K3Nv2:
    May just order a 5700g for a nas/emulation set up tbh
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast you were asleep on 4/20
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, you played that Mario flash game called Mario 63?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No, but I've seen it on Vinesauce's stream.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that game is one of the reasons i met newgrounds bc the full versión of it is in that site
  • Xdqwerty @ Xdqwerty:
    Also somebody is remaking it
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the other game where I found newgrounds is new york shark
    +1
  • SylverReZ @ SylverReZ:
    Spoke to Tom Fulp the other day, if he can find his old Newgrounds site content like the mini Flash animations from the 2000's that played on the portal.
  • SylverReZ @ SylverReZ:
    So far no response, but he did say that he'll find them. Wayback Machine doesn't have em.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast the 1999 versión of pico's school is avaliable (the difference between it, the 2006 versión and the 2016 versión is that the speed of the game depends of the speed of your computer and that it had the og soundtrack)
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Another being Pico VS Bear, the original 1999 version before Jim Henson filed a DMCA takedown.
    +1
  • Xdqwerty @ Xdqwerty:
    The 2006 versión was made when the flash portal was made
  • SylverReZ @ SylverReZ:
    Many people thought it was lost, but was discovered that he hid it on the same page.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although the "secrets" system where the game was has been removed. Also pico vs uberkids had a netplay versión that was shutdown, although the swf file has been found
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nope. There are two download buttons on the same page, where you can download the original under a file called "bear.exe". "bear2.exe", however, is the updated game in a Flash projector. P.s. this was on the archived Pico page from 2000.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look hard enough lmao.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, also the pico 2 demos used to be only for the newgrounds patrons but they are on internet archive too (https://archive.org/download/picos_school_2)
    +1
  • Xdqwerty @ Xdqwerty:
    Iirc the demos were removed from newgrounds in 2022
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, or well only the demo with mindchamber's style was on newgrounds
    +1
    Xdqwerty @ Xdqwerty: @SylverReZ, or well only the demo with mindchamber's style was on newgrounds +1