øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1806.60e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8704.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1806.msg19755e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8704.html.zx]Îg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ0P.ÏOKtext/htmlISO-8859-1gzip@øÕÏÿÿÿÿÿÿÿÿTue, 10 Mar 2020 17:45:24 GMT0ó°° ®0®P®€§²ð®\Îg^ÿÿÿÿÿÿÿÿS'Ï Project II: Final Fantasy IV

Author Topic: Project II: Final Fantasy IV  (Read 25543 times)

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #60 on: August 25, 2013, 09:22:38 AM »
Oh yeah I should probably fix that so that it displays 256 + # on maps that are underground/moon. Anyway if you subtract 256 from the number you should get the correct map index. My apologies.
Let's dance!

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #61 on: August 26, 2013, 05:08:52 AM »
Well, I managed to get the Palom and Leonora scene working perfectly, but the Feymarch and Dwarf Castle scenes are still messed up... I copied the maps perfectly, though! I don't understand what I did wrong. I replaced the maps in the events, too. I'm starting to think ff4kster secretly hates me.
Hacking is hard. :sad:

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #62 on: August 26, 2013, 06:02:08 AM »
Chances are if it hates you then it probably hates the rest of us too, which is why I'm interested in discovering the root of this problem.

Suppose you get the event to send you somewhere completely unrelated. Try getting it to teleport the player to a map that you know works otherwise just to see if it messes up that. If so it could be that the problem has nothing to do with the map itself and it something related to that ending sequence itself.
Let's dance!

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #63 on: August 26, 2013, 07:05:53 AM »
Well, I managed to get the Palom and Leonora scene working perfectly, but the Feymarch and Dwarf Castle scenes are still messed up... I copied the maps perfectly, though! I don't understand what I did wrong. I replaced the maps in the events, too. I'm starting to think ff4kster secretly hates me.

Gah! I never considered that the maps would be a bit screwy with the Overworld maps! I'm sorry I should have been more thorough. My original plan was to use what I thought were unused copies of the Babel maps and that's what I tested the Dwarf scene on, but they aren't unused. They're just the maps on the other sides of the doors.

What I can confirm is what the "Underground" byte does actually is refer to Ending NPC Configurations and takes precedence over the normal NPC Configuration for a map.

...Alright! I figured it out! Somewhat... what I was doing wrong anyway. I was completely wrong about the Glitch Worlds. They can Easily be replaced with working map configurations (which allows modders to have copies of maps for revisits to areas if they want a completely different NPC index) What you want to do is copy all of the data as it appears in the normal Dwarf's Castle Map except mark "Underground" byte with YES and the NPC Index should be taken from the Ending - Dwarf's Castle map as well. This Includes the Original Maps (not the Endings) Backgrounds. Which means for the Dwarf Castle you take the Dwarf Castle Background for the Leviathan's Room you take... Leviathan's Room as its background

For safety's sake you can use the last two maps (which are Glitch Worlds) to repair the maps.





vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #64 on: August 26, 2013, 09:27:12 AM »
That did it! It might not be the ideal of simply restoring the maps themselves, but they're no longer glitched out all to hell. Thank you, Grimoire LD! :happy:

I still need to do a second run through of FFIV, but it'll be a quick one to be sure nothing major broke.

 :edit: Good thing I did, too... I ran into another issue. The battle background Edward vs. the WaterHag in Kaipo is all wrong. It's supposed to look like nighttime, but instead it's using the daytime palette. Any ideas, gang?
« Last Edit: August 26, 2013, 11:10:47 AM by vivify93 »
Hacking is hard. :sad:

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #65 on: August 26, 2013, 01:29:18 PM »
That is strange. The event uses the normal Kaipo map and only tints the colors (note to self: may work for a day/night system in towns). And the night-time battle background is not even an available choice, strangely enough. This is a bit of a conundrum though...

When you use any ordinary event in a town with a battle the background will be normal, but not with Kaipo, Kaipo treats all event battles in the same night manner. Except in your Rom and I do not believe we've ever looked into that specific behavior. Nothing in the Map Data specifies it, I just changed everything that it had different from other towns and there was no change to the night background.

Do we know anything about how Battle Backgrounds are loaded? Finding the Kaipo Exception may make this work.

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #66 on: August 31, 2013, 04:05:42 PM »
Is anything known about battle backgrounds at all? A cursory look suggests no.
Hacking is hard. :sad:

