XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Tue Jul 17, 2018 7:09 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: "MoonlightBlade" extract table file header
PostPosted: Wed May 23, 2018 7:50 am 
Offline
ultra-n00b

Joined: Thu Mar 08, 2018 10:57 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time

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 grep 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.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: "MoonlightBlade" extract table file header
PostPosted: Fri Jul 06, 2018 3:08 pm 
Offline
ultra-n00b

Joined: Thu Mar 08, 2018 10:57 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
May someone help me? Or if I didn't express it well? I'll edited my post.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group