Author Topic: Fice's FF7 music patch system!  (Read 16497 times)

The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Fice's FF7 music patch system!
« on: 2001-04-09 20:53:00 »
yea, threee pages was abit too long so i started another one  :D
ok, i got to try out the new system today and so far i found:
it doesnt loop.
and the seek/loading time is abit long (on intial loading of the mp3)
and it is still tops  :D

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #1 on: 2001-04-09 22:18:00 »
Should this be in the Game Tweaking forum?

Anyway:

Looping, and resuming mid-song, is perfectly possible. I can have that done soon; it's not hard.

Loading time ... can't do much about that. I can't keep 90+ MP3's cached! Plus it takes a certain amount of time for FF7 to send enough MIDI messages for me to make a valid identification.

I'll be uploading a 'proper' version with all the fixed etc. soon - maybe tonight, maybe tomorrow. If you can't wait till then:
 http://www.legacy-ovwp.org/~ficedula/download/idbuild.exe" TARGET=_blank>http://www.legacy-ovwp.org/~ficedula/download/idbuild.exe

Automatically scans a LGP and builds an INI containing ID numbers for all the midis found  :)


Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #2 on: 2001-04-10 00:34:00 »
  :D
I will certainly give it a whirl.


And thats another thing. Why does my computer go all slow for about 5 minute when I run FFMusic.

And that progie did dntohing for me cept come up in a dos box for a second.


[This message has been edited by Sir Canealot (edited April 09, 2001).]


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #3 on: 2001-04-10 01:40:00 »
Yes, it's a command line program. You have to give it at least one parameter - the LGP file to scan.
Eg:

IDBUILD D:GAMESFF7DATAMIDIAWE.LGP

I couldn't be bothered building a full Windows app for something like this.

If you don't want to bother with it then don't - I'll be uploading a new version with all the ID's already in the INI file quite soon.

I've got NO idea what's up with your computer slowing down...


The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Fice's FF7 music patch system!
« Reply #4 on: 2001-04-10 03:50:00 »
wow! it works a treat , thanks fice!
anyway, the wonders of "drap and drop" just drag a midi archive onto the idbuild.exe and itll compile a ini file (thanks god for bill gates  :wink:)
yea i get slow done TOO. i was womdering why, but FICEDULA's (note, no ONE ELSES!) apps cause my anitvirus (norton 2000) to go haywire and slow the computer to a crawl. i know its the scanner cos if i turn it off then run ff7music whatever then its fine. FICE' u havent got a virus on your comp or is delphi got some weird complex exe system that takes a p366 2 minutes to scan?

Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #5 on: 2001-04-10 16:49:00 »
Scanner slow down? I have nortan running lemme switch it off for a sec....

Heheh I turned auto protect off and it loaded in seconds. I wonder if Ficedula has been programing in super secret,super evil virurses into his programs? Why I bet they will consume all of are computers in a firey blast! -Or maybe not

And will try what I will soon. Time for bed me thinks....


[This message has been edited by Sir Canealot (edited April 10, 2001).]


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #6 on: 2001-04-10 05:27:00 »
Aha! Suddenly I get the feeling of a BIG brick hitting me...

This happened once before but I blamed it on Win2K being super-cautious.

It's the exe compressor. If you think about it an exe-compressor looks a bit like a virus when it runs - the original program is run but only after "something else" (the exe decompressor in my case!) gets to execute. To a virus checker that probably looks rather dodgy... so they go on full alert, and take a while to realise that no, there isn't a virus there.

Hmmm. That's annoying because UPX (the compressor I use) is a damn good one. *My* virus checker doesn't have a problem with it. If I find another compressor I might try that. If not ... you lot can decompress the exe's with UPX yourself, if you want.

Anyhoo. The first "official" release of FF7Music is up on my website. It fixes one or two minor bugs in the version you've got plus it has quite a few cool options in it, including:

-MP3 Looping
-Song resuming
-Fading music in and out
etc...

Mwahahaha! At last, it works...


The SaiNt

  • *
  • Posts: 1300
    • View Profile
Fice's FF7 music patch system!
« Reply #7 on: 2001-04-10 06:55:00 »
Norton Autoprotect is a big "eater" of memory so I guess by unloading it you'll free up a lot of RAM, thus causing the speedup. I used to encounter this problem when I had 64MB RAM and I tried loading some big soundtfonts from http://www.personalcopy.com" TARGET=_blank>www.personalcopy.com
My guess is that Fice's app must be a resource freak too, but I could be wrong  :)

The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Fice's FF7 music patch system!
« Reply #8 on: 2001-04-10 14:16:00 »
great fice, now i can post about a official release on my site  :wink:
but the saiNt u CANT unload nortons AV(2000+) u can only DISABLE it.

