There is a new format for text, im working on it now, but there is a few tricky parts, so if anyone interested, free to help me out, just need struct, not tools...
struct PackEntry
{
unsigned int m_fileHash;
unsigned int m_fileOffset;
unsigned int m_fileSize;
};
struct Pack
{
unsigned int m_magic;
unsigned int m_numFiles;
PackEntry[m_numFiles];
};
I'm pretty familiar with the formats for Capcom's MT Framework Engine. This is just a packed file with multiple .gmd (localisation) files.
get EXT extension
if EXT == "pck"
get DUMMY long
get FILES long
for i = 0 < FILES
get DUMMY long
get OFFSET long
get SIZE long
log "" OFFSET SIZE
next i
elif EXT == "gmd"
idstring "GMD\0"
get DUMMY long
get DUMMY long
get DUMMY long
get DUMMY long
get DUMMY long
get STRINGS long
get DUMMY long
get SIZE long
get NAMESZ long
getdstring NAME NAMESZ
get NAME basename
string NAME + ".txt"
for i = 0 < STRINGS
slog NAME -1 -1
next i
endif
Hi, i made my own tool and it can be repacked very easily.
problem is that .pck file is not all of texts in the game.
I had unpacked all of .arc files in the nativePC\rom and looks like they had same .gmd files with message.pck
it's one of sample text that i can't find any gmd files in pck
サルド
早くヤツのいる居城に向かいましょう (i found it. but i can't find サルド. it's script from サルド)
MiRiKan wrote:
サルド
早くヤツのいる居城に向かいましょう (i found it. but i can't find サルド. it's script from サルド)
I found it. Npc names are placed in bbs_rpg.arc, called NpcList.nnl
But there are more texts to find out...
As i said i have 1 click only solution for repack. But i can only share it after we are done with localization or very privately...
I can share list of all arc files where all text is... here you go:
You do not have the required permissions to view the files attached to this post.