Final Fantasy Hacktics

Modding => Non-FFT Modding => FFTA/FFTA2 Hacking => Topic started by: Pickle Girl Fanboy on August 09, 2011, 12:48:51 pm

Title: ROM adresses
Post by: Pickle Girl Fanboy on August 09, 2011, 12:48:51 pm
http://datacrystal.romhacking.net/wiki/Final_Fantasy_Tactics_Advance:Jobs
http://datacrystal.romhacking.net/wiki/Final_Fantasy_Tactics_Advance:Items
http://datacrystal.romhacking.net/wiki/Final_Fantasy_Tactics_Advance:Abilities

Are the descriptions and such up to date, or do you have more info to add to them?  I'm thinking about making a spreadsheet to edit this data, and I want to know more about it.
Title: Re: ROM adresses
Post by: Eternal on August 09, 2011, 12:53:57 pm
I would love you forever if you made a spreadsheet that could edit those.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on August 09, 2011, 01:01:49 pm
http://www.verve-fanworks.com/SMF/index.php?topic=472
^It will work like these spreadsheets if I do make it.  Just edit the data and copy the giant bunch of numbers to the address listed.  But I have to know whats already been done before I do that.
Title: Re: ROM adresses
Post by: Darthatron on August 09, 2011, 10:26:42 pm
That's all the info I have, I think. I will have a look through my notes, though. :) Thanks!!
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on August 16, 2011, 11:10:04 am
So is this a go?  No more info?
Title: Re: ROM adresses
Post by: Darthatron on August 17, 2011, 07:37:37 am
Sorry, forgot to post. Yeah, everything I've posted is what I have. Right now I'm working on finding routines rather than data... so yeah. I can send you what I've decompiled about the ROM, but I don't think it will make much sense.

Also the girl in your picture is a babe. More pictures please? ;)
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on August 17, 2011, 02:14:52 pm
Post whatever you have, don't bother organizing it more than you feel compelled to.

darth@programmer.net
Is this email appropriate for recieving pr0n?
Title: Re: ROM adresses
Post by: Darthatron on August 17, 2011, 08:44:19 pm
Probably the most appropriate. ^_^ Thanks.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on August 18, 2011, 02:59:47 pm
Done.
Title: Re: ROM adresses
Post by: Eternal on August 24, 2011, 04:06:33 am
How are these coming along, PGF? I'd very much like to see the final product.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on August 25, 2011, 12:09:26 pm
Why do I see these two tabs that say "Remove Topic" and "Lock Topic" in the lower left hand corner, above the Quick Reply dialog?  Only mods and admins should be free to lock and delete topics and posts; we don't want people causing trouble and then deleting their posts so they can get away with it, do we?

I'm having serious problems dumping ability data.  I need to know exactly where it starts, where it ends, and how many bytes there are per entry.  Somehow I'm screwing up my math, and I can't get anything right.

Nevermind, I figured it out.

This is what I started with
0x55187c : start
0x1c     : length of single entry (28 dec)
0x15a    : number of entries (includes 0x00, which is a blank entry) (346 dec)
0x25d8   : total length of entries (9688 dec)
0x553e54 : end

The problem is the 0x1c.  FYI, the standard operating procedure is to consider 0x00 the first offset.  So when you said 0x1c I assumed 29 entries, when in reality it was 28.

It makes more sense if you look at it like this.
What I thought it was:
1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c

What it really was:
1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b

In the future, use decimal to tell how many bytes there are per entry - or just demonstrate with something like above.

Also, whenever I try to copy this data from a plain text editor to a spreadsheet, it treats the data as decimal numbers and screws it up.  I tried formatting the cells I was copying it to so that they're marked as text, but it didn't work.  Neither did a "special" paste which would only paste the contents, but not formatting (as oppossed to normal copy and paste which pastes both contents and formatting).

All the dumps are below, in  plain text form.  I need somebody to copy the data to *.xml spreadsheets with the formatting intact (hexadecimal, NOT like the screencap of a spreadsheet below).  For whatever reason, Gnumeric is screwing me on this.  I think I remember having to do this on a Windows machine when I was dumping something for SaGa Frontier 2.  Just name the spreadsheets that same as their *.txt counterparts.

Once you do that, I'll make a bare-bones copy-and-paste-to-hex-editor spreadsheet, unless someone cares to teach me the finer points of data validation in Gnumeric.  Specifically:
1. Having drop-down boxes organized according the order the data is in, not alphabetically.
2. Finding a way to set every entry to it's default value without having to do it entry by entry.  There are 12000 entries in item data (bytes per row * number of items); there's no fucking way I can set these to their default values by myself.

Oh, and Darthatron, could you tell me exactly where each block of data ends, so I don't have to guess once I move on to spreadsheet editing?  It shouldn't be that hard - it's just a matter of copying the names of the items in the same order as they appear in the ROM - but I've made such mistakes in the past.

EDIT
How do I place these screencaps inline, so I can spoiler-tag them, so they won't expand the screen?

