The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
Adding More Total Songs

#1
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Title:: How to Add More Total Songs
Author:: Gi Nattak
Description:: This will show you how to add more songs into FF6 ROM.

There are normally 85 (55 in hex) total song entries in FF6 ROM. This can be edited to have up to *120 songs. For music hackers who have lots of extra songs to use and place throughout the game, and have ran out of room to insert them, this is truly a great thing!

The first thing to do is relocate the table of sample indexes for each song (the instruments) from C5/3F95 - C5/4A34 (no header) to any other place where there is more space, I recommend one of the expanded F banks - just make sure that USME is not using the bank for something else in 'manage expanded ROM' or it will be overwritten upon saving in USME and will freeze the ROM when any song is set to play.

The next step is to change the code at: C5/01E2: BF953FC5 to the new address of the instruments. So if your relocated instruments are at FE/FE00, you would put BF00FEFE.

The last thing to do is to change the code for the maximum number of songs here:

Data: Number of songs
C5/3C5E: 55

So if you add 1 song it would go to 56. Two songs added would make it 57. Five songs added would be 5A, and so on and so on. Make sure you change this every time you add a song, or risk forgetting how many songs you've added. That's it!

Just add on to the pointer table at C5/3E96 any new song pointers.
The original instrument samples are right under the song pointers, so you can erase all that and/or overwrite it to make room for the additional song pointers.

Other things to note:

- Be warned, doing this process will render JCE3000GT's SPC Editor useless, so you will have to manually change the instrument samples from now on, which is no biggie if you know what you're doing. Check here for info on instruments: https://www.ff6hacking.com/forums/showth...ic+hacking
(I will miss you SPC Editor! We had some great times <3)

- The level editor actually has spots for extra song samples after the used ones that can be used there on the maps.

Credits:
Bank C5 disassembly, by Lenophis and Evil Peer

* There can actually be up to 254 songs (FE), but they will need to be played with the EF or F1 play song commands and they will have issues if a tent or save point is used - they will revert to whatever the last song under 121 was if a game is loaded or after the sleeping/tent song, you see. And also if used for battle songs, will reset the map song back to the beginning afterwords instead of having it play where it left off, like it normally should. So just a heads up about that. With careful management though (and a lot of tedious work) you can put map and battle songs in the 'normal' range and move all other ones that are played only during events with no save points to the extra expanded range.

In order to use EF or F1, first you must change to values here to FF. normally they are 7F:

Play song xx, volume yy
(gen. act. EF)

C0/B7AA:    A5EB        LDA $EB    
C0/B7AC:    29FF        AND #$FF

Fade in song xx with speed yy (higher == slower)
(gen. act. F1)

C0/B7D4:    A5EB        LDA $EB    
C0/B7D6:    29FF        AND #$FF


We are born, live, die and then do the same thing over again.
Quote  
[-] The following 6 users say Thank You to Gi Nattak for this post:
  • Angelo26 (01-25-2013), DenVaktare (11-04-2017), h.carrell (02-17-2022), Joseph Collins (05-24-2015), Kusanagi_999 (10-26-2020), PowerPanda (05-12-2021)



Messages In This Thread
Adding More Total Songs - by Gi Nattak - 01-25-2013, 11:12 PM
RE: How to Add More Total Songs - by madsiur - 01-26-2013, 12:01 PM
RE: How to Add More Total Songs - by Royaken - 05-07-2014, 11:37 AM
RE: How to Add More Total Songs - by madsiur - 05-07-2014, 12:28 PM
RE: How to Add More Total Songs - by Royaken - 05-07-2014, 03:11 PM
RE: How to Add More Total Songs - by madsiur - 05-07-2014, 04:09 PM
RE: How to Add More Total Songs - by Royaken - 05-07-2014, 05:24 PM
RE: How to Add More Total Songs - by madsiur - 05-07-2014, 05:28 PM
RE: How to Add More Total Songs - by Royaken - 05-07-2014, 05:48 PM
RE: How to Add More Total Songs - by ZeldaLink145 - 07-23-2014, 02:57 AM
RE: How to Add More Total Songs - by Tenkarider - 07-23-2014, 08:59 AM
RE: How to Add More Total Songs - by Xenovant - 07-23-2014, 09:38 AM
RE: How to Add More Total Songs - by Tenkarider - 07-23-2014, 09:47 AM
RE: How to Add More Total Songs - by Xenovant - 07-23-2014, 09:51 AM
RE: How to Add More Total Songs - by Tenkarider - 07-23-2014, 09:57 AM
RE: How to Add More Total Songs - by madsiur - 07-23-2014, 02:36 PM
RE: How to Add More Total Songs - by ZeldaLink145 - 07-23-2014, 10:34 PM
RE: How to Add More Total Songs - by JCE3000GT - 05-24-2017, 12:38 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite