Author Topic: [FF8] mngrp.bin  (Read 6367 times)

JWP

  • *
  • Posts: 194
    • View Profile
[FF8] mngrp.bin
« on: 2016-08-15 21:08:55 »
I had a quick look at mngrp.bin and it looks like it contains a bunch of different sections.
All of the sections in mngrp.bin are listed in the mngrphd.bin file in the following format:
DWORD offset //this is +1 from the actual offset
DWORD size

also some of the data appears to be duplicate data from other files, the file looks something like this:
Code: [Select]
0x000000 tkmnmes1.bin - 0x00
0x000800 tkmnmes2.bin - 0x01
0x002000 tkmnmes3.bin - 0x02
0x004000 ?
0x012000 ? - 0x07
0x013000 ? - character portraits - 0x09
0x019800 ? - GF portraits - 0x0A
0x020000 magita.tim - 0x0C
0x020800 ? - title screen - start00.tim?
0x02E800 ? - weapons
0x03B000 mag07.tim - 0x18
0x047800 mag00.tim - duplicate of 0x02E800?
0x054000 mag01.tim
0x060800 mag02.tim
0x06D000 mag03.tim
0x079800 mag04.tim
0x086000 mag05.tim
0x092800 mag06.tim
0x09F000 mag08.tim- 0x2C
0x0AB800 mag09.tim
0x0B8000 mc00.tim - 0x30
0x0C4800 mc01.tim - 0x31
0x0D1000 mc02.tim - 0x32
0x0DD800 mc03.tim - 0x33
0x0EA000 mc04.tim - 0x34
0x0F6800 mc05.tim - 0x35
0x103000 mc06.tim - 0x36
0x10F800 mc07.tim - 0x37
0x11C000 mc08.tim - 0x38
0x128800 mc09.tim - 0x39
0x135000 ? - playstation controls - field
0x146800 ? - playstation controls - world map
0x158000 ? - playstation controls - battle
0x169800 mag10.tim - 0x47
0x176000 mag11.tim - 0x48
0x182800 mag12.tim - 0x49
0x18F000 mag13.tim - 0x4A
0x19B800 mag14.tim - 0x4B
0x1A8000 ? - text - 0x57
0x1AB000 ? - text - 0x58
0x1AB800 ? - text - 0x59
0x1AC800 ? - text
0x1AD800 ? - text - 0x5F
0x1AE000 ? - text - 0x60
0x1AE800 ? - text
0x1AF000 ? - text
0x1AF800 ? - text
0x1B0000 ? - text
0x1B0800 ? - text
0x1B1000 ? - text
0x1B1800 ? - text
0x1B2000 ? - text
0x1B2800 ? - text
0x1B3000 ? - text
0x1B3800 ? - text
0x1B4000 ? - text
0x1B4800 ? - text
0x1B5000 ? - text
0x1B5800 ? - text
0x1B6000 ? - text
0x1B6800 ? - text
0x1B7000 ? - text
0x1B7800 ? - text
0x1B8000 ? - text
0x1B8800 ? - text
0x1B9000 ? - text
0x1B9800 ? - text
0x1BA000 ? - text
0x1BA800 ? - text
0x1BB000 ? - text
0x1BB800 ? - text
0x1BC000 ? - text
0x1BC800 ? - text
0x1BD000 ? - text
0x1BD800 ? - 0x7F - used in information section
0x1BE000 ? - text, unknown format - 0x80 - used in information section
0x1C2800 ? - text, unknown format - 0x81
0x1C6800 ? - text, unknown format - 0x82
0x1CB000 ? - text, unknown format - 0x83
0x1CF000 ? - text, unknown format - 0x84
0x1D1800 ? - text, unknown format - 0x85
0x1D6000 ? - text, unknown format
0x1D7000 ? - text, unknown format
0x1D7800 ? - text, unknown format
0x1D8000 ? - text, unknown format
0x1D8800 ? - text, unknown format
0x1D9000 ? - text, unknown format
0x1D9800 ? - text, unknown format
0x1DA000 ? - text, unknown format - 0xA7
0x1DA800 ?
0x1DB000 ?
0x1DB800 ?
0x1DC000 ?
0x1DC800 ?
0x1DD000 ?
0x1DD800 ?
0x1DE000 ? - 0xAF
0x1DE800 ? - 0xB0
0x1DF000 ? - text with binary data - 0xB1
0x1DF800 ? - 0xB2
0x1E0000 ? - text with binary data -0xB3
0x1E0800 ? - chocobo world cartoon
0x1ED000 ? - chocobo world help
0x1F9800 mag17.tim - 0xB6
0x206000 ? - chocobo world cartoon
0x212800 ? - duplicate of 0x206000
0x21F000 m000.bin
0x21F800 m001.bin
0x220000 m002.bin
0x220800 m003.bin
0x221000 m004.bin
0x221800 m000.msg
0x223000 m001.msg
0x225000 m002.msg
0x225800 m003.msg
0x226000 m004.msg
0x227800 ? - text - 0xCC
0x228000 ? - 0xCD

