řAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=14;area=showposts;start=525e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8ea9.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=14e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8ea9.html.zxŇĽg^˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙Č0P.¬÷OKtext/htmlISO-8859-1gzip8:Ö¬÷˙˙˙˙˙˙˙˙Tue, 10 Mar 2020 16:30:33 GMT0ó°° ®0®P®€§˛đ®ŃĽg^˙˙˙˙˙˙˙˙ )¬÷ Show Posts - Pinkpuff

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 - Pinkpuff

526
I'm currently trying to get the "inner map" tiles read and displayed correctly. So far, I seem to be getting the palettes without any trouble, as well as the 8x8 graphic tiles.

My questions are these:

1. How does the game determine how to assemble the 8x8 graphic tiles into a 16x16 sprite? Where is this information in the ROM and how is it read?
2. How does it determine which 16x16 map tile uses which 8-color palette?

527
I tried to do something a little nicer, but I kept the old "Note" format above and this version which includes the descriptions underneath the main line. Please let me know which method you prefer.

Actually neither TBH ^_^; I prefer the note being in the preamble. Right now it's just listing the variables, then the list directly below lists them again. The point of the preamble was to establish the meaning of all the variables (what they do, how they interact with each other, etc. to create the effect of the command), then you can just have the list below that specify the addresses. If those variables take values that aren't obvious, they should be listed indented under that variable's description. So what I would prefer would be something more like:

Dark Wave

Deal an attack to all enemies. Then, if Stat Loss Enabled, subtract 1/8 of Read Stat from Write Stat.
  • Stat Loss Enabled: 1EBFF
    • ON: ??????
    • OFF: EAEAEA
  • Read Stat: 1EBF2
  • Write Stat: 1EBFB, 1EC00

Also you may notice I converted the addresses to those of a headered rom; this to help prevent the likely scenario where I forget to convert these (or forget that I have to convert them) such as what happened recently.

Do you see how easy that instruction to change spell links is? – 100% Amazing – I mean it when I say had I not come upon your editor I’d probably not even be into this at all other than dreaming and maybe some hex futzing. I remember first looking into this long ago and being frustrated that I couldn’t mix and match battle commands - Not a problem anymore!  :happy:

 :childish: Thanks! Glad to hear it's useful.

That’s the plan in a nutshell – but in this scheme I’d have to then make sure either the Job pointer is also changed or I also change what “Bard” corresponds to in terms of available commands – otherwise RacerX will have “Sing” & “Hide”

Actually commands go by actor, not job. You can have two different Edwards with two different sets of commands; this is how, for example, Tellah loses Recall.

Just go into the actor editor and mess with the commands and you should be able to get what you're trying to achieve.

528
I did think of one problem: RacerX may be limited to Edward's battle commands - or similarly he may not be able to cast magic from the menu: I don't know how that's controlled - does just having spells in the spell list allow you get past "Cannnot Use" - or it could be as (I'm thinking about it) both in and out of battle magic use is tied into what commands are available - hence Edge having Ninja listed under magic in the menu. But on the other-other hand there's is a separate location for the spell lists themselves and the the game expects Edge to have magic, so he does.  :hmm:   - Thoughts?

You can use FF4kster to edit this (that is if I'm understanding your question correctly):

Edit Jobs -> Select the person's job (e.g. Bard) -> "Edit spell list links" -> Set white, black, and/or call to whatever spell lists you want.

They will be the same list in battle and in the menu. I may at some point add functionality to have them be separate but for now I'm assuming most people would want and expect them to be the same. The magic will be accessible from the menu and such (so you won't need to worry about "cannot use"). It does not currently allow you to change the text that overwrites "Black" with "Ninja" for Edge, but that will probably come in time as well.

529
...

They do mean the same thing, I just can't read apparently...  :isuck:

Anyway it's finally working correctly now I take it?

