• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
May 01, 2024, 08:18:50 am

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Unit.bin

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

Seushiro

September 25, 2009, 08:07:18 pm #120 Last Edit: December 31, 1969, 07:00:00 pm by Seushiro
That would be great Vanya. . . I salute you in ur reorganization effort. . . I too should follow ur efforts in reorganizing my threads main page. . .

Cheetah

September 25, 2009, 08:50:03 pm #121 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Vanya I'm telling you I have it already. Just give me a few days and I will see if I can find the last of the missign stuff. You would just be redoing a lot of work, especially since some of my previously posted info is outdated/incorrect.
Current Projects:

Vanya

September 25, 2009, 09:13:18 pm #122 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Oh, right, Duh! Ok! I'll be waiting in anticipation! ^_^
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

September 25, 2009, 10:33:21 pm #123 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
this topic so deserved more attention, but i dont think enough ppl understand it.

somethings missing... but what exactly? something with the unit placement screen?
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

September 25, 2009, 10:57:58 pm #124 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
I guess we'll see soon enough when Cheetah finishes compiling his data.
  • Modding version: Other/Unknown
¯\(°_0)/¯

jimmyjw88

September 26, 2009, 07:56:17 am #125 Last Edit: December 31, 1969, 07:00:00 pm by jimmyjw88
About the unuse sprite slots, how many are there actually? In WLDFACE.bin, there are some unknown portrait, like that black hair and blue robe priest and more. So are those unused have been fully utilised now? I mean with that restructured ISO by that latest Shishi...
Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.

Vanya

September 27, 2009, 04:39:43 pm #126 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Well, any sprite that doesn't normally join your party is unused. The Black haired Priest (who is Kanbabrif, apparently) is the only one not linked to a sprite. I'm not sure about WLDFACE.bin.
  • Modding version: Other/Unknown
¯\(°_0)/¯

LastingDawn

September 27, 2009, 05:09:04 pm #127 Last Edit: December 31, 1969, 07:00:00 pm by LastingDawn
Are you sure you didn't mean Kasanem, Vanya? Also in your theory wasn't that young Simon?
"Moment's anger can revert to joy,
sadness can be turned to delight.
A nation destroyed cannot be restored,
the dead brought back to life."

Art of War

Beta & Gretchen Forever!!!!

Vanya

September 27, 2009, 05:13:02 pm #128 Last Edit: September 27, 2009, 05:14:24 pm by Vanya
Kasanem is an unused sprite file. It doesn't have any representation in UNIT.bin. I thought he was refering to the images in Unit.bin.

That was my theory, but I thought I read somewhere that that is the original sprite for Kanbabrif.
Supposedly it shows up in exactly one scene.
Either that or I imagined it all.
  • Modding version: Other/Unknown
¯\(°_0)/¯

LastingDawn

September 27, 2009, 05:14:11 pm #129 Last Edit: December 31, 1969, 07:00:00 pm by LastingDawn
Haha, you did... that sprite never shows up in the normal game. But I think he does have a startling similarity to Kasanem, if you look at his sprite in it's original colors.
"Moment's anger can revert to joy,
sadness can be turned to delight.
A nation destroyed cannot be restored,
the dead brought back to life."

Art of War

Beta & Gretchen Forever!!!!

Vanya

September 27, 2009, 05:28:11 pm #130 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Well, I still maintain that kasanem and kasanek are some sort of repository for WIP sprites.

Anyway I had a close look at the priest in kasanem, and he does look similar to the "Young Simon" image, but it is definitely different.
He has the same style of costume as the rest of the priest characters but with seeming differences in palette organization. Also, the hair and mustache are different. He has more of a goatee style with a smaller 'stache.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

September 27, 2009, 11:44:51 pm #131 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
Quote from: "Vanya"Well, any sprite that doesn't normally join your party is unused. The Black haired Priest (who is Kanbabrif, apparently) is the only one not linked to a sprite. I'm not sure about WLDFACE.bin.

well that black haired priest is the only unlinked one, but for me, not anymore :) i have made full use of the entire unit.bin file
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

jimmyjw88

