Final Fantasy Hacktics

Modding => Help! => Topic started by: Smash on April 24, 2009, 08:06:43 pm

Title: Music editing questions thread
Post by: Smash on April 24, 2009, 08:06:43 pm
After some searching and finding out that it's nearly impossible to insert/replace music directly to the game, the closest option would be pairing ePSXe with media player or another program.


How can I turn the music off without eliminating sound effects?
Title:
Post by: Smash on April 28, 2009, 11:00:52 pm
Im fearing the worst now.


fuck
Title:
Post by: LastingDawn on April 28, 2009, 11:09:29 pm
Hmm... I honestly can't think of anything... yeah. We don't know how to import our own songs unfortunately.
Title:
Post by: Smash on April 28, 2009, 11:28:33 pm
I just need to know how to shut off the music.. Be it by overwriting the files with an empty one or by hex editing.

I have no clue on how to do it.
Title:
Post by: Sephirot24 on April 28, 2009, 11:32:03 pm
Shutting off the music may be easier... maybe one of the songs in the in-game list is an empty one...

Unfortunately IDK =( we have a stalled project with LD for that.. too bad.
Title:
Post by: Smash on April 28, 2009, 11:37:19 pm
Quote from: "Sephirot24"Shutting off the music may be easier... maybe one of the songs in the in-game list is an empty one...

Unfortunately IDK =( we have a stalled project with LD for that.. too bad.
I read somewhere in a thread here long ago a list of songs (First thread in hacking/patching tools board), that had hex number 00 as empty, and named some others.

A posibility perhaps.
Title:
Post by: Cheetah on April 30, 2009, 02:06:08 am
You can easily turn of the music in events. The music everywhere else would be a bit trickier though.
Title:
Post by: Smash on April 30, 2009, 02:09:50 am
I got my hex editor ready. :)


From there on.. I know shit about anything.
Title:
Post by: Cheetah on April 30, 2009, 02:28:38 am
Attack.out is the file you are going to want to work in. Set your view to 24 byte length. This information is from Gomtuu I believe and many other sources. I'm just pasting it here since I can't find the original on the forums. Change the 6th and 7th byte of ever line to 00, and all music will be off in every event in the game. This information starts at 0x00010F0A. Hopefully this will get you started.

First line:
0x10938: 0100   3E00   0033   3400 0100   0000 0000 0000 0100 0000 0000 0000
         AAAA BBCC DDEE FFGG GGHH HHII II ZZ xxxx xxxx JJJJ

Last line:
0x10950: 0200 3E00 0033 3400 0100 0000 0000 0000 0100 0300 8100 0000
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx KKKK LL xxxx


x = duplicate, ignored data
A = Scenario number: 1
(Just an index for this list, apparently.
Also, whichever event is numbered "1" always plays first.)
B = Map number: 0x3e
(MAP/MAP062.GNS)
C = Weather: 0
(Doesn't influence whether the rain animations are used)
D = Day/Night: 0
0 = Day
1 = Night
E = First Music file: 0x33
(SOUND/MUSIC_51.SMD)
F = Second Music file: 0x34
(SOUND/MUSIC_52.SMD)
G = ENTD entry: 0x0100
(Looks like this matches the "Game Events" list.)
H = Character placement grid, 1st Squad
(Placement grids are found in ATTACK.OUT at 0xbbd4)
(For first scenario, using this makes the placement screen garbled.)
I = Character placement grid, 2nd Squad
J = Event script: 0
(Scenario 1 seems to be a special case because Event Script 0
plays just fine. Using Event Script 0 on scenario 3 causes wrong
text to display.)
(Also seems to control which scenario block the "next scenario"
byte is read from)
K = Next scenario: 3
(As indexed by A)
L = 0x80 = World map follows this scenario
0x81 = Another event follows this scenario (K)
0x82 = Game reset follows this scenario (side effect, or intneded?)
Z = Not sure yet, but setting it to 1 makes Ramza mandatory on
character placement screen
Title:
Post by: Zozma on May 01, 2009, 09:14:00 pm
PLEEEEASE someone find how to change the overworld music! ill be ur bestest friend (for a few minutes)
Title:
Post by: Cheetah on May 01, 2009, 10:17:56 pm
Hmmm...I think I have an idea on that.
Title:
Post by: Zenko on May 01, 2009, 10:43:24 pm
how about you... change the sector and filesize of the song in the SCUS?
Title:
Post by: Zozma on May 02, 2009, 06:34:05 am
okay i think i have found them all cheetah it doesnt seem to crash or make anything unstable. i found a pattern, everything before and after the value 1B for ALL of these are identical so i changed them all to 5F and it worked!!

0x14A0
0x2464
0x975C
0x9BC8
0xACB8
0x1B548
0x22AA8

changing all of these will make the world map music whatever value u set it at, but dont thank me, thank Cheetah, he's really the one that did this.
Title:
Post by: Cheetah on May 02, 2009, 12:26:56 pm
Most excellent Zozma. If we continue to look into this I'm pretty sure we could figure out how to control the music for other areas of the world map. I will look into this a bit more.
Title:
Post by: Zenko on May 02, 2009, 12:45:33 pm
My quite interesting, on my side I found back my "music table" that allows changing the loaded music sectors.

http://www.ffhacktics.com/wiki/Music (http://www.ffhacktics.com/wiki/Music)
Title:
Post by: LastingDawn on May 04, 2009, 02:03:37 am
This is great news! Good work, Zodiac and Cheetah!