First Screencap (http://www.verve-fanworks.com/SMF/index.php?action=dlattach;topic=333.0;attach=768)

Second Screencap (http://www.verve-fanworks.com/SMF/index.php?action=dlattach;topic=333.0;attach=770)
Title: Re: ROM adresses
Post by: Darthatron on August 27, 2011, 03:27:59 am
Quote from: Pickle Girl Fanboy on August 25, 2011, 12:09:26 pm
Why do I see these two tabs that say "Remove Topic" and "Lock Topic" in the lower left hand corner, above the Quick Reply dialog?  Only mods and admins should be free to lock and delete topics and posts; we don't want people causing trouble and then deleting their posts so they can get away with it, do we?

I'm having serious problems dumping ability data.  I need to know exactly where it starts, where it ends, and how many bytes there are per entry.  Somehow I'm screwing up my math, and I can't get anything right.

Nevermind, I figured it out.

This is what I started with
0x55187c : start
0x1c     : length of single entry (28 dec)
0x15a    : number of entries (includes 0x00, which is a blank entry) (346 dec)
0x25d8   : total length of entries (9688 dec)
0x553e54 : end

The problem is the 0x1c.  FYI, the standard operating procedure is to consider 0x00 the first offset.  So when you said 0x1c I assumed 29 entries, when in reality it was 28.

It makes more sense if you look at it like this.
What I thought it was:
1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c

What it really was:
1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b

In the future, use decimal to tell how many bytes there are per entry - or just demonstrate with something like above.


I'm sorry. That was a typo I think. >_<

And I think you need to upload the images to some third party site, like tiny pic.

Amazing work here man. I'll have a better look tomorrow!! I'm having some people over tonight. ;) Et knows what that probably means.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on August 29, 2011, 11:25:27 am
I can make a quick and dirty copy and paste hacking spreadsheet, but I won't use drop-down boxes - it will be editing hex and decimal numbers in a spreadsheet, using a legend/key for reference.  It will still be easier and faster than making changes one-by-one with a hex editor, and you can browse your changes when you have a new idea.
Title: Re: ROM adresses
Post by: Darthatron on September 05, 2011, 10:36:10 am
I made some progress on Job Data (while working on my editor), so I'll update the datacrystal page tomorrow. :)
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on September 06, 2011, 12:34:28 pm
I think it's Gnumeric that's screwing me on the copy and paste.  I'll download OpenOffice (*sigh*) tommorrow.
Title: Re: ROM adresses
Post by: Darthatron on September 06, 2011, 10:00:37 pm
I'm sure you'll work something out, bro. I updated the Jobs page (bytes 0x2B, 0x2E and 0x2F).

Also: http://i55.tinypic.com/2vrtmzc.png
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on September 07, 2011, 05:23:30 pm
Could you verify that everything is correct, in order, that I have the beginning and end of ability data correct, and that there aren't any more abilities?  I'm concerned about the data at the end, and require your feedback.

EDIT
Spreadsheet removed due to errors.  All future versions of the spreadsheet will appear in their own thread in the FFTA hacking board on this forum.
Title: Re: ROM adresses
Post by: Darthatron on September 07, 2011, 11:09:36 pm
Blank Card is the last ability. Everything under that is wrong and shouldn't be there. These are just the A-Abilities, not R/S/C-Abilities, maybe that's why there seems to be so few?
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on September 08, 2011, 02:38:30 pm
Okay then.  I'll add the concatenation tonight or tommorrow.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on September 12, 2011, 10:42:51 am
Done.

@darthatron
Byte 0x06 of ability data - range.  Does it work like this?
0x00 to 0x3F = range expands around caster in a circle
0x40 to 0x7F = range expands out from caster only in 4 cardinal directions
0x80         = range of equipped weapon


EDIT

Spreadsheet removed due to errors.  All future versions of the ability data spreadsheet will appear in it's own topic in the FFTA Hacking board on this forum.
Title: Re: ROM adresses
Post by: Darthatron on September 13, 2011, 03:18:55 am
It's more like this, I think:
0x00 to 0x3F = range expands around caster in a circle
0x40         = range expands out from caster only in 4 cardinal directions
0x80         = range of equipped weapon[code]

Also, byte 0xA is the Vertical Aura, I just haven't gotten around to updating the DC wiki.
[/code]
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on September 13, 2011, 02:22:13 pm
So 0x40 gives infinite range, in all four directions?
Title: Re: ROM adresses
Post by: Darthatron on September 13, 2011, 09:11:44 pm
0x40 is then dependent on Aura. For example, setting the Aura to 4 makes it work as a "breath" move.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on September 14, 2011, 02:29:11 pm
Well, I'll let you update the Key sheet in the spreadsheet.  Just upload it to another topic or something, and when you do I'll remove it from my message, so no one's confused.  FFTA isn't really my thing, so I probably won't be updating it.
Title: Re: ROM adresses
Post by: Eternal on October 27, 2011, 11:18:43 am
0x0C, 0x0D, 0x0E, and 0x0F in your spreadsheet seem to be the four effects attacks can have. I'll try and decode them from there.
Title: Re: ROM adresses
Post by: Pickle Girl Fanboy on October 27, 2011, 02:37:20 pm
Since you're the admin, I hereby relinquish control over afforementioned spreadsheet to you, Eternal248, to do with as you please.  I also cede control to Darthatron, and anyone else you deem worthy.

(Normalspeak: You'll have to update the Legend/Key yourself, I don't have the time.)

EDIT

Spreadsheet moved to it's own topic.