The SaiNt

  • *
  • Posts: 1300
    • View Profile
Fice's FF7 music patch system!
« Reply #9 on: 2001-04-10 15:23:00 »
Uhm, who says you can't unload NV2K autoprotect?
I don't think it should be different for the UK version  :)

Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #10 on: 2001-04-10 16:01:00 »
What? You goit! where your website?
Sure I had it somewhere on the faverites menu....


I found your site and got the progie but theres a bit problem. It dosent work for me.
I done every thing I can think of. I used the ID ripping tool to get the IDs out of the general midi archive and I put em in the ff7MUSIC.ini. I told the game to look for the mp3s in two places. All I told it to look for was the battle music. Nothing. It just plays midi. What am I doing wrong? Oh yea and the play back options look really sweet.

Figered it out already. When I was giveing it files to play I forgot to type in the .mp3 extention. DOH!

Does any one know the mo3 for the MEKYU.mid?
I cant find the damn thing im sure there is one! But I  have finally done it! I have partnered up all the IDs-mp3s that I can!
Im a little worse for wear but I did it in the end!
My mp3s are named like this:1-02-Opening - Bombing Mission.mp3

Now if any one elses are like this then dont hesitae to ask. I can post my file list.
Now since this is version 1.00 shall I spring the good news onto the eidos forum? Or shall we wait till the bugs are ironed out and perhaps till the proggie is a little easyer to use?

Hmm loop custom files dosent seem to work same as custom file resumeing

[This message has been edited by Sir Canealot (edited April 10, 2001).]

[This message has been edited by Sir Canealot (edited April 10, 2001).]

[This message has been edited by Sir Canealot (edited April 10, 2001).]

[This message has been edited by Sir Canealot (edited April 10, 2001).]


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #11 on: 2001-04-10 22:16:00 »
You can send me your profile. After all, I can put as many different schemes in the INI as people use. Might as well  :)

Loop and resuming are different. Looping makes it start from the beginning of a track once it reaches the end. Resuming means when it's played it picks up from whereever you got to last time. Are you having problems with them? (PS: If you've got Resume enabled, Looping should probably also be on).

Feel free to post on another forum if you want to. It's up to you; the patch works OK for me; if it works for all of you too I think we can say it's at least *moderately* reliable.


Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #12 on: 2001-04-10 23:10:00 »
I shall email you the profile thingy.
I know resumeing isnt working and im sure looping is a nogo. And the usely rock solid FFVII Is crshing on the world map quite alot. Other than that every think is sounding hunkey dorey.


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #13 on: 2001-04-10 23:35:00 »
OK, so it doesn't work for all of you!

Arg. Erm, could you check the LOG.TXT it produces. Any obvious error messages?

I'll see if there's any problems I can find...


Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #14 on: 2001-04-11 00:24:00 »
I cant see error messages in there. In fact it states resumeing in every bit. here a smallish extract:

midiStreamOpen finished successfully
Midi file matched! crwin
File counterpart 3-13-A_Great_Success.mp3
Resolved to C:WINDOWSDesktopAstuffFinal Fantasy VII3-13-A_Great_Success.mp3
Playing MP3
Prevented from resuming
Dumping ID: 0051005100518F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F
--------------midiStreamOpen called----------------
midiStreamOpen finished successfully
Midi file matched! fiddle
File counterpart 3-12-Fiddle_de_Chocobo.mp3
Resolved to C:WINDOWSDesktopAstuffFinal Fantasy VII3-12-Fiddle_de_Chocobo.mp3
Playing MP3
Resuming...
Dumping ID: 006E006E0018001800180069001900190019000400190020006E00188F8F8F8F
--------------midiStreamOpen called----------------
midiStreamOpen finished successfully
Midi file matched! ta
File counterpart 2-01-Main_Theme_of_Final_Fantasy_VII.mp3
Resolved to C:WINDOWSDesktopAstuffFinal Fantasy VII2-01-Main_Theme_of_Final_Fantasy_VII.mp3
Playing MP3
Prevented from resuming
Dumping ID: 0049004400470046003C002E0030003000300000003000300030003000000039
--------------midiStreamOpen called----------------
midiStreamOpen finished successfully
Midi file matched! bat
File counterpart 1-10-Fighting.mp3
Resolved to C:WINDOWSDesktopAstuffFinal Fantasy VII1-10-Fighting.mp3
Playing MP3
Resuming...
Dumping ID: 00300030003C004900490039003A0026002F000100490030003800388F8F8F8F
--------------midiStreamOpen called----------------
midiStreamOpen finished successfully
Midi file matched! fan2
File counterpart 1-11-Victory_Fanfare.mp3
Resolved to C:WINDOWSDesktopAstuffFinal Fantasy VII1-11-Victory_Fanfare.mp3
Playing MP3
Resuming...
Dumping ID: 003000300030003000300030003800380038000000398F8F8F8F005100510051
--------------midiStreamOpen called----------------
midiStreamOpen finished successfully
Midi file matched! ta
File counterpart 2-01-Main_Theme_of_Final_Fantasy_VII.mp3
Resolved to C:WINDOWSDesktopAstuffFinal Fantasy VII2-01-Main_Theme_of_Final_Fantasy_VII.mp3
Playing MP3
Resuming...
Deinit done