September 28, 2009, 12:23:18 am #132 Last Edit: December 31, 1969, 07:00:00 pm by jimmyjw88
Oh, so have to edit at the UNIT.bin file? So, we just replace that black haired priest sprite = replaced? Or it doesn't work that way?
Also, is there a way to use those Guest sprites as our own for special units? Like after Gafgarion's betrayal and the his guest's sprite isn't used anymore and we want to use his guest's sprite slot for our own special sprite, is it possible?
Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.

Cheetah

September 28, 2009, 12:59:50 am #133 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
There is already an Unit.BIN graphic editor made by the Japanese Jimmy, it is on the downloads page I believe. Melonhead was awesome enough to translate it. Other than that I have no idea what you are saying. This topic is about changing the code that is assigning where a character is getting their unit.bin graphic from, editing Unit.BIN itself is easy and already being done.
Current Projects:

Zozma

September 28, 2009, 03:20:23 am #134 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
hes referring to that specific priest that isnt assigned to any job

but its so easy to change it with all the provided information in this topic
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

jimmyjw88

September 28, 2009, 05:02:02 am #135 Last Edit: December 31, 1969, 07:00:00 pm by jimmyjw88
Ah, sorry about that. I'll go through the posts before asking questions again. Thanks so much and sorry for the troubles. ^^
Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.

Cheetah

October 01, 2009, 01:02:52 am #136 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Formation and Job Wheel Portraits
WORLD.BIN
0xAA8BA - 0xAAA5B

Notes:
- Order matches Sprite order in FFTPatcher
- Values correspond to WLDFACE.BIN
- Identical data found in three different places in WORLD.BIN

1 = Portrait in relation to WLDFACE.BIN
2 = Null? (always 00)

1   2
00 00
01 00
02 00
03 00
78 00
79 00
04 00
7A 00
7B 00
7C 00
7D 00
05 00
06 00
7E 00
07 00
7F 00
0D 00
09 00
0A 00
0B 00
0C 00
13 00
0D 00
81 00
0E 00
0F 00
82 00
10 00
83 00
17 00
11 00
85 00
12 00
13 00
86 00
87 00
88 00
89 00
8A 00
12 00
0E 00
14 00
8B 00
15 00
8D 00
8E 00
14 00
15 00
8C 00
16 00
00 00
17 00
00 00
00 00
00 00
00 00
00 00
8D 00
8E 00
8F 00
00 00
90 00
00 00
91 00
00 00
00 00
92 00
00 00
93 00
00 00
00 00
18 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
19 00
1A 00
1B 00
1C 00
1D 00
1E 00
1F 00
20 00
21 00
22 00
23 00
24 00
25 00
26 00
27 00
28 00
29 00
2A 00
2B 00
2C 00
2D 00
2E 00
2F 00
30 00
31 00
32 00
33 00
34 00
35 00
36 00
37 00
38 00
39 00
3A 00
3B 00
3C 00
3D 00
3E 00
3F 00
40 00
41 00
42 00
43 00
44 00
45 00
46 00
47 00
48 00
49 00
4A 00
4B 00
4C 00
4D 00
4E 00
4F 00
50 00
00 00
51 00
52 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
71 00
72 00
73 00
74 00
75 00
76 00
77 00




Formation Sprite Palette
WORLD.BIN
0xAA16A - 0xAA30A

Notes:
- Order matches Sprite order in FFTPatcher
- Numbering matches order of UNIT.BIN (some exceptions)
- Values correspond to WLDFACE.BIN
- Identical data found in three different places in WORLD.BIN

1 = Portrait in relation to WLDFACE.BIN
2 = Null? (always 00)

