Guide to compiling USBLoaderGX and similar applications (July 2021)

Compiling Homebrew applications


Introduction
Other than some chatting here and there, from what I can see no thorough guide has been created and updated on this subject since the early 2010s, so I am going to show anyone searching for instruction on doing this.

1. Create/fork a repository
(If you are compiling someone else's existing code repository, go to Step 2b).
1a. If the code is yours, you'll need to upload it (makefile and all) to a Github repo.
1b. If you are compiling from an existing repository (i.e, USB Loader GX), you need to fork the repository of the existing code (Img 1 & 2).
img1.png


Img2.png


2. Create a codespace
On the main page for the repository you will see a green button that says "Code" on it. Click that, and choose "Codespaces", and click "Create codespace on [branch]" (Img 3). The codespace will take a bit of time to build, grab some tea or coffee while you wait 😋 🍵
Img3.png


3. Build the application
Once your codespace opens, you should see a terminal window in the bottom right of your screen, type
Code:
make clean && make
press enter (Img 4). You should now have the boot.dol file in your directory. This is the application. Make your meta.xml and icon.png seperately and put them in a folder. This folder should be the application's name, and contain no spaces. Put this folder in the Apps directory on your SD card or USB drive.

Img4.png

Not all applications use this method of building, I mainly put out this guide for people wanting to compile applications like USB Loader GX by themselves.
If you want to compile natively on your computer, you can alternatively follow Steps 1 & 2 and use Visual Studio Code with the Github Codespaces extension installed.

Edit: I'm dumb and wrote 2021 in the title.. remind me next time not to write a tutorial when running on caffeine alone lol
 
Last edited by therealedk_,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    This is a great buying guide that I recommend.
  • realtimesave @ realtimesave:
    my rgh systems glitch pretty damn fast
  • SylverReZ @ SylverReZ:
    @BigOnYa, Except Winchester, which even to this day, is not moddable.
    +1
  • realtimesave @ realtimesave:
    now I'm trying to figure out PS4 modding.
    +1
  • realtimesave @ realtimesave:
    looks easy
  • SylverReZ @ SylverReZ:
    @realtimesave, It definitely did take a while for the PS4 to be fully hacked, much like the PS Vita.
  • SylverReZ @ SylverReZ:
    Sony has announced that they will be using a non-x86 processor for their next-gen console.
  • BigOnYa @ BigOnYa:
    Amazon fire sticks switching to a custom linuxOs instead of Android, sucks for 3rd party apks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, is the red ring of death still common in phat xbox 360s?
  • SylverReZ @ SylverReZ:
    @BigOnYa, And Linux, regardless of its distro, is still easy to install 3rd-party modifications.
  • BigOnYa @ BigOnYa:
    Yes, phats are just a good heater for the winter months
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Yes, its only relatively common on early models.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, then the chance of potentially me wanting to have a phat xbox 360 is -1%
  • SylverReZ @ SylverReZ:
    If you have one, then chances are is that it needs a reballing of the chips.
  • BigOnYa @ BigOnYa:
    If you can Get a slim, even if few dollars more, do it
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    @BigOnYa im atm fine with my ps3
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Falcon RGH models are fine, but a slim model is slightly more money apparently.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    I remember that my uncle-in-law has (or had?) an Xbox 360 which I think was a slim one
  • BigOnYa @ BigOnYa:
    I've modded prob over 50 Xbox360 over the years, never have I seen a slim come back to me, only the phats. N yea most time it needs reballed.
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, loves Phil spencer
  • SylverReZ @ SylverReZ:
    @K3Nv2, Phil Spencer is a big asshole.
  • BigOnYa @ BigOnYa:
    No I love modding systems more than playing sometimes, I own Nintendo, PS, Atari, etc also. But true my favorite has always been xbox.
    +1
  • K3Nv2 @ K3Nv2:
    / mnt/lg/appstore/developer/apps/usr/palm/packages packages
  • K3Nv2 @ K3Nv2:
    I'm gonna write onlyfans for webos users now
    K3Nv2 @ K3Nv2: I'm gonna write onlyfans for webos users now