Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,490,644
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-27-24 02:07 AM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests

Main - ROM Hacking - Using Sappy's Built in assembler! New thread | New reply


Otoko Yariika
Posted on 08-05-07 05:18 AM Link | Quote | ID: 59990


Micro-Goomba
Level: 11

Posts: 4/15
EXP: 4541
Next: 1444

Since: 08-05-07
From: San Diego, California

Last post: 6104 days
Last view: 5994 days
Hello everybody, this is my first thread! I am going to teach you all how to use Sappy's built in assembler to insert Midi Files! Alrighty! I will assume you have Mid2Agb, and MPlayDef.S. I cannot tell you where to get these as they are copyrighted by Nintendo!
I have only tried this with Sappy 2006, if anyone can test it with a different version, I would appreciate it!

Getting Set Up
----------------------------
Ok so put Mid2Agb and MPlayDef.S in your Sappy Folder. Now go get your Midi file and put it in your Sappy Folder. Drag the Midi File onto mid2agb.exe and it will create a .S file with the same name as your midi.

Checking For Free Space
-------------------------------
Go into a hex editor and open your ROM File. Find a large section of Unused bytes. Write that number down.

Getting Your Instruments
--------------------------------
Go into Sappy and look for a song that seems to use the same instruments as your midi or as close as you can get. Write down the part for Voices.

The Final Set Up
--------------------------------
Alright, now the hard part where people usually give up.
First make a backup. I'll assure you you WILL NEED THIS. DO NOT SKIP THIS PART. I CANNOT STRESS THE IMPORTANCE.
Ok, now go to Assemble Song. Put in your Midi's .S file for Filename. For Base Destination Offset put in the offset of the start of the Free Space you found. For Voices put in your Instruments offset your found. Now click "Assemble that ugly thing!".
Try out your newly inserted song in Sappy. If it crashes thats fine. You almost always will NOT be able to hear it in your ROM. Thats Ok. If you can hear it in Sappy, and you dont like how it sounds try different Instruments.
Now click "Export Tracks..." on the song you inserted.
Ok, now toss out that ROM you just Assembled the song into. THIS IS THE REASON YOU NEEDED THE BACKUP.
Now to Put it in...

The Insertion
--------------------------------
Now take your backed up Rom and Import the tracks you just exported. Put the intruments offset in for the voices. DO NOT TOUCH THE HEADER OR FIRST TRACK! YOU DONT NEED TO CHANGE IT. Click Ok and say yes to adding it to the song table.

And Now your done! Test it out! Feel the power! And remember, Sappy is brought to you by Kyoufu Kawa and Bouche!
Tutorial Made by Otoko Yariika.

____________________
The One and Only Otoko Yariika!
My favorite saying (made by me ) is: ヒヤカス オヤカタ オトコ ヤリーカ (Awesome Master Otoko Yariika)
Hey, look at my awesome posts!
6502 Processor Simulator
Using Sappy's Built In Assembler

Kawa
Posted on 08-05-07 10:28 AM Link | Quote | ID: 60000


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 541/5344
EXP: 30946432
Next: 716549

Since: 02-20-07
From: The Netherlands

Last post: 4499 days
Last view: 2634 days
* applauds *

Thanks. That's was great.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Xenesis
Posted on 08-05-07 12:01 PM Link | Quote | ID: 60005


Level: 46

Posts: 113/416
EXP: 672149
Next: 39625

Since: 02-20-07

Last post: 4385 days
Last view: 3093 days
._.

Aha, thank you for giving me a way to circumvent the 'Sappy song won't play in game' thing. I can't believe I never thought of that!

Otoko Yariika
Posted on 08-05-07 08:30 PM Link | Quote | ID: 60025


Micro-Goomba
Level: 11

Posts: 5/15
EXP: 4541
Next: 1444

Since: 08-05-07
From: San Diego, California

Last post: 6104 days
Last view: 5994 days
Your welcome everybody
I didn't think it was that amazing, but I guess I helped a lot of people out!
Thanks again everybody for there comments. You will see some more tutorials soon!

____________________
The One and Only Otoko Yariika!
My favorite saying (made by me ) is: ヒヤカス オヤカタ オトコ ヤリーカ (Awesome Master Otoko Yariika)
Hey, look at my awesome posts!
6502 Processor Simulator
Using Sappy's Built In Assembler

Main - ROM Hacking - Using Sappy's Built in assembler! New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.018 seconds. (347KB of memory used)
MySQL - queries: 42, rows: 65/66, time: 0.014 seconds.