• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
May 17, 2024, 05:15:04 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

Zozma

May 21, 2009, 03:04:19 am #100 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
it's never happened to me so i've never seen it myself
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Xifanie

May 21, 2009, 06:33:53 am #101 Last Edit: December 31, 1969, 07:00:00 pm by Xifanie
Equipping and Can't equip are being used when you press triangle on an equip in the item list.
  • 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

Zozma

May 21, 2009, 03:23:15 pm #102 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
so you see, if you use it for another sprite your gonna be seeing parts of that character chopped up over other units. XD
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

deadlyangel91792

May 30, 2009, 02:05:46 pm #103 Last Edit: December 31, 1969, 07:00:00 pm by deadlyangel91792
i hope this isnt off topic im trying to edit the unit.bin but every time i try to put in a sprite it says not a 16 color bitmap any suggestions i made sure it was the correct facing 24x40 bmp image help???

jimmyjw88

May 30, 2009, 08:47:41 pm #104 Last Edit: December 31, 1969, 07:00:00 pm by jimmyjw88
Well, I have the same problem before, just like you ^^
If you're using GIMP, all you have to do is click the image option, choose mode, then choose indexed...
Keep in mind that of course, that image needs to be in color of 16 and voila ^^

EDIT: Wait, are talking about face inserting? Or...?

Sorry. You're talking about the sprite unit right?
Well, do the same like what I said in above, of course, you're palettes need to be correct and in 16 bits.
Kindly upload the images to other image hosting sites. I can't view imageshack. Thanks.

Cheetah

September 25, 2009, 03:54:37 am #105 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
So this was done by changing a byte in ATTACK.OUT so that Ovelia was used for Ramza in the Formation screen. This is one of the last pieces of information we were missing to be able to have complete control over custom characters. The list matches what is found for the Portrait and Palette designation in World.BIN and the value correspond to my Visual Portrait aid found a little earlier in this topic. Note that there is still on last piece of information missing in that we don't know where ATTACK.OUT is retrieving this information given just a single byte. So we are closer, but still missing a little something.

Experiment for yourself.

File: Attack.out
Offset: 0x016BB2

PS: The japanese Wiki clued me in to this info and there have been lots of updates over there recently.
Current Projects:

Zozma

September 25, 2009, 05:54:41 am #106 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
okay, to dig even deeper....

in attack out i tried to make Celia show the sprite of the generic dancer so it looks less buggy..

well then she has the male bard's portrait! i had changed value 8D into 3B (dancer) to cause this... of course 8D is celia's unit.bin portrait id
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

September 25, 2009, 08:32:29 am #107 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Isn't the value for the dancer portrait 3C?
  • Modding version: Other/Unknown
¯\(°_0)/¯

Vanya

September 25, 2009, 08:37:50 am #108 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Quote from: "Vanya"Are the words in the circle used?

I wonder if those words couldn't moved elsewhere? It would be worth the effort to have an extra Monster type. The Value for the monster type that would be in that spot is already set up after all. It just isn't used.

If we could replace the big triangle thing on top of moving the text, we could add a new large monster to Unit.bin and thus have a new monster type that could be given a sprite of it's own.

It would look something like this:
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

September 25, 2009, 09:03:27 am #109 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
i want it to display the dancer sprite, but their own portraits....

we're still missing some info i guess
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

September 25, 2009, 09:23:27 am #110 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
We should organize the info we have and add it to the wiki.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

September 25, 2009, 09:39:48 am #111 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
Quote from: "Cheetah"WLDFACE.BIN Portrait Values:

Not unknown information, but hopefully this makes it easier to read. For easy reassigning in WORLD.BIN and other locations. This should also expedite matching the portrait instruction offsets with the sprites since they don't seem to be in any recognizable order.

as you were saying, the dancer portrait is 3C,
However, i was attempting to make Celia and Lede sprites look like the Dancer sprite which seems to work as 3B, but as i was saying, thats not the problem, the problem is it shows the wrong portrait, and even if the portrait matched the dancer i still want the portraits to match Celia, and Lede.

The assassins were just tests since it seemed like a simple enough thing to do. its not like i intend to have them join, just would have been nice to make it match more. I did manage to assign the unused priest sprite to my second version of gafgarion tho, so i think finally the unused unit.bin thing isnt wasted.
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

September 25, 2009, 09:53:30 am #112 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Hmm. Maybe it's as simple as messing with other values?
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

September 25, 2009, 10:10:36 am #113 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
anyway, my ultimate goal would be to have as many of the jobs as possible appear in the menu. cram as many on the sheet as i can. it would be nice to be able to give my guests back their menu sprites. but i might only be able to do Gaffy
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Cheetah

September 25, 2009, 12:08:21 pm #114 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Most of the info is all in here Vanya, though I do have all of it in a more organized fashion. The ordering and related portrait to these values is all known. The values match up with the portrait chart I made. Then when it is just one long list they are in the same order as what I have in the description of the World.BIN instructions. I am still finding out more about this stuff and will update/complete the data when I'm sure about everything.

Oh and Vanya. That giant arrow thing is used in the formation screen to show which direction to be facing. If it is always the same, and I think it is, then we would have to figure out how to redirect all that text.
Current Projects:

Zozma

September 25, 2009, 12:31:26 pm #115 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
i wonder if there is extra room for more palettes in the unit.bin.....
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Cheetah

September 25, 2009, 12:42:42 pm #116 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
There is room for extra palettes in Unit.bin, not a whole lot but some.

PS: Only like 6 or 7 available palettes as far as i can tell, ouch. It might be possible to add more...
Current Projects:

Vanya

September 25, 2009, 02:24:15 pm #117 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
I was thinking just that about the big arrow myself, Cheetah.
I put in the 2 alternate ones just in case.
If you can figure out how to redirect that text I'm sure plenty of people would appreciate it including myself.
  • Modding version: Other/Unknown
¯\(°_0)/¯

Zozma

September 25, 2009, 05:46:33 pm #118 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
0x0ADE34 sprite assigned in unit.bin?

this is a screenshot of ramza changed from 00 to 3B..
(haha, ramza's palette is totally compatible with the dancer)



Edit: holy crap i did it, see this gafgarion?
well its actually using that unused priest sprite that wasnt attached to any job, the black haired one with the blue robe. so now job 11 uses that sprite, and job 17 is my version of rad :D

okay, so i cant believe i missed this section for so long. it would have saved me so much grief.

does anyone know the value of the last color palette used? i want to add more
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

September 25, 2009, 08:06:06 pm #119 Last Edit: December 31, 1969, 07:00:00 pm by Vanya
Alright! That does it! I'm gonna compile all this info and put it on the wiki! Yar! ^_^
  • Modding version: Other/Unknown
¯\(°_0)/¯