"MoonlightBlade" couldn't extract data file header

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
duanduan
ultra-n00b
Posts: 2
Joined: Thu Mar 08, 2018 10:57 am

"MoonlightBlade" couldn't extract data file header

Post by duanduan » Wed May 23, 2018 7:50 am

Dear friends, this could be an easy task. I could even get some from the exe file, but I cannot do it in a systematic way.

---
The following sfc file in game "Moonlight Blade" contains table-like data of the game.
https://mega.nz/#!IV4yHAZB!u4zdnBV5i8YM ... efWTU2QnU4

Using this quickbms script can extract the tablebin.sfc file into many single table files.
one sample I've extracted:
https://mega.nz/#!UJJSlQAA!vZGSaabC-PXP ... RR81paPya8

I've written a simple python script to extract the bin file, the structure is quite simple so I could guess out it, just a bunch of binary data. Strings are start with one or two bytes that is the length in binary.
What I'm wondering is, how to extract the header of these tables instead of just columns of numbers and strings. I've found the headers are in the main exe file, and I could manually search and guess each header.
the following is the exe file.
https://mega.nz/#!8V5xDLib!g7Qjg98OTNDW ... hviJbIVxlM

For example, We can use 'grep' command find out the table file contains "ItemTable", and search the string in the exe, I could get a bunch of header names in "Hungarian notation", such as szName, mSize etc.
So what I need is to extract the headers with datatype from the exe, it seems many tables have nested structure which is not so easy guessing. A script would be better!
Sorry for my bad english if I didn't represent my need well.
Last edited by duanduan on Mon Oct 01, 2018 11:26 am, edited 1 time in total.

duanduan
ultra-n00b
Posts: 2
Joined: Thu Mar 08, 2018 10:57 am

Re: "MoonlightBlade" extract table file header

Post by duanduan » Mon Oct 01, 2018 11:23 am

Could anyone help me please, it could be easy. I could even guess some from the exe file, but no systematic way to do it.

Post Reply