I'll do a bit more digging into the file but it'll probably take a while. If anyone has any other information, feel free to reply :).
There's also a bunch of tim files in there, the names of these are in the exe. e.g. I think 0x13000 is Face_b00/b01.tim and 0x19800 is Gf_big00/01.tim, I'll need to do a bit more looking into this.
« Last Edit: 2016-08-17 11:41:09 by JWP »

Girl next door

  • *
  • Posts: 144
    • View Profile
Re: [FF8] mngrp.bin
« Reply #1 on: 2016-08-18 12:00:56 »
Thanks for the investigation. It seems that the effect of the items aren't in this file, am I wrong ?

JWP

  • *
  • Posts: 194
    • View Profile
Re: [FF8] mngrp.bin
« Reply #2 on: 2016-08-18 12:07:12 »
they're probably in mitem.bin. Each item in that file has 4 bytes allocated to it in order of their ID.
I think the first 4 bytes is a null item, second 4 is potion and so on...

Girl next door

  • *
  • Posts: 144
    • View Profile
Re: [FF8] mngrp.bin
« Reply #3 on: 2016-08-19 00:18:57 »
Thanks for that also, I did all I wanted to do, many thanks again. ;)

Callisto

  • *
  • Posts: 303
    • View Profile
Re: [FF8] mngrp.bin
« Reply #4 on: 2016-08-26 19:20:14 »
As stated in the other thread, mngrp.bin contains all the Card Mod results starting at offset 0x221000. The other Refine ability results are in there as well:

Code: [Select]
T Mag-RF: 0x21F000
I Mag-RF: 0x21F038
F Mag-RF: 0x21F070
L Mag-RF: 0x21F0C0
Time Mag-RF: 0x21F168
ST Mag-RF: 0x21F1D8
Supt Mag-RF: 0x21F260
Forbid Mag-RF: 0x21F300
Recov Med-RF: 0x21F800
ST Med-RF: 0x21F848
Ammo-RF: 0x21F8A8
Forbid Med-RF: 0x21F928
GFRecov Med-RF: 0x21F9C8
GFAbl Med-RF: 0x21FA28
Tool-RF: 0x21FB78
Mid Mag-RF: 0x220000
High Mag-RF: 0x220020
Med LV Up: 0x220800

The structure is pretty simple once you see it. There are 8 bytes per item. You need to know about Item and Spell ID's though.
« Last Edit: 2016-08-26 20:57:19 by Callisto »

JWP

  • *
  • Posts: 194
    • View Profile
Re: [FF8] mngrp.bin
« Reply #5 on: 2016-08-26 19:46:24 »
are you sure those offsets are correct?

I ask mostly because the card data in my version starts at 0x221000 (this offset being pulled from mngrphd.bin) - the first two bytes being a text pointer of 00 00 - which could easily be misinterpreted as null data.

Using the offsets listed in Doomtrain (these are more like entry ids as opposed to offsets) I get the following:
Code: [Select]
Using 0x21F000 m000.bin
0x21F000-0x21F038 - T Mag-RF
0x21F038-0x21F070 - I Mag-RF
0x21F070-0x21F0C0 - F Mag-RF
0x21F0C0-0x21F168 - L Mag-RF
0x21F168-0x21F1D8 - Time Mag-RF
0x21F1D8-0x21F260 - ST Mag-RF
0x21F260-0x21F300 - Supt Mag-RF
0x21F300-0x21F330 - Forbid Mag-RF

Using 0x21F800 m001.bin
0x21F800-0x21F848 - Recov Med-RF
...
« Last Edit: 2016-08-26 20:44:58 by JWP »

Callisto

  • *
  • Posts: 303
    • View Profile
Re: [FF8] mngrp.bin
« Reply #6 on: 2016-08-26 20:17:18 »
Yes, the card offset I mentioned is slightly off as I ignored the 00 00 text pointer indeed. My bad.

The others are probably +2 ahead too. Might have accidentally ignored the first two bytes of each item as they are completely irrelevant for my work. Will check again later.

Edit: Alright, it was as I thought, thanks for the heads-up. Offsets are now updated and should be 100% correct.
« Last Edit: 2016-08-28 14:19:56 by Callisto »

Girl next door

  • *
  • Posts: 144
    • View Profile
Re: [FF8] mngrp.bin
« Reply #7 on: 2016-09-07 19:09:37 »
Hi !

Do you know where is stored the scan text for ennemies ? I believed it was in the com***.dat but no, I can't find it

Callisto

  • *
  • Posts: 303
    • View Profile
Re: [FF8] mngrp.bin
« Reply #8 on: 2016-09-07 19:35:16 »
It's in the .exe. For making changes, you can use the mngrp.bin tool mentioned in the Card & Menu text topic. Or do it manually using this table. Starting offset is at 0x1483A14 for English Steam version.
« Last Edit: 2016-09-07 19:38:34 by Callisto »

Girl next door

  • *
  • Posts: 144
    • View Profile
Re: [FF8] mngrp.bin
« Reply #9 on: 2016-09-07 20:09:37 »
Thanks !