1   2
00 00
01 00
02 00
03 00
78 00
79 00
04 00
7A 00
7B 00
7C 00
7D 00
05 00
06 00
7E 00
07 00
7F 00
0D 00
09 00
0A 00
0B 00
0C 00
13 00
0D 00
81 00
0E 00
0F 00
82 00
10 00
83 00
17 00
11 00
85 00
12 00
13 00
86 00
87 00
88 00
89 00
8A 00
12 00
0E 00
14 00
8B 00
15 00
8D 00
8E 00
14 00
15 00
8C 00
16 00
00 00
17 00
00 00
00 00
00 00
00 00
00 00
8D 00
8E 00
8F 00
00 00
90 00
00 00
91 00
00 00
00 00
92 00
00 00
93 00
00 00
00 00
18 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
19 00
1A 00
1B 00
1C 00
1D 00
1E 00
1F 00
20 00
21 00
22 00
23 00
24 00
25 00
26 00
27 00
28 00
29 00
2A 00
2B 00
2C 00
2D 00
2E 00
2F 00
30 00
31 00
32 00
33 00
34 00
35 00
36 00
37 00
38 00
39 00
3A 00
3B 00
3C 00
3D 00
3E 00
3F 00
40 00
41 00
42 00
43 00
44 00
45 00
46 00
47 00
48 00
49 00
4A 00
4B 00
4C 00
4D 00
4E 00
4F 00
50 00
00 00
51 00
52 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
71 00
72 00
73 00
74 00
75 00
76 00
77 00




Formation Screen Sprite Details
WORLD.BIN
0x0ADA44 - 0x0ADE33

1 = X Coordinate in Hex relating to UNIT.BIN
2 = 00 (always)
3 = Y Coordinate in Hex relating to UNIT.BIN
4 = 00 (always)
5 = Width, 18 for Human, 30 for big monsters
6 = 00 (always)
7 = Height, 28 for Human, 30 for big monsters
8 = 00 (always)
9 = Palette for Job Wheel Part 1
10 = Palette for Job Wheel Part 2
11 = 64 for Humanoid section (starts with Ramza), 65 for Monster section (starts with Male Mime)
12 = 00 (always)




