Please login or register.

Login with username, password and session length
Advanced search  

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen/RetroArch is recommended for playing/testing, pSX is recommended for debugging.

Pages: 1 [2]
French Maid
Xifanie (Webmistress) [Posts: 4347]
  • View Profile
  • Final Fantasy Hacktics
  • http://steamcommunity.com/id/Xifanie
  • share
  • [January 31, 2010, 05:06:16 AM]
Re: Any way to put any music (from outside the game) in-game?
« Reply #20 on: January 31, 2010, 05:06:16 AM »
Are you sure this is for a FFT ISO and not a sound file? I tried patching my ISO and it gave me a "not the same size" warning, and after patching the ISO wouldn't run anymore.

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    gomtuu [Posts: 208]
    • View Profile
    • share
    • [January 31, 2010, 05:54:46 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #21 on: January 31, 2010, 05:54:46 AM »
    Quote from: "Zodiac"
    Are you sure this is for a FFT ISO and not a sound file? I tried patching my ISO and it gave me a "not the same size" warning, and after patching the ISO wouldn't run anymore.
    It is for the ISO. Mine is 541,315,152 bytes long (2352 bytes/sector). I just applied my patch and FFT1.3 to the same ISO and they both worked... Hmmm...

    I don't know if this matters, but I made the PPF with "MakePPF 2.0 W32 Version Icarus/Paradox" and I applied it with PPF-o-Matic 3.0.
    Slowly resume pixel art, work somethg favourite ~
    jimmyjw88 [Posts: 2913]
    • View Profile
    • share
    • [January 31, 2010, 06:15:02 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #22 on: January 31, 2010, 06:15:02 AM »
    So meaning we need that to work?

    Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.
    gomtuu [Posts: 208]
    • View Profile
    • share
    • [January 31, 2010, 01:26:59 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #23 on: January 31, 2010, 01:26:59 PM »
    Quote from: "jimmyjw88"
    So meaning we need that to work?
    If you mean FFT 1.3, then no, you don't need that for it to work. I was just saying that my patch and 1.3 both worked on my ISO, which leads me to believe that my ISO isn't unusual.

    If you mean PPF-o-Matic, then yes, it's possible that PPF-o-Matic would work and other patchers wouldn't for some reason. That's just a guess, though, and for all I know, Zodiac is also using PPF-o-Matic. Does anybody have any ideas?
    Slowly resume pixel art, work somethg favourite ~
    jimmyjw88 [Posts: 2913]
    • View Profile
    • share
    • [January 31, 2010, 03:21:52 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #24 on: January 31, 2010, 03:21:52 PM »
    Well, I tested on Original ISO and it worked. Now, I'll try 1.3

    EDIT: Well, both 1.3 and original ISO worked. Yay ^^
    Very very nice gomtuu. But need hex editing?

    Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.
    French Maid
    Xifanie (Webmistress) [Posts: 4347]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [January 31, 2010, 03:39:48 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #25 on: January 31, 2010, 03:39:48 PM »
    Don't mind my previous post; I just didn't try hard enough. I made it work. Now I want info to compose my own songs!!

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Vanya [Posts: 3958]
    • View Profile
    • My Facebook
    • share
    • [January 31, 2010, 06:16:59 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #26 on: January 31, 2010, 06:16:59 PM »
    Have you looked into the PSF ripping tools? Maybe they could give you some insight to the FFT music format.

    • Modding version: Other/Unknown
  • ¯\(°_0)/¯
    gomtuu [Posts: 208]
    • View Profile
    • share
    • [January 31, 2010, 08:30:04 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #27 on: January 31, 2010, 08:30:04 PM »
    As promised, here's what I've been able to figure out about the SMD format so far:

    http://www.ffhacktics.com/wiki/Music/SMD
    Cheetah [Posts: 3654]
    • View Profile
    • share
    • [January 31, 2010, 10:18:44 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #28 on: January 31, 2010, 10:18:44 PM »
    Hot damn that is impressive! I don't even know what have of that stuff means.

    Current Projects:
    Vanya [Posts: 3958]
    • View Profile
    • My Facebook
    • share
    • [January 31, 2010, 11:15:34 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #29 on: January 31, 2010, 11:15:34 PM »
    Very interesting. It isn't very dissimilar from the way most SNES or even NES sound formats are structured.
    Thanks a lot for finding this info, Gomtuu. ^_^

    • Modding version: Other/Unknown
  • ¯\(°_0)/¯
    Sephirot24
    • share
    • [February 12, 2010, 05:12:38 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #30 on: February 12, 2010, 05:12:38 PM »
    Woah! That's really really impressive Gomtuu!!

    It'd be awesome if you (or anyone up to it) could make a video tutorial on it. At least the basics...
    I'd love to compose for you guys, but I don't understand anything about hex :(
    SilvasRuin [Posts: 1405]
    • View Profile
    • share
    • [February 12, 2010, 05:50:51 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #31 on: February 12, 2010, 05:50:51 PM »
    Now I can't help but want Battle on the Bridge or whatever the FFT song is called to be replaced by the classic Clash on the Big Bridge, Gilgamesh's recurring theme...
    -Event Editor- Creator of CoP
    Kokojo [Posts: 1864]
    • View Profile
    • share
    • [May 12, 2011, 02:54:12 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #32 on: May 12, 2011, 02:54:12 AM »
    I request that Gomtuu's posts shall become stickies.

    THis is HOW TO EDIT MUSIC guys.

    I keep leaving, I keep coming back. Boomerang boy.
    GeneralStrife [Posts: 1442]
    • View Profile
    • share
    • [May 12, 2011, 03:09:01 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #33 on: May 12, 2011, 03:09:01 AM »
    we can edit da muzik?
    -Event Editor- Creator of CoP
    Kokojo [Posts: 1864]
    • View Profile
    • share
    • [May 12, 2011, 09:45:03 PM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #34 on: May 12, 2011, 09:45:03 PM »
    Read it, and yes.

    I keep leaving, I keep coming back. Boomerang boy.
    Bad code, beware! The NOPs are coming to eat you!
    formerdeathcorps [Posts: 1322]
    • View Profile
    • share
    • [June 18, 2011, 05:21:13 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #35 on: June 18, 2011, 05:21:13 AM »
    This thread:

    1) Needs to be made a sticky.
    2) http://ffhacktics.com/wiki/Music/SMD needs to be consolidated with http://ffhacktics.com/wiki/Music for easy searching.
    3) There needs to be a program that converts MIDI files (or the .txt equivalent) into the format used by FFT for easy patching.  It would need to read a FFT song and tell you how many sectors it uses.  It would be very nice if such a program also had playback features so you could test your composition beforehand.
    « Last Edit: August 08, 2011, 10:31:22 PM by formerdeathcorps »
    The destruction of the will is the rape of the mind.
    The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.
    Dome [Posts: 4890]
    • View Profile
    • share
    • [June 18, 2011, 08:40:58 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #36 on: June 18, 2011, 08:40:58 AM »
    The first post should be edited to include the "Tutorial"

    "Be wise today so you don't cry tomorrow"
    Bad code, beware! The NOPs are coming to eat you!
    formerdeathcorps [Posts: 1322]
    • View Profile
    • share
    • [August 01, 2011, 02:29:27 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #37 on: August 01, 2011, 02:29:27 AM »
    I think I found some more.

    There's a section from 0x290d8 - 2a8d4 (length 0x1800) that's just pure nonsense in terms of opcodes, but seems to obey a mathematical law in terms of the pattern of number displayed.
    If you put a read on this section, you end up finding that reads 2 bytes from the above "table" into r4, but never seems to use r4 at all (at least where I could trace).  r16 holds a value that constantly shifts between 4-6 sources.  The overall code is at 0x14D70 in RAM (or 0x5570 in SCUS).  More suspiciously, however, each complete cycle of r16 values produces one note of the song currently being played (recall...debug/breakpoint mode usually causes silence or a frozen note sound).  Thus, I suspect:

    0x14D70 is part of the ASM code that reads music
    0x290D8 is a table that functions as the custom sounds for FFT.
    The fluctuating r16 values (RAM addresses) are those of the various musical channels, and each channel is 0x2C0 long.
    « Last Edit: August 01, 2011, 02:32:38 AM by formerdeathcorps »
    The destruction of the will is the rape of the mind.
    The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.
    pokeytax [Posts: 515]
    • View Profile
    • share
    • [March 11, 2013, 03:39:09 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #38 on: March 11, 2013, 03:39:09 AM »
    Bump!

    I've been tinkering with this.  In fact, I have a working MIDI converter.  The output is recognizable, but awful, due to a combination of the percussion channel being read as pitched, my current inability to play notes that are longer than a couple measures, instruments being arbitrarily remapped because I don't know the instrument codes for FFT, and probably some other issues like dropped notes and bad header data being masked by the above.  They're also fairly large, which I can do a bit to remedy, but not too much.  I'll keep at it.

    If anyone has any notes on the coding end of this beyond what's on the wiki, that would be music to my ears.  gomtuu's stuff (I think? anyone who pitched in has my thanks too) was instrumental in getting this thing humming along.
    Gokzarak [Posts: 5]
    • View Profile
    • share
    • [December 01, 2014, 12:36:44 AM]
    Re: Any way to put any music (from outside the game) in-game?
    « Reply #39 on: December 01, 2014, 12:36:44 AM »
    There is music repeated in different fights or events in the game, there will be a way for each map to choose the music and another is not repeated.
    Pages: 1 [2]