530
Ah, seems you forgot to change that "save Value to..." to also match (or be a separate entry) the value that is originally being subtracted. This is located at 0x1EB16 9D 2F 20 (Save value to 202F in Monster's Data) in a non-headered ROM.

I didn't forget, it absolutely was writing to that address. However, it turns out that address was incorrect; it was off by exactly 200. Are you using an unheadered rom by any chance?  :wink:

Anyway I fixed those and uploaded again. Hopefully this time I got it all right. Might be a good idea to refresh any roms that were saved using the previous version (that, or go into a hex editor and fix 1EB17 back to whatever it should be).

531
Hmm, Boast is still screwed up and still writes to the Slot of the Character that immediately is after the User. Did you change it from a base 80 back to 00?  80 is only meant to be used if its being written to the 2680-2780 portion of RAM (commands generally don't use that unless they're accessing Magic or Fight Routines) and that's only when its hitting a target rather than self in such a case.

Also it seems the options for Cry are completely gone in this version.

Cry has options on mine. I suspect I may have compiled the executable for the Windows version and forgotten to add it to the zip. Try it again now and let me know if the problems persist.

I've done quite a bit of messing around with the game's graphics, so I'm pretty familiar with where graphical data is located and how to manipulate Tile Layer to edit the data, but if you need info on how SNES interprets graphical data, that's a bit outside my scope of knowledge. Still, if there's anything I can help with, as always lemme know.

Yeah I need to refresh myself on how to interpret palette and graphical data. I know where to go to get that information (after all that's how it's reading the font and menu graphics) but it may take some time and experimenting to get myself reacquainted. I'm not planning on making the tile graphics editable from within FF4kster, but I would definitely like it to display the tiles. That way you can see what tile it is you're editing as opposed to some kind of text description like "upper left corner castle wall tile" or something... also it will be absolutely vital to read and display the tile graphics correctly when it comes time for the actual map editor; the user needs to see what the map looks like in-game as they edit it. Which is another reason I want it to be read directly from the ROM. That way if you change the tile graphics in something like Tile Layer, the changes will be reflected in FF4kster and you won't have to just remember what old tile your new tile corresponds to and try to imagine what it looks like, as you would if you did that with something like FF4Tools.

Additionally, if I can make a generic enough function, I might be able to add graphics to other editor components as well such as previewing NPCs with correct palettes, or more ambitiously, preview weapon attack animations with their proper graphics and palettes, likewise for spells, and even monster graphics.

532
Yes, the way you have put in Target's X = Target's X - (User's Y/2) is a much more readable way to read it.  Eh heh, sorry syntax of this sort isn't really a strength of mine.

Not a problem. I can usually get what you mean, just English can be a bit ambiguous by its very nature sometimes. With mathematics there's usually only one way to interpret it. ^_^

Anyway, updated again with fixes to Boast and Cry.

Next step is reading/displaying tile graphics. I have to revisit all those graphics tutorials again now, because it's been that long since I did anything graphic related...  :blits:

533
Something rather screwy is going on with Cry.

Oh, that's why. Alright, here's what's wrong with this...

The description of it is a little vague...

"Set Target's X to half its X"

It should read something more akin to...

"Subtract Target's X from half of User's Y"

Also again, I wasn't clear with the Store bytes, so changing those two alone wouldn't change anything but the foe's Steal Evade value. Here is what you need to add to that...

0x1EB16 (without header) 9D 2F 20   STA $202F,x[$7E:22AF]   A:0069   X:0280   Y:0000   P:envMxdizC - Store A in Monster's Steal Prevention.

And that should fix that.

I'm afraid I'm more confused now than I was before...

"Subtract target's X from half of user's Y" doesn't make any logical sense to me. It almost sounds like "User.Y = (User.Y / 2) - Target.X" but that can't be right... surely it's the target's stat value that's being changed here right? So it should be Target.X = something. For example, could you mean this:

Target.X = Target.X - (User.Y / 2)

So something like "Subtract half of User's Y from Target's X"?

534
I do also have a follow up on FF4kster. 1st off: awesome! I love the new features. :) One thing I did notice, and this is not new for me at least was that in editing the NPC table for the hospital in Toria it shows up as an empty list. The event script appears correct and references characters 0 - 3, but there are no characters listed on the NPC list. I was very excited when I got my first response which included:

Thanks! Glad you're enjoying it! And yeah, the NPC sets of some of the maps are messed up; that's not an issue with the editor, that's actually how they're stored in the ROM. There are a lot of things about this game that are coded/stored strangely, some of which are easier to hide from the user than others.

Anyway now that the autobattle editor is finished and seems to be working correctly, I thought I'd give people a heads up as to my plan of attack for the near future:
  • Fix the remaining bugs in the commands
  • Begin tackling the "tile editor" which will allow editing of the map tiles and tilesets.
    • Get the palettes and graphics reading and displaying correctly
    • Figure out info for tile properties (solidity, warps, triggers, etc) and create editor components for them
  • Create a map editor
    • Most of the info for this can be reverse engineered from the output of FF4Tools
    • The remaining info is I think already posted (stuff relating to the overworlds and such)
Of course I still have school stuff left to work on, exams coming up in a couple of weeks, and so that combined with the fact that this is another fairly hefty component means that progress will likely be slow and not all that visible. Hopefully though it will be well worth the wait because having that functionality integrated into FF4kster instead of having to use external programs will greatly improve efficiency of rom hacking.

535
Updated yet again! This time autobattles are working again (I think!), including Golbez scripts.

536
Excuse the double post, but I just uploaded another update. The problem with Boast has been fixed, and now Cry and Steal parameters have been added.

Enjoy!!

537
What about enemy PCs that change stance during the fight? Such as Kain for example...

538
Pandora's Box / Re: Stamina Bug in Beta 3 Patch
« on: November 28, 2013, 04:19:29 AM »
"The longer we stay in here, the harder it'll be to keep fighting..."

539
Are you talking about the 8 byte data sets starting at 0E/9000?

Er.. I don't know where they are so... possibly? What I'm talking about are the "layouts" for monsters. Like, one of the parameters in the battles editor is "arrangement" which is essentially referencing this concept. Basically I imagine an arrangement might look something like, "monster 1 at x:24, y:32; monster 2 at x:64, y:17; monster 3 at ..." though knowing the way this ROM is laid out in other respects I would not at all be surprised if it was encoded in a needlessly complex and confusing manner.

If so, I've done some very limited research on these. One thing is each byte appears to be 2 pieces of data. One in the low nibble, the other in the high nibble. They are separated and treated differently in the code in several places. Sorry I don't know anything beyond this yet. Might have some info later

 :childish: Sweet! Any info is better than none!

540
Ok so in other words, the save routine should additionally write the "stat to increase" byte to 1ECDC, correct?