Dragonsbrethren

  • Forum Overlord
  • *
  • Posts: 1,820
    • View Profile
    • Dragonsbrethren Industries
Re: vivify93's FFIV hacking questions
« Reply #67 on: August 31, 2013, 07:07:59 PM »
Well, they exist, I know where the tiles are, I think Yousei's doc has the palette location, we know what tile properties assign which backgrounds...that's pretty much everything except the actual tilemaps, which might be documented too.

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #68 on: October 24, 2013, 02:31:31 AM »
After losing this project's extensive readme due to a dumbass mistake on my behalf, I lost the drive to work in FFIV any longer. However, after a month and a half of a break, I've come back to it...

Only to realize this Kaipo problem is still bugging at me. I have no idea where to start with this. I can't use Yousei's editor to investigate (Even if it does cover the Kaipo Exception), since I'm using v1.1 of the FFIV ROM. I also can't seem to find Yousei's document anywhere? I have no idea where to look.

Do you guys think it'd be worth it to import over all (Or at least the vast majority of) my changes from my project to a fresh FFII US ROM? I really hope it doesn't come to that, but it seems like it might have to at this point.
Hacking is hard. :sad:

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #69 on: October 24, 2013, 04:45:29 PM »
That Kaipo bug is still a mystery. I could not figure out why it happens. There is nothing special about the Battle BG, but there may be something special with the battle system which refers Specifically to battles fought in Kaipo Must Be dark. Now that I am much brighter about this sort of thing I will try to take a look on that...

Alright then, let's see...

1800/1801 is Number of Encounter but 1802 is what we should be looking at...

20 Should be the night town. But the game never sets this it self. So that must mean there is something special about Kaipo and I will try to find it...

And I have found it. I'm not sure why it happens in Kaipo but one of the checks is some sort of map dealings Kaipo is 60 for instance. The Mist Cave is 3C.

Somehow your Kaipo is not 60 but 20 and this causes the game to not show the proper background. Do you have Any idea what you may have changed in Kaipo? I'm not sure I can fix this...

The reason it is 60 is because it looks to see if 20+40=60. And if so it will show the Night Battle.

Or apparently I can. Alright somehow along the lines you changed this in Kaipo's Data...

0A9C9E - Change the 20 that was somehow placed there back into a 60.

That will fix your problem. I am still quite confused how this was changed in the first place.



vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #70 on: October 27, 2013, 08:05:52 PM »
You are a lifesaver time and time again, Grimoire LD. When I write back up the readme, I'll be sure to have you praised on high and low. :happy:

It might've happened either when I was editing back in original enemy item drops or when I was modifying the village names.
Hacking is hard. :sad:

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: Final Fantasy IV - Project II
« Reply #71 on: November 17, 2013, 10:36:04 PM »
Gentlemen, we're at release time! http://www.romhacking.net/forum/index.php/topic,17302.0.html

Take a look-see; you won't regret it.
Hacking is hard. :sad:

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Final Fantasy IV - Project II
« Reply #72 on: November 17, 2013, 11:50:15 PM »
I'll give this a whirl tomorrow. It is wonderful to see that this project is finally complete!

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: Final Fantasy IV - Project II
« Reply #73 on: November 18, 2013, 01:36:17 PM »
Played the opening and looted Baron Town. Looks good so far. Haven't played any battles yet though. There are a couple of D's in the item descriptions but I'll take responsibility for that. Must add item descriptions to my FF4kster to-do-list...
Let's dance!

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: Final Fantasy IV - Project II
« Reply #74 on: November 18, 2013, 02:14:23 PM »
I'll give this a whirl tomorrow. It is wonderful to see that this project is finally complete!
Thank you for the kind words! :happy: And thank you again for all the help you gave me.

Played the opening and looted Baron Town. Looks good so far. Haven't played any battles yet though. There are a couple of D's in the item descriptions but I'll take responsibility for that. Must add item descriptions to my FF4kster to-do-list...
Nah, that one's on me. I could sit down and learn how to do it in a hex editor, but I get frustrated too easily and am too lazy to learn. For now, Item_List.TXT should suffice.
Hacking is hard. :sad: