News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Trouble with Final Fantasy Namcot-163 opening theme  (Read 1335 times)

Ben Boldt

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • Fun Projects
Trouble with Final Fantasy Namcot-163 opening theme
« on: September 06, 2017, 01:56:36 am »
Disch made an amazing Namcot-163 hack of Final Fantasy, where it uses 4 extra sound channels from Namco-163!

Original thread:
http://www.romhacking.net/forum/index.php?topic=21907

Unfortunately, the opening theme does not play properly when you cross the bridge.  The music just plays a note or two and then freezes...  The game is still runs normally, and when you exit the bridge scene, sound is back to normal.  It seems isolated to this scene, and no doubt the ending scene (though I have not tried that one.)

Amazingly, with my crude hacking skills, I was able to make the song play but with glitches on the pulse channels and slow downs during the visual effects on the screen:

https://youtu.be/iEatzvHF_VA

Disch has real life to attend to and understandably can't spend the time to figure this out.  Is there anyone that could take a look at this and see if it can be improved?  He generously provided the source code, and said it is okay to share it:

https://www.dropbox.com/s/mwyp2kbw2hyub9r/ff1_namco_src.zip?dl=0


In my hacked version, the music when you first start the game is missing due to a building mistake I made; just so you know that's not what is broken.  You can use the following Game Genie codes to easily beat garland and cross the bridge:

Fighter:
NYKLPALX    Start with 255 HP.
NYKLYEZE    Start with 255 Damage.

And then make a team of 4 fighters.

Here is the file I hacked:
https://sites.google.com/site/benboldt2/files/ff_namcot_opening_theme_glitch.zip?attredirects=0&d=1

I am not sure if it is worth it to continue development in this condition!  If anyone can help I would really appreciate it.

Ben Boldt

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • Fun Projects
Re: Trouble with Final Fantasy Namcot-163 opening theme
« Reply #1 on: September 26, 2017, 12:18:29 am »
I made progress!  The music now plays unaffected by the visual effects, and the changes that I made make more sense now.  I am dealing with page swapping in a much more sane way now.

The pulse channels still sound funny and even the triangle channel has a glitch or two.  I developed these changes in FCEUX.  I tried it in an old version of Nestopia and the opening theme music did in fact lock up at a certain point, but the game kept playing and it was normal again after the opening theme.  So there are still issues, but this is big progress nonetheless.

Video:
https://youtu.be/O-rxc3VxXmU

Download files (using latest build this time, including all music written to date):
https://sites.google.com/site/benboldt2/files/ff_namcot_opening_theme.zip

Also, I have found that I can give up a chunk of Tempo Table memory to get an extra Namco sound sample bank!  I have experimented using bank IDs 04 and 05 and they do indeed access the tempo table space after the normal sample table space (IDs 00, 01, 02, and 03).  I will be able to have 5 or possibly 6 sound sample banks this way, because I have used tempo tables sparingly.  It turns out that many songs end up being able to share the same tempo tables.  I am thinking that I will be dedicating a sample bank to Matoya's cave now with this option.

Bregalad

  • Hero Member
  • *****
  • Posts: 2550
    • View Profile
Re: Trouble with Final Fantasy Namcot-163 opening theme
« Reply #2 on: September 27, 2017, 02:53:16 pm »
Disch made an amazing Namcot-163 hack of Final Fantasy, where it uses 4 extra sound channels from Namco-163!

Original thread:
http://www.romhacking.net/forum/index.php?topic=21907
I can't believe I missed this. It's definitely an interesting concept !

Ben Boldt

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • Fun Projects
Re: Trouble with Final Fantasy Namcot-163 opening theme
« Reply #3 on: September 30, 2017, 01:04:48 pm »
Thanks Bregalad, I'm glad you like it.

I believe that I have completely fixed the opening theme music issue now!

Video:
https://youtu.be/RzNnTmmBIgQ

Files:
https://sites.google.com/site/benboldt2/files/ff_namcot_opening_theme_fixed.zip
« Last Edit: September 30, 2017, 01:22:00 pm by Ben Boldt »

Disch

  • Hero Member
  • *****
  • Posts: 2607
  • NES Junkie
    • View Profile
Re: Trouble with Final Fantasy Namcot-163 opening theme
« Reply #4 on: September 30, 2017, 11:43:36 pm »
I'm really happy to see you're still able to work on this, Ben Boldt.  I'm sorry I don't have time to help bugfix this any more  =(, but it's great to see your progress!