Every thing looks fine to me.
And another thing is if it works fine will it resume on all songs? And do you know how the PSX vers resumes?
I know it does it on thw world map. Not sure about other points. I will ask my freind who has the psx vers later....If I see him on ICQ.


[This message has been edited by Sir Canealot (edited April 10, 2001).]


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #15 on: 2001-04-11 02:42:00 »
It can resume on any song you've provided your own version of (in your case, any MP3). It *won't* resume on songs that have been specifically excluded in the setup program. I excluded some that sound wrong when you exclude them ... the chocobo win music, for example, which is possibly why it didn't resume in your case.

All those messages look OK, you're right. But you're saying it doesn't loop *or* resume for you? Ouch.

I'll take a look tonight. If I find anything up in the code, I'll compile and post a new version of NEWMM.DLL.


Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #16 on: 2001-04-11 03:44:00 »
One thing about the resume. Does it resmume like this? Worldmap-Battle-victory-Worldmap resumes-town-sotrysegmant-severaldiffrentsongs-worldmap<--Does it resume here? It shouldent do. My freind said the resume on the PSX is that same as that on the PSX version of FFIX-Which I have. So I will play that for a bit and see where it resumes and dosent resume.

Oh and should I tell every one on Eidos forum about this? Its just that its a little buggy. And doing that will make it more public-Nexs will probley spread and people might have some trouble with it. The point is I would like to have you say "fine" before telling my freinds okey?

[This message has been edited by Sir Canealot (edited April 11, 2001).]


Fice's FF7 music patch system!
« Reply #17 on: 2001-04-11 06:10:00 »
Telling people about it at this particular stage is probably the equivalent of practically *begging* for trouble. I'd wait until things are a bit more finalized.

The Skillster

  • *
  • Posts: 2284
  • Loving every Final Fantasy
    • View Profile
Fice's FF7 music patch system!
« Reply #18 on: 2001-04-11 13:55:00 »
yep even i held out b4 revealing the link  :D on my site. but if it works it works, but if it has probs then expect a landslide of emails and requests (and EVEN nore ppl visiting this board!)

ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #19 on: 2001-04-11 22:40:00 »
Sir Canealot: Yes, that's how it resumes. So what you mean is, you want it to resume *only* after it's been interrupted by a battle? Well, I could do that.

Srethron/Skillster: Agreed!


Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #20 on: 2001-04-11 23:38:00 »
Agreed it should only resume after a battle inturupt. And I tried fade in/out on your proggie today. Thats pretty good....


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #21 on: 2001-04-12 00:06:00 »
Edit: Double post  :(

[This message has been edited by ficedula (edited April 12, 2001).]


ficedula

  • *
  • Posts: 2178
    • View Profile
    • http://www.ficedula.co.uk
Fice's FF7 music patch system!
« Reply #22 on: 2001-04-12 00:08:00 »
OK. I've implemented the resume only after a battle as an option, fixed a playback bug, and solved the ID problem Canealot found (didn't ID Cosmo Canyon, and maybe others, at least not reliably. Fixed)

I've also compressed the files with a newer version of the EXE compressor which should solve the slowdown bug some people were experiencing.


Sir Canealot

  • *
  • Posts: 900
    • View Profile
Fice's FF7 music patch system!
« Reply #23 on: 2001-04-12 17:36:00 »
Teh resume function still dosent seem to be working for me at least. If it dosent work I dont think you should brake your ass over it.
It would be nice to have in but if it dosent work it dosent matter.

Looping dosent seem to be working for me either....This is a feature I would like to see work. Maybe its just my pc. Is this working on any one elses?

[This message has been edited by Sir Canealot (edited April 12, 2001).]


Caddberry

  • *
  • Posts: 1988
    • View Profile
    • http://animenfo.com/
Fice's FF7 music patch system!
« Reply #24 on: 2001-04-13 12:03:00 »
ya know now that i think about it all of fice's appz load like a crawl on my machine.. i have no virus anything running.. cuz i dont run a scanner.. i scan later ... i finally did get cosmo to run... havent had time to tweak anything yet... i am playing through ff8 again...