øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=975e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index220d-2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index220d-2.html.zx(òg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈÀK¡hOKtext/htmlISO-8859-1gzip@øÕ¡hÿÿÿÿÿÿÿÿTue, 10 Mar 2020 20:18:08 GMT0ó°° ®0®P®€§²ð®(òg^ÿÿÿÿÿÿÿÿ!4¡h 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

976
Final Fantasy IV Research & Development / Re: Fun with Summons
« on: December 30, 2013, 01:57:42 PM »
Thank goodness I only tested it on a Test Rom rather than anything substantial. Phew, that's a bullet dodged. A shame that it doesn't quite work yet. Is it something to do with the way the graphics were input?

977
That was a pretty fast implementation! I'll take a look at the newest version to see what's working and what might be a bit askewed then.

 :edit: Now this is interesting! I love actually being able to look at the Glitch Worlds, are they being displayed properly from the data, or are they being read in some different manner? (As in could we potentially alter them to make them fully functioning maps?)


Troia Castle Crystal Room also seems to be rather screwed up as well, it looks to be reading the next map (Troia Hospital).

Baron Castle White Magic School looks to be reading the next map data (Desert Background), while the Desert Background likely has the wrong tileset all together, the Training Room (Is that even a map in FFII SNES?) looks to be having the same problem. The same applies to the Cave Magnes Crystal Room, it looks to be reading the data of the next map, possibly. There is always the distinct possibility that the Crystal Chambers have one set that is called upon by the map data itself (since they all look the same)

Cave Magnes Save Point Room looks to be using the wrong tile arrangement all around.

All of the "Airships" are screwed up, I expect this to be because there is one general map called for those sorts of events.

Cid's Falling mountain background isn't using the correct tile arrangement.

Hmm, the Cave Eblan Savepoint room also looks to be askewed. Is it maybe copying its map data from the Sewer Savepoint?

Baron Empty Throne Room is probably another map which is copying data from elsewhere.

Both docks show a white background.

All inns and shops are askewed starting from Mist Inn. I suspect that to be because they are likely reading from earlier arrangements. Inns however are mostly unique so that is a little troubling...

The other Babil Treasure Rooms are likely reading off of the main one, which is the Icebrand room.

The floors w/ Lugae/Ice Mail/Airship are likely copies again.

I need to head to work, but that seems to be the case here. A lot of these are copies so they don't have default map data.





978
That is a fair point... the physical characters like Cecil and Kain (Kain can always stay in the back, his game is mostly a joke) seem to have incredible (too high if you ask me!) physical evasion because of their equipment draw (mainly the shields) Also it seems that if you don't have any way to use Reflect you have no way of beating Asura alone, it appears?

Valvalis has high Magic Defense? I can't say I ever noticed because... you have no one with logical attack magic when you reach her.

979
Hmm, what makes Valvalis such a sticking point? I recall reading a Solo Cecil guide a long time ago who was very upset about how unfair Valvalis seemed because of Ray taking a character out of commission in a short time. This fellow didn't seem to be aware that Cecil could equip the Gaia Gear, or wasn't aware that the Gaia Gear prevented Gradual Petrification. Or is there more to it than that?

980
I started watching this a while back, didn't see too much interesting within the first five minutes and left it there. Though now that you mention a fair amount of glitching (and what a glitch that seems) I'll have to check this out!

981
Thanks! I also have the Kain version all but prepared and I have to say, his game is an absolute Joke. He goes through the game with relative ease (though there are a few trouble spots) I expected that him being confined to the Spear for the first part of the game would hurt him, but no... he absolutely murders everything, Jump is just so powerful. Now that I have all the kinks worked out of it, I can probably start releasing these in bunches rather than piecemeal.

Oh right! One more "glitch" I should mention, because the Character is always 01, the beta-script for Yang is run instead of his normal one and you will be forced to defeat Yang (though I could change that if that proves too cumbersome for some characters).

982
Good catch! I hadn't noticed that in the babil docs. That would seem to be the way the game intends to, phew. I thought I was going to have to tear it apart and start from scratch.

983
Thanks! The system is very wide open and has not been used to its full potential, though my uncreative self can only think to recreate things from other games, hehe.

For the first concern, the normal Hide command surprisingly does a balanced search through all five commands before seeing where it lays (Which is the Second Slot). It used a bit of code to do so originally. I didn't want to deal with that, so yes. It is fully dependent on its particular place in a character's command slots.

The second concern is troubling now that you mention it... the original Hide code uses "$03/E880   AE 34 35   LDX $3534  [$7E:3534]   A:0080   X:0000   Y:0000   P:eNvMxdizc - Load X from 7E3534." to keep track... I should have tried the command with more than the person in the first slot and saw that this would happen. I can only assume that the data in there looks specifically at the command options for each character. Hmm, maybe basing it more on the initial code for the relevant portions of Hide may have been the better idea.

Code: [Select]
$03/E876 A6 A6 LDX $A6    [$00:00A6] A:0003 X:0012 Y:0000 P:envMxdizc - Load Character Slot into A.
$03/E878 BD 06 20 LDA $2006,x[$7E:2006] A:0003 X:0000 Y:0000 P:envMxdiZc - Load Slot X's Status Byte 4.
$03/E87B 09 80 ORA #$80 A:0000 X:0000 Y:0000 P:envMxdiZc - Add 80.
$03/E87D 9D 06 20 STA $2006,x[$7E:2006] A:0080 X:0000 Y:0000 P:eNvMxdizc - Store A in Slot X's Status Byte 4.
$03/E880 AE 34 35 LDX $3534  [$7E:3534] A:0080 X:0000 Y:0000 P:eNvMxdizc - Load X from 7E3534.
$03/E883 64 A9 STZ $A9    [$00:00A9] A:0080 X:0000 Y:0000 P:envMxdiZc - Store Zero in A9.
----------------------------------------------------(Looping Point)------------------------------------------------------------------------
$03/E885 BD 03 33 LDA $3303,x[$7E:3303] A:0080 X:0000 Y:0000 P:envMxdiZc - Load A from 7E3303.
$03/E888 C9 09 CMP #$09 A:0000 X:0000 Y:0000 P:envMxdiZc - Is it 09? (Hide)
$03/E88A D0 07 BNE $07    [$E893] A:0000 X:0000 Y:0000 P:eNvMxdizc - If not, branch to 03E893.
-------------------------------------------------------------------------------------------------------------------------------------------
$03/E88C A9 1C LDA #$1C A:0009 X:0010 Y:0000 P:envMxdiZC - Load 1C into A. (Show)
$03/E88E 9D 03 33 STA $3303,x[$7E:3313] A:001C X:0010 Y:0000 P:envMxdizC - Store A in 7E3313. (Location of Command to Replace.)
$03/E891 80 08 BRA $08    [$E89B] A:001C X:0010 Y:0000 P:envMxdizC - Branch to 08.

984
A while back I played JCE3000GT's Solo Cecil Patch and I really did enjoy the concept of that. I always like when games give you the chance to have a solo member go through the entire game. I've always been partial to Child Rydia as a character with the ability to use White Magic, Black Magic, and Summon Magic and playing through the game solo as her gives you an entirely new respect for some of the lesser used magics. But the stretch in which you can play a game "solo" as any other character is a bit... limited.

Cecil - Whole Game
Kain - Start-To Mist - Underground Start-Underground Finish - Final Moon Trip-End
Rydia - Kaipo-Leviathan Attack - Underground-End
Edward - Damcyan-Leviathan Attack
Rosa - Kaipo Revisit-Battle of Fabul - Tower of Zot Finish-End (probably the longest character to stick around)
Yang - Mt. Hobbs-Leviathan Attack - Baron-End of Babil1
Palom - Mysidia-Cagnazzo
Porom - Mysidia-Cagnazzo (Edward and the Twins really don't get much face time in battle)
Cid - Troia-Underground Start (Cid gets two Dungeons)
Edge - Eblan Passage-End
FuSoYa - End of First Moon Trip-End of Giant of Babil

These characters all have interesting abilities and different strengths and weaknesses but you don't often get to see these in the game itself. So my goal is to make a Challenge Patch for each character to go through the game Solo. And in the end for some the question will be, "Is it possible to do so?"

With the initial patches released my plan then is to make a special patch, originally you will notice next to no changes in the game itself, but in future patches (Probably will have a + by the patch name) the game will be made more in-mind for the specific characters so you won't be getting a bunch of Dark Armor you can't equip anyhow. But I want to release a "pure game" patch set first before doing that.

So first of these will be Child Rydia.












Issues: Now because this is stepping outside of the game's comfort zones there was one or two things that I've noticed that aren't... quite right.

The only thing I have noticed off the top of my head is that when Edward goes back to mourn Anna he will be Mini because he is not actually part of the party. And every Special Battle will have Rydia as the party, no matter how absurd it may seem.

One last note, everybody will call Rydia... well Rydia. This will look odd in text in... certain places. I wasn't going to go through the script and change every instance of him to her and he to she after all, but this isn't a story based hack in the first place so its not that big of a deal.

Now this is for an Unheadered Rom of v1.1 make sure to patch it to that.

Please, give me your thoughts and suggestions.

985
Oh Zeromus, you are nothing but trouble...

I'm finally at the end of testing this and have learned Zeromus will not let it go quietly...

There's a few special parts to the Zeromus battle which look specifically for Cecil, the Crystal, the Paladin, and everything else is considered Dead with 0 HP. I will have to go back and figure out why this is. It is nothing in the Event Script that's for certain.

It's all before the Golbez/FuSoYa battle or after that. It's difficult to say.

If you are Not Paladin Cecil - Lower HP to 0, set Status Byte 1 to 80 (Dead)

...Alright, the moment Zeromus does his "shaking" animation he kills all characters that aren't Paladin Cecil. A very exact place to put it, but okay.

And I found it! In RAM at...
$00/C21F   C9 0B   CMP #$0B   A:0001   X:0000   Y:0002   P:envMxdizc - Is it Paladin Cecil?

Just change this to whichever character you want to be alive with 1 HP, for my purposes that is 01

And finally the Crystal... I tackled this a long time ago actually...

RAM: 0x3A127 - C9 C8 (Compare Crystal Item Number)
RAM: 0x3A132 - C9 0B (Only this Unit ID may use the item designated as "Crystal")

ROM...

0x1A327 - C9 C8 (Compare Crystal Item Number)
0x1A332 - C9 0B (Only this Unit ID may use the item designated as "Crystal")


And finally one more check...

"If Unit 11 Uses Dark Magic" Counter that Zeromus has set up. I'll change that to 01 for my purposes.

And that is that! Finally my Solo Rydia Challenge patch is ready for release! And I can use this as a template for other Solo Challenge patches as well.

986
In theory its not a difficult thing to do. All of that information is, as a rule, at the end of the routine for space saving purposes because the message is loaded by the chosen spell for the effect. It would take a little bit of clever coding, but it can be done.

So, in other news I figured out what makes Cecil and Paladin Cecil the de facto main characters and its a very simple, stupidly simple explanation...

In the event scripts themselves there is oftentimes near the start "Change Character Graphic to 1 (01)" for Dark Knight Cecil and once the Paladin is expected to be in the party that changes to "Change Character Graphic to 11 (0B)". So in essence with enough elbow grease you can have Anyone be the main character... if you're willing to change every instance of the "Change Character Graphic to X" This escaped my noticed because I thought it was looking at something at the end of an address. And with that I think I will soon be able to release my Solo Rydia Challenge Patch. It's a very simple patch with the only purpose is in taking a Child Rydia through the entire game alone.

Good news, main character doesn't Have to be Cecil. Bad news, it means I'll have to look through Every Paladin event and change every instance "Character Graphic 11" to Nothing.

Give and take, as they say.

987
From Dragoon-ZERO's Long Range Fix patch, he was helpful enough to include what he changed and what was Originally there in ROM! (Commented for readability)

Code: [Select]
$03/9D90 AD 77 39    LDA $3977  [$7E:3977]   A:001E X:0000 Y:002E P:envMxdIzc - (???)
$03/9D93 29 20       AND #$20                A:0080 X:0000 Y:002E P:eNvMxdIzc - Is it 20? (???)
$03/9D95 D0 07       BNE $07    [$9D9E]      A:0000 X:0000 Y:002E P:envMxdIZc - If not 00 branch to 039D9E.
$03/9D97 AD 9C 28    LDA $289C  [$7E:289C]   A:0000 X:0000 Y:002E P:envMxdIZc - Load (???)
$03/9D9A 29 20       AND #$20                A:00FF X:0000 Y:002E P:eNvMxdIzc - Is it 20?? (???)
$03/9D9C F0 09       BEQ $09    [$9DA7]      A:0020 X:0000 Y:002E P:envMxdIzc - Branch if 00 to 039DA7.
$03/9D9E A0 01 00    LDY #$0001              A:0020 X:0000 Y:002E P:envMxdIzc - Load 0001 into Y.
$03/9DA1 B1 80       LDA ($80),y[$7E:2001]   A:0020 X:0000 Y:0001 P:envMxdIzc - Load A from 7E2000 (+1)  Row/Character ID.
$03/9DA3 09 20       ORA #$20                A:0000 X:0000 Y:0001 P:envMxdIZc - Add 20 if applicable.
$03/9DA5 91 80       STA ($80),y[$7E:2001]   A:0020 X:0000 Y:0001 P:envMxdIzc - Store A in 7E2001.
$03/9DA7 60          RTS                     A:0020 X:0000 Y:0001 P:envMxdIzc - Return.


(Custom Code by Dragoon ZERO)
A0 01 00    LDY #$0001 - Load 1 into Y.
B1 80       LDA ($80),y - Load A from 7E2001.
29 DF       AND #$DF - Add DF (-20) if Applicable.
91 80       STA ($80),y - Store A in 7E2001.
AD 9C 28    LDA $289C - Load (???)
29 20       AND #$20 - Is it 20?
F0 06       BEQ $06 - If so branch.
B1 80       LDA ($80),y - Load 7E2001 into A.
09 20       ORA #$20 - Add 20 into A if applicable.
91 80       STA ($80),y - Store A in 7E2001.
60          RTS - Return

Now that is a fantastic piece of work there!  And that is a place of much interest and if the information for that weapon bit is there, who is to say if the data for the other weapon bits maybe closeby?

988
Hmm, but as per the code if it reads More than 20 but less than 80 it automatically skips that...


Code: [Select]
$03/D8B0 AD 97 26 LDA $2697  [$7E:2697] A:0003 X:0020 Y:0000 P:envMxdizc
$03/D8B3 A2 00 00 LDX #$0000 A:0022 X:0020 Y:0000 P:envMxdizc
$03/D8B6 C9 50 CMP #$50 A:0022 X:0000 Y:0000 P:envMxdiZc
$03/D8B8 90 02 BCC $02    [$D8BC] A:0022 X:0000 Y:0000 P:eNvMxdizc (Compares it, finds it isn't valid and moves on.
$03/D8BC C9 14 CMP #$14 A:0022 X:0000 Y:0000 P:eNvMxdizc

Oh! I see! Gah! How careless of me... I confused E9 for 39! I blame it on my slight dyslexia.

The copied code ingame does have A950 where it should be.

And there we go... it's working as intended. Eh heh. Sorry about that Chillyfeez, I'm not sure why my mind jumped to the SEC being the culprit.

989
I see... I think you made the same mistake I had.

With less than 20 Wisdom it works flawlessly 80 is added to the value and that is it, but when more than 20...

Code: [Select]
$03/D8B0 AD 97 26 LDA $2697  [$7E:2697] A:0003 X:0020 Y:0000 P:envMxdizc
$03/D8B3 A2 00 00 LDX #$0000 A:0022 X:0020 Y:0000 P:envMxdizc
$03/D8B6 C9 50 CMP #$50 A:0022 X:0000 Y:0000 P:envMxdiZc
$03/D8B8 90 02 BCC $02    [$D8BC] A:0022 X:0000 Y:0000 P:eNvMxdizc
$03/D8BC C9 14 CMP #$14 A:0022 X:0000 Y:0000 P:eNvMxdizc
$03/D8BE 90 06 BCC $06    [$D8C6] A:0022 X:0000 Y:0000 P:envMxdizC
$03/D8C0 E8 INX A:0022 X:0000 Y:0000 P:envMxdizC
$03/D8C1 38 SEC A:0022 X:0001 Y:0000 P:envMxdizC
$03/D8C2 39 0A 80 AND $800A,y[$7E:800A] A:0022 X:0001 Y:0000 P:envMxdizC
$03/D8C5 F6 A9 INC $A9,x  [$00:00AA] A:0000 X:0001 Y:0000 P:envMxdiZC
$03/D8C7 80 E0 BRA $E0    [$D8A9] A:0000 X:0001 Y:0000 P:envMxdizC
$03/D8A9 02 A9 COP #$A9 A:0000 X:0001 Y:0000 P:envMxdizC
$00/FFFF FF 0A 2F 0A SBC $0A2F0A,x[$0A:2F0B] A:0000 X:0001 Y:0000 P:envMxdIzC
$00/0003 80 F2 BRA $F2    [$FFF7] A:00F6 X:0001 Y:0000 P:eNvMxdIzc
$00/FFF7 FF FF FF FF SBC $FFFFFF,x[$FF:0000] A:00F6 X:0001 Y:0000 P:eNvMxdIzc
$00/FFFB FF 00 80 FF SBC $FF8000,x[$FF:8001] A:00EB X:0001 Y:0000 P:eNvMxdIzC
(And so on and so forth in garbage code...)

Your Set Carry Flag is not adequate to change it to read one byte, it will continue to read two bytes. The way I found to get around this is to use..

$03/D8B1   E2 10   SEP #$10   A:0003   X:0020   Y:0000   P:envMxdizc - Set Processor to 8 bit (so X only reads one byte instead of 2)

Then when it is near the end of the script reset it with...

$03/D8E5   C2 10   REP #$10   A:0000   X:0080   Y:0000   P:envMXdiZc - Reset Processor Status from 8-Bit

Unless there is a much simpler way to go about it that I don't know of.

 :edit: Though if this screwed up for me, why did it show up fine for you? You're pulling the raw code from the same place I was I presume, Geiger's emulator.

990
Not tongue-in-cheek at all. As you pointed out above I don't Want to be like the original developers, hehe (speaking of such there is probably a lot of CMP/BEQ combo's in the code that could be covered with a simple TSB, but I've never seen FFIV use a TSB command anywhere despite it appearing the most efficient way to check if a byte reads a specific value.

I'll test this out and tell you how it goes.

Oy, image editing in this game so far has been atrocious for me, outside of your Summon Tutorial I can't really grasp it, nor even figure out how to load the proper palettes in TileMolester if I ever wanted to change a character's sprite. So best of luck with what you're up to. The lack of a decent image editor is one of the things keeping back my hacks.