Aslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=1350e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index9723.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index9723.html.zx;g^Ke`OKtext/htmlISO-8859-1gzip0|e`Tue, 10 Mar 2020 20:18:26 GMT0 0P:g^4e` Show Posts - Grimoire LD

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Grimoire LD

1351
That is some incredible finds there Chillyfeez! Now the boat can be made into a real vehicle, rather than the, frankly unfitting, Hovercraft.

1352
Game Modification Station / Re: vivify93's FFIV hacking questions
« on: August 22, 2013, 10:36:07 AM »
 I have a feeling you're onto something there Pinkpuff, but do we know where that data is stored? As I've said I copied map data directly from FF4Tools into the rom, and I saw no change at all. From what I can tell it is only those three maps as if they're being read as one of the many Glitch Worlds. Humorously enough that door in the Leonora and Palom scene actually works and takes you to inside the Kaipo Pub... in the wall.

1353
Game Modification Station / Re: vivify93's FFIV hacking questions
« on: August 21, 2013, 10:31:51 PM »
There is something Really strange going on here... Those three maps (and all of the maps surrounding them from how it looks) appear to be completely disfigured in your rom data. Somehow changing this to what they should be though does not change the graphic for... whatever is happening here. Now there may be a way around this.

For instance...



This was done by switching the map you go to in viewing the event to the second instance of the Ending - Palom and Leonora maps, in the Underworld section of maps.

In addition was going to the Map Info. Going to the second instance of this map, and changing the NPC Index which was 00 to 12 (In decimal, using FF4kster)



I will see in short order if this cannot be done in some variant with the other maps.


 :edit: Replaced the Dwarven Castle Ending map to the Pitch Black Room. After a bit of work-arounds I got it to look perfect.

You will want to change the information in Pitch Black Room to...

Index: 7
Underground: YES

Tileset: Castle Exterior
Border Tile: 61
Tile Palette: 21
NPC Palette 1: 0
NPC Palette 2: 1
NPC Index: 23

Background: Dwarf Castle Background
Vertical Scroll - No
Horizontal Scroll No

In theory the Rydia problem should also work in that regard.

1354
Game Modification Station / Re: vivify93's FFIV hacking questions
« on: August 21, 2013, 02:04:40 PM »
Alternatively you could use phoenix's map editor to change an unused part of an existing map into a copy of what you need and redirect the player there at the appropriate times... just throwing out ideas.
That was actually the first thing I thought of. :happy: But I have no idea how to use Phoenix's map editor. I click the question mark in the upper-left hand corner and nothing pops up, so I don't receive the instructions.

If you'd like you can send me what you have and I can take a look at it.
I'd really appreciate it if you did. :happy:

By all means, please send it my way and I'll see what I can do.

1355
That is very impressive work! I will try and take a look at this and see if I can find anything to help here.

1356
Game Modification Station / Re: vivify93's FFIV hacking questions
« on: August 20, 2013, 06:06:56 PM »
Ah don't give up because of some small little thing like this. It's only three maps, three ending maps at that and must deal something with the way the ending works. You've come so far and to give up now would simply be tragic. Why don't you change the two maps that appear in the ending to their normal maps in the ending event itself and make a slightly modified Palom/Leonora scene. After all it's supposed to be taking place in Mysidia, but that place never looked much like Mysidia to me.

If you'd like you can send me what you have and I can take a look at it.

1357
Here's some older information that may have been lost in regards to changing Silver Apple/Golden Apple/Soma Drop's effects as well as how to make all (or none) item types count as bunches





:edit: 2 Since I felt I had some good momentum going, I decided to look not just for healing items, but the stat boosting items.

So far I've found Soma Drop's location... and within that given space another pattern emerged to show me the location of the Silver Apple (Golden is conspicuously missing...)

This was done with a simple breakpoint on Rydia's Max MP that when it was written to. I was taken to the end of an instruction block, but becoming more familiar with this game's programming I had a feeling I could simply trace backwards slightly and find it (or at least find another lead) and indeed I did. It was just in the basic instructions without any crazy jumps or loops like they did with healing items.

0x01A754 - Silver Apple's amount of HP Raising - 32 (50)
0x01A761 - Soma Drop's amount of MP raising. - 0A (10)

I'll see what's up with the Golden Apple if I can.


 :edit: 3 Well that didn't take long. Looks like, for whatever reason, Golden Apple is placed roughly 20 bytes above the other two stat items. Same data formation though.
B1 60 18 69 64 00

0x01A73A - Golden Apple's amount of HP Raising 64 (100)

The aforementioned three are located in ROM at...

0xA93A - Golden Apple - 64 (100)
0xA954 - Silver Apple - 32 (50)
0xA961 - Soma Drop - 0A (10)

 :edit: 4 Oh! I'm a fool! The data for healing items had already been found before. Ah well, at least the stat boosting item info is new (I think?)

 :edit: 5 Ah, here's something a bit interesting. I think you can very easily change what stat you want the stat boosting items to raise.

09 00 B1 60 18 69 64 00 - That 09 00 At least is telling the game to write to HP.

0D 00 B1 60 18 69 0A 00 - The 0D 00 is telling the game to write to MP.

If you look at normal character data...

09 of 40 Bytes is the Max HP Byte
0D of 40 Bytes is the Max MP Byte

So if my thoughts are correct you can increase any stat you like with these items. (If I'm not mistaken, maybe even change classes too) this will require some experimentation.

 :edit: Looks like I was right. Rydia eating the Soma Drop changed her name to Yang and gave her Kick.



This does have very interesting applications if one wants to take the game in a new direction.... (Possibly, since it doesn't seem to kill Levels, have a set of 3 jobs you can change into at will.

And even better because the game gives two bytes for these to play around with you can change Class and Character without any ill side effects (well they'll have the stats and equipment of the person they switched from, since you are changing only two bytes) but they'll have their own abilities at least. However the problem that you may have noticed by now is something I didn't take into account. It only increments, it doesn't set a value. Now there may be a way to change that, but as of now I could see these items as only working towards "class upgrades" or some such.

 :edit: 7 Well that issue is solved... truly the Heavens smile on me today. First byte change and boom, exactly what I'm looking for.

0D 00 B1 60 18 69 0A 00 - All you have to do is change 60 to 00. That will get rid of the Increment and the game will read it as an overwrite. Now you can choose whichever 3 classes you like and switch to them freely (It should be noted that all that will accomplish is changing Sprite, commands, and available Equips,(possibly Level Ups as well, I haven't tested that) however you will still be equipped with whatever you had originally, (So say you wanted to change Cecil into a Mage, he would still be equipped with all of the Dark Knight gear if you used this method) Also there is no way (without making a special event place for it) for the game to know who belongs to what class. So if you use... Let's say a Mage book on Yang. That will be Yang, from now on, even if you only planned on having it be given to Cecil.

Really this plan works out Marvelously for a Solo Mod, but when there's a party involved, yeah... things get messy. However you can still increase any basic stat you would like with this, just use... http://rb.thundaga.com/ and JCE's hacking document to change the stat you want to increase or set.

 :edit: As great as Geigers is, sometimes it's just so infuriating "not allowed to go into certain ranges where battle data is contained, grumble, grumble..." so back to Cheat Engine for now, which was not made for SNES games and makes actually doing much other than memory editing a bit tricky...

However I looked up how the game puts various equipment on. The breakable bit, as earlier mentioned, does work for non-arrow items, but the issue is that the game will only ever equip one of an item on. But every inventory slot has an extra byte which would be used for diminishing uses of an item and setting that to 2 or above will show a plain number next to the item. This leads me to believe that it is looking at an index for the Arrows specifically, but if that range can be expanded to all weapons, well there might be an interesting game...


 :edit: 9

I think you'll like this one, PinkPuff (for data purposes, I can't see too many people really making use of it's potential)





No tricks here, just a little simple hacking (just one byte change actually)

I was encountering difficulty discovering where the game was looking to decide whether to add a whole stack or just one to weapon counters, I then eventually found the start of the process at 0x01C12E I was at first searching for BNE (Break if Not Equals) since I thought that would be the defining amount and was indeed looking for item 54, which is Iron Arrows. Lo and behold it seems I was looking for CMP (Compare Accumulator with Memory) and noticed that 54. I changed it to 00 and every weapon (and only weapons) equipped
became equipped in bunches. Which means that my Shadow Sword experiment from way back finally succeeded and you can make SaGa-esque weaponry now!

Down the line I would like to try to make it to where using the weapon as an item would consume it. But that's that! I think with this you have a reason to include the "Break if used" byte included on weapons.

The byte is contained at

0x01C234 in RAM and in ROM at...

0xC434 Just change the 54 to whatever index you like and the items will be equipped in bunches.



Hopefully I can find the mystery to Two-Handed ness as well soon.

Also, in the next update, could the Break-On-Use bit be enabled on weapons? We have everything we need to get it to properly work at this point.

1358
That is some top notch work there Chillyfeez! It is great to know how all of this works.

1359
That is some really neat information Dragonsbrethren!

I also noticed that the enemy attack Magnet, which supposedly only adds Stop also has the Frog status set for it. In fact all three Hourglasses have the Frog Status effect set with the Stop formula in use. So does that mean Stop falls into that Hidden Statuses section? Or would it be considered a different subset of status?

1360
I did a bit of searching today but hit a wall when it came to the status spells. I'm not sure how the game says that This spell will inflict That status. On a minor note I did find the out-of-battle spells you can cast while a Pig or Frog though.

Code: [Select]
01B27F - C9 0E - CMP 0E - Checking to see what spells are past value 0E (Cure1)
01B283 - C9 13 - CMP 13 - Life1?


01B52E - C9 0E - CMP 0E - Start of Index of usable Spells outside of battle.
01B532 - C9 1C - CMP 1C - End of Index of usable Spells (Using spells outside of their intended range tends to have glitchy and game crashing effects)
01B539 - C9 12 - CMP 12 - Can be used while a Toad/Pig outside of battle- Esuna
01B54B - C9 19 - CMP 19 - Can be used while a Toad outside of battle - Toad
01B559 - C9 1A - CMP 1A - Can be used while a Pig outside of battle - Pig
01B570 - C9 16 - CMP 16 - Appears to be the "instant cast" of the Spell Number corresponding to Exit. Changing this alone will not change the Spell Number of Exit's effect however.
01B574 - C9 17 - CMP 17 - As above, but in regards to Sight.
01B578 - C9 1B - CMP 1B - Spell Number which corresponds to the Warp Event
-----------------------------


1361
Scouring my notes I tried to find some loose ends but to little avail. I will repost some of my notes on the subject here.

In RAM... (Or LoRom?)

Code: [Select]
0x8260 - 03
0x8264 - 87 (Event Number corresponding to Warp)
0x8269 - 04
0x826D - 86 (Event Number corresponding to Exit)
0x8272 - 05
0x8276 - FB (Event Number corresponding to Sight)
0x827B - 06
0x827F - 01 (?? Siren ??)
0x8286 - DB (Event Number corresponding to Magazine)

In ROM...

Code: [Select]
(Wow, this is Early in ROM!)
0x464 - 87 (Event Number corresponding to Warp)
0x469 - 04
0x46D - 86 (Event Number corresponding to Exit - Emergency Exit)
0x472 - 05
0x476 - FB (Event Number corresponding to Sight - Dwarves' Bread)
0x47B - 06
0x47F - 01 (?? Siren ??)
0x486 - DB (Event Number corresponding to Magazine

I cannot locate the location of the Tent and Cabin events corresponding to this, oddly enough. But to change how much a Tent heals that would be in Event 77 (In hex)

In addition is the old notes on how to change what spells Rydia will learn through the Summon Orbs.

I'll just grab the post and quote it as it has all of the necessary information there.

I think I found it. E7 - B6 = 31, the number of Imp, E8 - B6 = 32, the number of Bomb, E9 - B6 = 33, the number of Roc, EA - B6 = 34, the number of Mage.


What we were looking for this whole time was B6, not 31. Quite a bit of clever space saving on their part.



This is located in RAM at 0x1A892

And in ROM at...  0xAA92 - B6 85 (SBC B6)

This is quite unfortunate though. You can only have the four spells be spells that come in sequence. However this does free up four Summon Skill slots and allows players to learn some unique spells if they put their starting point in the Monster Spells portion...

Remember that it is normally E7,E8,E9,EA - B6, you change B6, do a little bit of Hex Math and you can decide where you want the four to go.


This was quite tricky to find, but in reality was staring me in the face for a while. I just did not realize that it was a -B6 we were searching for. The game makes a lot of references to Address 0x145, which is where starting addresses are placed, I followed that to 0x1A893 as I noticed the 1031 had been added at that time, but by that time it was too late in the sequence to search for it. So I chanced it by using the hex right before it 0x1A891 and there I saw a SEQ B6. I was very confused about what this had to do anything, then I realized that it may not be as simple as finding an elusive digit. This is ASM after all and hardly anything is that straight forward. Then I saw that right before this was the item reference of E7. Finally I came to the conclusion that they may be related, SBC meant to subtract something, put it in the calculator E7 - B6 did indeed equal 31. Everything made sense from there.

Maybe I should give that another look in the near future, my skills and reading of the system have increased dramatically since then.


1362
Didn't you say not to touch that 1/8 Subroutine though lest it be used by another part of the game? But yes, on second look you could easily make it a static value.

1363
Hmm, well I've started to dive into this using the Status Healing Items as a base, now after a bit of diving I found that they are put into a routine which decreases their amount by D5, which is the value of Soft - Item D5.

In this they become somehow tested against the status afflicting the character, but here is where I get lost. It seems fairly simple, but it must deal something with bits and I'm not too familiar with status in bits.

Something I have completely overlooked is that the game sees Curse as an out-of-battle status ailment, due to the Cross being able to be used outside of battle. I guess that was for plans that never got off the ground or just plain oversight.

Here's the code, it seems straightforward but I don't quite grasp it. It is used by all Status Healing Items outside of battle, save Remedy. Remedy seems to be something special.


Code: [Select]
Successful Heal - Soft - Petrify

$01/A776 E9 D5 SBC #$D5 A:A7D5 X:A654 Y:A100 P:eNvMxdIzC
$01/A778 0A ASL A A:A700 X:A654 Y:A100 P:envMxdIZC
$01/A779 85 43 STA $43    [$00:0143] A:A700 X:A654 Y:A100 P:envMxdIZc
$01/A77B A6 43 LDX $43    [$00:0143] A:A700 X:A654 Y:A100 P:envMxdIZc
$01/A77D A0 03 00 LDY #$0003 A:A700 X:0000 Y:A100 P:envMxdIZc
$01/A780 C2 20 REP #$20 A:A700 X:0000 Y:0003 P:envMxdIzc
$01/A782 B1 60 LDA ($60),y[$7E:1043] A:A700 X:0000 Y:0003 P:envmxdIzc
$01/A784 85 45 STA $45    [$00:0145] A:0040 X:0000 Y:0003 P:envmxdIzc
$01/A786 3F C3 FE 1E AND $1EFEC3,x[$1E:FEC3] A:0040 X:0000 Y:0003 P:envmxdIzc
$01/A78A 91 60 STA ($60),y[$7E:1043] A:0000 X:0000 Y:0003 P:envmxdIZc

Code: [Select]
Unsuccessful Heal - Dwarf Bread - Petrify

$01/A776 E9 D5 SBC #$D5 A:A7D7 X:A654 Y:A100 P:eNvMxdIzC
$01/A778 0A ASL A A:A702 X:A654 Y:A100 P:envMxdIzC
$01/A779 85 43 STA $43    [$00:0143] A:A704 X:A654 Y:A100 P:envMxdIzc
$01/A77B A6 43 LDX $43    [$00:0143] A:A704 X:A654 Y:A100 P:envMxdIzc
$01/A77D A0 03 00 LDY #$0003 A:A704 X:0004 Y:A100 P:envMxdIzc
$01/A780 C2 20 REP #$20 A:A704 X:0004 Y:0003 P:envMxdIzc
$01/A782 B1 60 LDA ($60),y[$7E:1043] A:A704 X:0004 Y:0003 P:envmxdIzc
$01/A784 85 45 STA $45    [$00:0145] A:0040 X:0004 Y:0003 P:envmxdIzc
$01/A786 3F C3 FE 1E AND $1EFEC3,x[$1E:FEC7] A:0040 X:0004 Y:0003 P:envmxdIzc
$01/A78A 91 60 STA ($60),y[$7E:1043] A:0040 X:0004 Y:0003 P:envmxdIzc

The answer is in there somewhere, but I can't grasp it.


1364
Changing it to 7E16A0 Might be able to make that happen, granted if it is loaded in battle, but that's a lot of money lost! We still have no idea the formula for this thing, and I have scoured as far as I can in that regard.

I'm at a loss to look on how to make Dark Wave better, damage wise. Obviously it's based on Weapon/Str but to what accord is still unknown.

1365
Final Fantasy IV Research & Development / Re: Unknown text codes
« on: August 16, 2013, 11:05:23 PM »
Hmm, in normal conversations 07 and 08 are duds.

chr06 seems to close the text box automatically after being opened for a second, as used in the "Good night!" message.

chr07 doesn't show up in normal conversations, despite being used for treasure obtaining.

chr08 normally used in Gil obtaining in treasure chests and the like, appear as a plain 0.