davoodinator / ff12doc

FF12 Zodiac Age VBF Documentation
9 stars 3 forks source link

/ps2data/image/ff12/test_battle/in/binaryfile/chr_data.bin #20

Open watafuzz opened 6 years ago

watafuzz commented 6 years ago

Handles some character data this way:

chr_data.zip

As usual you need to make the changes in the localized battle_pack.bin.

Some notes so far:

For equipment, the character needs to have the license to equip it or else you just get a weird version of unarmed that deals 0 damage. If you remove starting license, also replace weapons there with 0010 for unarmed or some weapon that requires no license.

For the stats the first entry is base stat, second is growth.

In the items you have gambits (xx60) and maps (xx80)

I'm not sure how the model works, just that changing the first byte without the third crashes the game. You can swap between party members freely I think and you can find some enemy models in the .ard files, I'll explain that there later.

TohruAdachi255 commented 6 years ago

The Most Elusive Discovery, and you Pinpointed it! Good Job!

TohruAdachi255 commented 6 years ago

But which One is the Header to change for the Models? And everytime itry t pen the Spreadsheet it says it is corruppted and it will not open.

watafuzz commented 6 years ago

The header of the file? its 73 74 32 65 28 00 00 00 80 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I made the spreadsheet with libreoffice so try to download that to open it.

TohruAdachi255 commented 6 years ago

Oh so just change the Header if the one from the Ard Files? And I will download it now

watafuzz commented 6 years ago

No no no,

in my spreadsheet I've named every character and what each bytes do (well those I know of) you'll see some bytes named "model", this is what you need to find in battle_pack.bin and change there to another model. You can try to copy ashe's model in Vaan's to test how it work out. It's 3 bytes long.

TohruAdachi255 commented 6 years ago

Oh okay I got the spreadsheet open now and I see it. But how you find out the Enemy Model Bytes?

watafuzz commented 6 years ago

I'm about to explain that in my /area issue

TohruAdachi255 commented 6 years ago

Oh okay well i changed the Model Number in Battle_Pack Bin It did not change Vaan Doe. What I do wrong?

TohruAdachi255 commented 6 years ago

I use your Mod and it still ain’t work

TohruAdachi255 commented 6 years ago

Never mind I got it now you got to inject the whole Ps2 folder

TohruAdachi255 commented 6 years ago

Do you know why all the Texts changes to gibberish when I Switch Character models? And for the Creatures you ain't list there Model Bytes Area.

watafuzz commented 6 years ago

I do not know no, you must have done something wrong.

I haven't listed all the creatures no, it's pretty tedious work and not my focus currently.

TohruAdachi255 commented 6 years ago

No not all the Creatures, there Model Byte numbers so i can switch them. You ain't list the creatures on the spreadsheet's Model byte number. I don't know which Bytes they are.

watafuzz commented 6 years ago

I don't get it, I've listed some models in my ards.ods:

https://github.com/davoodinator/ff12doc/issues/18

There's not much they are definitely there, first 3 bytes:

[]

TohruAdachi255 commented 6 years ago

image you made a error in the one you posted first then. Because it said clan points but i tried it and it crashed the Game. Is that the Updated version you have?

watafuzz commented 6 years ago

Oh I see what this is, there's multiple sheets inside the spreadsheet, look at the lower left, feuille1, feuille2, etc. Models are on feuille1. Pardon my French.

Pretty sure they're here since I took that screenshot from the downloaded file.

TohruAdachi255 commented 6 years ago

Oh Ok i got it now. So to find more Creature Model Bytes i just go in all the Ard files and find them right?

watafuzz commented 6 years ago

Pretty much yes, the first model will be at offset 0x50, the next one 84 bytes later, so on and so forth.

TohruAdachi255 commented 6 years ago

Ima be experimenting all day. Ima let you know all the Values when i am done. THank you so much bro. You really Helped me, so now i will Help you so we can make some Long Deserved Mods! And this one is Definitely gonna be the Best! And when we done you should ask Vaan to make a Gui for changing characters. That would make it so much more easier.

TohruAdachi255 commented 6 years ago

image Baknamy and Buer in bds_a

TohruAdachi255 commented 6 years ago

ima make a list of what all the creatures i find Bytes, what weapons they can use in a Notepad then when i am done ima send it all too you so you can make the Spreadsheets or whatever you want to do.

TohruAdachi255 commented 6 years ago

Can't wait to i find the Judges!

TohruAdachi255 commented 6 years ago

image I Have Confirmed it is Possible to Play as Bosses.

TohruAdachi255 commented 6 years ago

And that Means the 5 Judges!

TohruAdachi255 commented 6 years ago

image GABRANTH!!!

TohruAdachi255 commented 6 years ago

Do you know where the Equipmet slot is located for the Enemys? i am having a problem finding Vayne regular and Vayne novus unarmed type. just making them unarmed does not work.

davoodinator commented 6 years ago

to Whatafuzz when you do the pull request to committ this information can you reference this issue so i can close it? thanks and amazing work !!!!!!!!!!!!1111111111

watafuzz commented 6 years ago

Sure, tho I'd like to know a bit more about the file before doing so, I haven't even begin to look into what the rest of the offsets do

TohruAdachi255 commented 6 years ago

i have confirmed you can replace the Model of Espers and Summon anyboy with no Problems. Truly Amazing!