Junior Spellweaver
- Joined
- Oct 31, 2007
- Messages
- 192
- Reaction score
- 59
string Sprite2Name;
short U14;
short U33;
short U34;
short U35;
short U36;
short U37;
short U38;
short U39;
String UString1;
String UString2;
String UString3;
short U40;
short U41;
short U42;
short U43;
Don't forget that the first 4 pairs in the file are the number of items in the file, and the last 4 pairs are just 00. Look at an existing one, and you'll see how the first part goes.
Based on a 8 bytes line (0-7)in winhex (or other hex editing prog)
An item from Part.iff th has 64 lines
An item from Part.iff Jp has 67 lines
We're talking bytes here, not lines (this isn't Microsoft Word, I mind).
What you probably mean is that a JP part record is 528 bytes long, as opposed to the 512 bytes TH record.
Since an item name in the JP records is 64 bytes long (as opposed to the 40 bytes in TH) and we only have 528 bytes, we're short 8 bytes somewhere in the record when assuming the record has the some properties.
If you open a file with FileXplorer it will give you the size of every item in the file. This can then be used with any normal hexeditor, in my editor if i select a few bytes it shows how many bytes i have selected. tada.
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
Is JP newer then TH? if so it might be that they removed some unneeded columns which were supposed to be used for something.
Still working on it: but no i don't think so... the main difference like has said Chreadie is for the name which is longer.The use of the fields is different, they have fields for Gacha and other stuff we miss in TH.