• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
May 18, 2024, 07:05:43 am

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


Unit.bin

Started by Vanya, December 03, 2008, 01:33:58 am

Zozma

October 01, 2009, 06:32:19 am #140 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
thanks cheetah.

yeah theres that one missing part

when i change the battle formation assignment sprite of Lede or Celia to the dancer, it also changes their portrait to that of the generic bard... lol
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Xifanie

October 01, 2009, 08:06:23 am #141 Last Edit: December 31, 1969, 07:00:00 pm by Xifanie
null? did you actually try changing it to see if it wasn't a byte, but a half word?
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Cheetah

October 01, 2009, 10:31:13 pm #142 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
If by word you mean allowing for larger value than just FF then I think you are probably correct Zodiac. I haven't experimented with everything, but they usually result in nulls. I will take a look though to see what happens.
Current Projects:

Vanya

October 04, 2009, 03:46:18 am #143 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Hmmm... I changed sprite 35 Female Priest into a Special Squidraken, but the formation image and job wheel image are messed up. I double and triple checked the relevant files, but everything seems fine. He shows up just fine in battle and in the battle prep screen. I used the EVPRG to edit the unknown priest into a squidraken, and then changed all the relevant bytes to 08 (unk priest's unit.bin slot). It keeps showing up as Ramza with the Squid's palette in formation screen and glitched in job wheel.
Not sure why it isn't working.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Cheetah

October 04, 2009, 12:34:41 pm #144 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
In the job wheel you have to set what palette is used in the "Formation Screen Sprite Details" section. You have to put in the actual address of the palette I think. But just look at what the sprite that you overwrote the palette of and put that value there. That should do the trick no problem.
Current Projects:

Vanya

October 05, 2009, 01:27:57 am #145 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Well, I found my main problem was that I changed the wrong byte for the formation sprite. So now my Squidraken is looking perfect except on the job wheel. And the wierd thing is that when I first go into the job wheel the sprite in the center looks fine and the one in the circle looks messed up. If I change his job the center one gets messed up too.

Edit: Here's a pic.
I don't see why it would do this since I replaced the Bearded Priest with the Squidraken.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Vanya

October 05, 2009, 02:41:30 am #146 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Hey, moderator dudes!
I think it's time to sticky this thread.
Very relevant info in here.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Cheetah

October 05, 2009, 03:04:39 am #147 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Fine be that way. Though I need to figure out a way to replace the first post so that I can put all the decoded information in there, I might just have to delete the first few posts.

Vanya's Problem: I'm not sure what piece of the puzzle you are missing, but I'm assuming you are just reassigning the palette incorrectly, looks like you are pointing to a blank on or something.
Current Projects:

Vanya

October 05, 2009, 03:25:20 am #148 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
I could always just post it myself. It'd save you the trouble of having to delete stuff.

Could that be an inherent problem with the Bearded Priest's slot?
I better review the data, 'cause I never changed that part.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Vanya

October 08, 2009, 01:27:40 am #149 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
I haven't found a solution to my problem yet.

Check this out. I changed 3 units to look like Ramza ch2, Ramza ch4, and Delita ch1. It ended up the same way as with my Squidraken. They work perfectly except on the job wheel. Here's a list of the address groups I made the changes in:

Info Portrait
WORLD.BIN
0x74B16

Formation and Job Wheel Portraits
WORLD.BIN
0xAA8BA - 0xAAA5B

Formation Sprite Palette
WORLD.BIN
0xAA16A - 0xAA30A

Special Unit Formation Location Assignment
WORLD.BIN
0xADE34

Battle Formation Screen Assignment
ATTACK.OUT
0x16BB3 - 0x16D53


What I didn't change:

Formation Screen Sprite Details
WORLD.BIN
0xADA44 - 0xADE33

Did I miss anything?

Here are some pics of what I got:
  • Modding version: Other/Unknown
¯\(°_0)/¯

Vanya

October 08, 2009, 02:16:41 am #150 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Here's something figured out with the information we have thus far.

In each job in the patcher you can set it to use a monster graphic, right?
Well, the game doesn't use that value just to detect what graphic to use on the Formation screen.
It also uses it to detect the monster type. That's why it's possible to make custom formula's that just effect dragons or bombs.

Well, As I was looking at the data the "Formation Screen Sprite Details" I noticed that there are 2 entries for Demon.
This corresponds to the list I compiled of the different "Monster Graphic" values.

Monster Graphic Values

00 - None (aka ''not a monster'')
01 - Chocobo
02 - Goblin
03 - Bonb
04 - Coeurl
05 - Mindflayer
06 - Skeleton
07 - Ghost
08 - Ahriman
09 - Cockatrice
0A - Boar
0B - Dryad
0C - Minotaur
0D - Molbor
0E - Behemoth
0F - Dragon
10 - Hydra
11 - Byblos
12 - Ophiachus
13 - Demon
14 - Demon
15 - Steel Giant
16 - "Text"
17+ seems unusable

That said, it seems like it would be easy to 're-enable' the 'missing' monster type by replacing Serpentarius and the Demon with 3 new normal sized monsters. It would just require new graphics and a readjustment of the relevant data in WORLD.BIN. What do you guys think?
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

October 08, 2009, 07:21:15 am #151 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
Quote from: "Vanya"I could always just post it myself. It'd save you the trouble of having to delete stuff.

Could that be an inherent problem with the Bearded Priest's slot?
I better review the data, 'cause I never changed that part.

the bearded priest doesn't have any problem... remember i successfully changed it in mine? Assigning both his portrait and Unit Sprite to job number 11 (gaffy enemy) it works perfectly in the job wheel as well as the battle formation assignment screen.

this seems more like a problem youd see only if your unit is a monster
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

October 08, 2009, 08:54:48 am #152 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
None of them are monsters though. baffling.
Double checked. They are all set to males.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

October 08, 2009, 11:05:32 am #153 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
so what job was it initially?

perhaps some of the jobs just cant handle that?
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

October 08, 2009, 06:17:02 pm #154 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
35, 36, & 37.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

October 09, 2009, 12:46:38 am #155 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
what if you try the same thing on say job 11 like i did, just as an experiment?
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

October 09, 2009, 12:49:00 am #156 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Yeah. I'll try that. If it does the same thing I'll try it on a fresh copy next.
You don't think it could have something to do with the UNIT.BIN editor?
I did use it to replace Bearded Priest with a Squidraken.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

October 09, 2009, 07:48:39 am #157 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
no couldn't be that, all that thing does is change the image and palette
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

November 23, 2009, 11:46:15 am #158 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
I added Cheetah's WLDFACE.BIN portrait guide to the first post.
Also, made a correction to the WORLD.BIN data. The x-coordinate for Ramza Ch.2 was wrong.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Supyosup

Whenever I open UNIT.bin in Shishi, all I get is black sprites???

I'm trying to replace my sprites on the formation screen. Help?