øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=67.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexb103.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=11.20e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexb103.html.zx0Xh^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ00WÖOKtext/htmlISO-8859-1gzip8:ÖÖÿÿÿÿÿÿÿÿWed, 11 Mar 2020 03:33:29 GMT0ó°° ®0®P®€§²ð®/Xh^ÜÖ SPC Sample Index Editor v0.92 *Update* 8/14/2009

Poll

Release a public beta?

Yes
4 (100%)
No
0 (0%)

Total Members Voted: 4

Voting closed: December 09, 2007, 12:03:28 AM

Author Topic: SPC Sample Index Editor v0.92 *Update* 8/14/2009  (Read 4314 times)

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
SPC Sample Index Editor v0.92 *Update* 8/14/2009
« on: December 02, 2007, 12:03:28 AM »
I released a new version.  This one has all of the song titles for Final Fantasy V courtesy of Lenophis.  Though he may have forgotten about it.   :laugh:

NOTE: This editor works with the following ROMS WITHOUT a header:
-BS Dynami Tracer (J)
-BS Radical Dreamers (J)
-BS Treasure Conflix (J)
-Chrono Trigger (J) / Chrono Trigger (U)
-Final Fantasy VI (J) / Final Fantasy III (U)
-Romancing SaGa 3 (J)
-Final Fantasy IV (J) / Final Fantasy II (U) / Final Fantasy 4 EasyType (J)
-Final Fantasy: Mystic Quest (U) / Final Fantasy USA: Mystic Quest (J) / Mystic Quest Legend (E)
-Seiken Densetsu 2 (J) / Secret of Mana (EU)

Changelog:
-Finished adding all of FF5's song titles.
-Updated the interface to make room for more games.
-Added Seiken Densetsu 2 / Secet of Mana functionality.

NOTE: I need people to help me fill out the rest of the missing song titles and instrument sample names.  Thanks!
« Last Edit: August 24, 2009, 09:14:23 PM by JCE3000GT »

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: Release a public beta of my SPC Sample Index editor?
« Reply #1 on: December 11, 2007, 05:43:02 PM »
Looks like the votes say yes.  I'll get a public package setup tomorrow.

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: SPC Sample Index editor - released
« Reply #2 on: December 22, 2007, 03:37:32 PM »
Program updated to versin 0.57.

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: SPC Sample Index Editor *Update* 12/29/2007 @ 4:42AM
« Reply #3 on: December 29, 2007, 04:45:30 AM »
Program updated to version 0.78.

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: SPC Sample Index Editor *Update* 12/29/2007 @ 4:42AM
« Reply #4 on: December 29, 2007, 12:38:54 PM »
Ugh, you and a lot of other people really need to learn how to make programs that can work with and without headers. Surprisingly, it's very easy. Do the following:

When opening the file, get the length of it (save it if necessary). MOD that length by 0x8000 (32,768 in decimal), which is the standard size for one LoROM bank. If the result isn't zero, then you have a header. Likewise if it is zero, the rom has nothing. Take this result and put it in a variable (in all of my apps, I call it nHeader).

Next, when calculating addresses or just fetching stuff, use the base address as if no header was present, but add the header's variable so if one is present, the location would still be correct. Example:

Code: [Select]
nFile[0x3400 + nHeader]
That will get what is at 0x3400 (base address), and if the header is present, it will be +0x200 (512).

The only tedious part is you would need to do this for all things that edit (or make a macro that adds it in automatically for you).

Simple, yes?

119 bugs fixed and counting.

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: SPC Sample Index Editor *Update* 12/29/2007 @ 4:42AM
« Reply #5 on: December 29, 2007, 02:33:50 PM »
Or I could just do the easy thing and have my program just remove the headers since they are garbage anyway. 

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: SPC Sample Index Editor *Update* 12/29/2007 @ 4:42AM
« Reply #6 on: December 29, 2007, 04:08:43 PM »
Ahh, but that's the thing. It's not up to you or me what is and isn't in a rom. It's up to the end user. If somebody wants their rom to have a header, who am I to say "no, you can't?"

119 bugs fixed and counting.

Entroper

  • FF4 Hacker
  • *
  • Posts: 235
  • Gender: Male
    • View Profile
Re: SPC Sample Index Editor *Update* 12/29/2007 @ 4:42AM
« Reply #7 on: December 29, 2007, 05:20:09 PM »
The only tedious part is you would need to do this for all things that edit (or make a macro that adds it in automatically for you).


Or make a ROM class and override the [] operator.  :)  I love transparency in programming.

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: SPC Sample Index Editor *Update* 12/29/2007 @ 4:42AM
« Reply #8 on: December 30, 2007, 05:07:13 AM »
I've got a surprise for yous peoples.

As you can see new games are being added.  So far it appears that Square/Squaresoft is the only company doing a format I recognize for the samples.  I plan on finding out how other games do it and put those in. 

Sooner or later I am going to have to split the program up into seperate forms for each game or something to keep the interface at a reasonable size.

*edit*
And yes I've found the data needed for most of those games greyed out.

[attachment deleted by admin]

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: SPC Sample Index Editor v0.90 *Update* 1/3/2008
« Reply #9 on: January 06, 2008, 04:36:59 AM »
Boo to image resizing! :bah: :lame:

JCE3000GT

  • Moderator
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: SPC Sample Index Editor v0.92 *Update* 8/14/2009
« Reply #10 on: August 14, 2009, 08:04:49 PM »
*updated*  See first post.