News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

SpiderBall

Started by JumZhu, February 29, 2020, 12:04:00 AM

Previous topic - Next topic

JumZhu

redistribution! The previous post disappeared :>:

FelixWright

Quote from: JumZhu on February 29, 2020, 12:04:00 AM
redistribution! The previous post disappeared :>:

Sorry for that JumZhu, The deletion of the post was not on purpose, the web hosting service inmotion went down and the last backup before its outage was about last sunday or so

True Hyper Sonic

How to install? There aren't any instructions.

FelixWright

Quote from: True Hyper Sonic on October 06, 2021, 01:26:28 PM
How to install? There aren't any instructions.

this is an ASM patch.

[spoiler=What is ASM?]
ASM stands for assembly. It is a low level programming language that runs on specific hardware. A lot of things a hacker may wish to do that MAGE cannot do requires custom ASM. The Gameboy Advance uses an ARM7TDMI processor, so GBA games are programmed in ARM and THUMB assembly. Both GBA Metroid games are written in THUMB, a subset of ARM using smaller and faster instructions. You do not need to know or understand ASM to become a Metroid hacker, but you will likely use someone else's ASM for your hack. Because of this, it is not a bad idea to familiarize yourself with THUMB, as you may want to use custom code in the future.
[/spoiler]

[spoiler=How do I apply ASM?]
In order to apply ASM to a ROM, you'll need an assembler, the ASM file, and your ROM all in the same place. ARMIPS is an assembler that allows you to apply ASM. Get ARMIPS here. Extract ARMIPS, then put your ROM and ASM in the same folder as armips.exe. In this example we will use spiderBall. Next, open the .asm you want to apply in a text editor and look at the top. You should see a second line beginning with .open:

.open "zm.gba","spiderBall.gba",0x8000000

Rename your unpatched rom to what is inside the first set of quotations. (usually it is zm.gba or ZM_U.gba) To apply it in Windows, hold shift then right click an empty spot in the folder. Select "Open PowerShell window here" On Windows 10, or "Open command window here." to patch it, run armips with your ASM File:

For PowerShell (Windows 10): ./armips spiderBall.asm
For command prompt (legacy): armips spiderBall.asm

If it was successful, the output should be the second quotations (spiderBall.gba). If it failed, the command window will explain why. ARMIPS does NOT overwrite your original rom, so you can keep running the same command over again as you fix the ASM.
[/spoiler]