1   2   3   4   5  6   7   8  9   10 11 12
00 00 00 00 18 00 28 00 14 38 64 00    Ramza1
60 00 00 00 18 00 28 00 15 38 64 00    Ramza2
30 00 00 00 18 00 28 00 16 38 64 00    Ramza3
48 00 00 00 18 00 28 00 17 38 64 00    Delita1
60 00 00 00 18 00 28 00 54 38 64 00    Algus
78 00 00 00 18 00 28 00 55 38 64 00    Ovelia
90 00 00 00 18 00 28 00 56 38 64 00    Orlandu
A8 00 00 00 18 00 28 00 57 38 64 00    Reis
C0 00 00 00 18 00 28 00 94 38 64 00    Priest1
D8 00 00 00 18 00 28 00 95 38 64 00 Priest2
00 00 28 00 18 00 28 00 96 38 64 00    Priest3
18 00 28 00 18 00 28 00 97 38 64 00    Priest4
30 00 28 00 18 00 28 00 D4 38 64 00 Olan
48 00 28 00 18 00 28 00 D5 38 64 00 Gafgarion
60 00 28 00 18 00 28 00 D6 38 64 00 Rafa
78 00 28 00 18 00 28 00 D7 38 64 00 Malak
90 00 28 00 18 00 28 00 14 39 64 00    Unknown Girl (in Teta's spot)
A8 00 28 00 18 00 28 00 15 39 64 00    Beowulf
C0 00 28 00 18 00 28 00 16 39 64 00    Balmafula
D8 00 28 00 18 00 28 00 17 39 64 00 Mustadio
00 00 50 00 18 00 28 00 54 39 64 00    Meliadoul
18 00 50 00 18 00 28 00 55 39 64 00    Alma
30 00 50 00 18 00 28 00 56 39 64 00    Cloud
48 00 50 00 18 00 28 00 57 39 64 00    Agrias
60 00 50 00 18 00 28 00 94 39 64 00    SquireM
78 00 50 00 18 00 28 00 95 39 64 00    SquireF
90 00 50 00 18 00 28 00 96 39 64 00    ChemistM
A8 00 50 00 18 00 28 00 97 39 64 00    ChemistF
C0 00 50 00 18 00 28 00 D4 39 64 00 KnightM
D8 00 50 00 18 00 28 00 D5 39 64 00 KnightF
00 00 78 00 18 00 28 00 D6 39 64 00 ArcherM
18 00 78 00 18 00 28 00 D7 39 64 00 ArcherF
30 00 78 00 18 00 28 00 14 3A 64 00    MonkM
48 00 78 00 18 00 28 00 15 3A 64 00    MonkF
60 00 78 00 18 00 28 00 16 3A 64 00    WhiteMageM
78 00 78 00 18 00 28 00 17 3A 64 00    WhiteMageF
90 00 78 00 18 00 28 00 54 3A 64 00    BlackMageM
A8 00 78 00 18 00 28 00 55 3A 64 00    BlackMageF
C0 00 78 00 18 00 28 00 56 3A 64 00 TimeMageM
D8 00 78 00 18 00 28 00 57 3A 64 00 TimeMageF
00 00 A0 00 18 00 28 00 94 3A 64 00    SummonerM
18 00 A0 00 18 00 28 00 95 3A 64 00    SummonerF
30 00 A0 00 18 00 28 00 96 3A 64 00    ThiefM
48 00 A0 00 18 00 28 00 97 3A 64 00    ThiefF
60 00 A0 00 18 00 28 00 D4 3A 64 00 MediatorM
78 00 A0 00 18 00 28 00 D5 3A 64 00 MediatorF
90 00 A0 00 18 00 28 00 D6 3A 64 00 OracleM
A8 00 A0 00 18 00 28 00 D7 3A 64 00 OracleF
C0 00 A0 00 18 00 28 00 14 3B 64 00 GeomancerM
D8 00 A0 00 18 00 28 00 15 3B 64 00 GeomancerF
00 00 C8 00 18 00 28 00 16 3B 64 00   DragoonM
18 00 C8 00 18 00 28 00 17 3B 64 00   DragoonF
30 00 C8 00 18 00 28 00 54 3B 64 00   SamuraiM
48 00 C8 00 18 00 28 00 55 3B 64 00   SamuraiF
60 00 C8 00 18 00 28 00 56 3B 64 00   NinjaM
78 00 C8 00 18 00 28 00 57 3B 64 00   NinjaF
90 00 C8 00 18 00 28 00 94 3B 64 00   CalculatorM
A8 00 C8 00 18 00 28 00 95 3B 64 00   CalculatorF
C0 00 C8 00 18 00 28 00 96 3B 64 00   Bard
D8 00 C8 00 18 00 28 00 97 3B 64 00   Dancer
00 00 00 00 18 00 28 00 D4 3B 65 00   MimeM
18 00 00 00 18 00 28 00 D5 3B 65 00   MimeF
00 00 28 00 30 00 30 00 54 32 65 00    Chocobo
30 00 00 00 18 00 28 00 D6 31 65 00   Goblin
30 00 28 00 30 00 30 00 55 32 65 00    Bomb
90 00 28 00 30 00 30 00 57 32 65 00    Cuar
48 00 00 00 18 00 28 00 D7 31 65 00   Mindflyer
60 00 00 00 18 00 28 00 14 32 65 00    Skeleton
60 00 28 00 30 00 30 00 56 32 65 00    Ghouls
78 00 00 00 18 00 28 00 15 32 65 00    Ahrimans
90 00 00 00 18 00 28 00 16 32 65 00    Juravis
A8 00 00 00 18 00 28 00 17 32 65 00    Uribo
C0 00 28 00 30 00 30 00 94 32 65 00    Woodman
00 00 58 00 30 00 30 00 95 32 65 00    Bull Demon
30 00 58 00 30 00 30 00 96 32 65 00    Morbol
60 00 58 00 30 00 30 00 97 32 65 00    Behemoth
90 00 58 00 30 00 30 00 D4 32 65 00 Dragon
C0 00 58 00 30 00 30 00 D5 32 65 00   Hyudra
00 00 88 00 30 00 30 00 D6 32 65 00   Apanda
30 00 88 00 30 00 30 00 D6 32 65 00   Serpentarius
60 00 88 00 30 00 30 00 17 33 65 00    Archaic Demo
60 00 88 00 30 00 30 00 17 33 65 00    Ultima Demons
90 00 88 00 30 00 30 00 14 33 65 00    Iron Giant
C0 00 88 00 30 00 30 00 15 33 65 00    ?Text?


Special Unit Formation Location Assignment
WORLD.BIN
0x0ADE35

Notes:
- Order matches Job order in FFTPatcher
- Reads details from Formation Screen Sprite Details 0x0ADA44 - 0x0ADE33
- Does not affect palette
- Values match WLDFACE.BIN
- In Job Wheel selection correct palette is used (reason unknown)
- Does not affect anything in Battle Preporation
- Does not affect Portrait
- Presumably ends when reaching the generic jobs

00    Ramza1
01    Ramza2
02    Ramza3
03    Delita1
00
00
04    Algus
00
00
00
00
05    Ovelia
06    Cid
00
07    Reis
00
0D    Gafgarion
09    Zalmo
0A    Funeral
0B    Unknown Priest2
0C    Olan
13    Mustadio
0D    Gafgarion (again)
00    
0E    Rafa
0F    Malak
00
10    Teta
00
17    Agrias
11    Beowulf
12    Balmafula
12    Balmafula
13    Mustadio
00
00
00
00
00
12    Balmafula
0E    Rafa
14    Meliadoul
00
15    Alma
00
00
14    Meliadoul
15    Alma
00
16    Cloud
00
17    Agrias
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00




Battle Formation Screen Assignment
ATTACK.OUT
0x016BB3 - 0x016D53

Notes:
- Identical to the order and values found in WORLD.BIN
- Controls Sprite, Portrait, and Palette

1 = Character assignments
2 = Null? (always 00)

1   2
00 00
01 00
02 00
03 00
78 00
79 00
04 00
7A 00
7B 00
7C 00
7D 00
05 00
06 00
7E 00
07 00
7F 00
0D 00
09 00
0A 00
0B 00
0C 00
13 00
0D 00
81 00
0E 00
0F 00
82 00
10 00
83 00
17 00
11 00
85 00
12 00
13 00
86 00
87 00
88 00
89 00
8A 00
12 00
0E 00
14 00
8B 00
15 00
8D 00
8E 00
14 00
15 00
8C 00
16 00
00 00
17 00
00 00
00 00
00 00
00 00
00 00
8D 00
8E 00
8F 00
00 00
90 00
00 00
91 00
00 00
00 00
92 00
00 00
93 00
00 00
00 00
18 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
19 00
1A 00
1B 00
1C 00
1D 00
1E 00
1F 00
20 00
21 00
22 00
23 00
24 00
25 00
26 00
27 00
28 00
29 00
2A 00
2B 00
2C 00
2D 00
2E 00
2F 00
30 00
31 00
32 00
33 00
34 00
35 00
36 00
37 00
38 00
39 00
3A 00
3B 00
3C 00
3D 00
3E 00
3F 00
40 00
41 00
42 00
43 00
44 00
45 00
46 00
47 00
48 00
49 00
4A 00
4B 00
4C 00
4D 00
4E 00
4F 00
50 00
00 00
51 00
52 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
71 00
72 00
73 00
74 00
75 00
76 00
77 00
Current Projects:

Cheetah

October 01, 2009, 01:09:17 am #137 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Have fun scrolling through that. I will try getting it up on the Wiki once it is a bit more organized. So basically the coolest things you can with this is create new Special Characters that should show up correctly everywhere with some reassigning and graphic editing. That's for you Zozma. You have to be careful because some of the data is reading from other areas and you have to make sure to change it all correctly, but it should work quite nicely.

Things missing. There is still some info missing for the Battle Preparation screen, most likely in ATTACK.OUT. Basically you can change the values and do some graphic editing so that you can make anyone look like anyone, but I don't know where the info is that is assigning one value to affect so many different areas. So it would be nice to differentiate where the Spite/Portrait/Palette info is getting pulled from, because in WORLD.BIN there is a clear distinction.

I'm pretty positive about all this info, but tell me if I have made any mistakes or if you find new info.
Current Projects:

Vanya

October 01, 2009, 01:18:06 am #138 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
I'm on it! I'll try adding some special units and report any problems.
  • Modding version: Other/Unknown
¯\(°_0)/¯

jimmyjw88

October 01, 2009, 02:18:41 am #139 Last Edit: December 31, 1969, 07:00:00 pm by jimmyjw88
Whoa....That's.....LLLOOONNNGGG.....Haha. I'll slowly read through to understand this unit.bin.
Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.