Hi,
I want to localize this game,
but I couldn't open the file.can you help?
example
http://www.mediafire.com/download/t553j ... ch.m4b.m4b
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Myst IV -- patch.m4b how unpack and repack txt files?
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
this patch file is referencing subtitles in .bin files - such as "subtitle_p_atr2_s03_p05.bin"
does the game include those? this m4b is just a patch delta format:
does the game include those? this m4b is just a patch delta format:
Code: Select all
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: patch.m4b parser (Myst IV)
// Author: WRS (XeNTaX.com)
// Revision: 1
// Purpose: Patch parser
//--------------------------------------
#include "prelen.bt";
// Forward decl.
struct RecNode;
struct File
{
str String(plen32);
uint length;
uint offset;
Printf("[PATCHING] %s %u bytes @ %u\n", String.val, length, offset);
};
struct RecNode
{
str String(plen32);
ubyte num;
if( num > 0 )
{
RecNode children[num] <optimize=false>;
uint unknown_0; Assert(unknown_0 == 0);
}
else
{
uint files; Assert(files > 0);
File file_child[files] <optimize=false>;
}
};
struct Hd
{
// UBI_BG_SIG
str Sig(plen32);
uint unknown_0; Assert(unknown_0 == 1);
uint unknown_1; Assert(unknown_1 == 0);
ubyte num_child; Assert(num_child > 0 );
if( num_child > 0 )
{
RecNode child[num_child] <optimize=false>;
}
uint Langs;
struct Lang
{
str Lang1(plen32);
uint z, x;
Printf("%s\n", Lang1.val);
};
Lang langs_[Langs] <optimize=false>;
};
// Actual data isn't stored like this - the script just parses as an example
Hd a, b;
Useful tool links:
-
- mega-veteran
- Posts: 179
- Joined: Fri Aug 22, 2014 6:14 pm
- Has thanked: 16 times
- Been thanked: 6 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
WRS wrote:this patch file is referencing subtitles in .bin files - such as "subtitle_p_atr2_s03_p05.bin"
does the game include those? this m4b is just a patch delta format:
This is delta format. But, how can I use the code?
I have not never written a program before
Here is Original file: http://www.mediafire.com/download/yb86l ... /patch.m4b
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
it's a template for 010 editor - http://www.sweetscape.com/010editor/
that patch.m4b is the same as the one you posted above!!!!! post a sample of the .bin files
that patch.m4b is the same as the one you posted above!!!!! post a sample of the .bin files
Useful tool links:
-
- mega-veteran
- Posts: 179
- Joined: Fri Aug 22, 2014 6:14 pm
- Has thanked: 16 times
- Been thanked: 6 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
other game the file size is 300MB. also I threw that single file language file. And to use 010editor, unfortunately I don't know. Do you have the possibility to export in the form of more detailed or CMD codeWRS wrote:it's a template for 010 editor - http://www.sweetscape.com/010editor/
that patch.m4b is the same as the one you posted above!!!!! post a sample of the .bin files
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
the script just arranges the file contents:Taner038 wrote:other game the file size is 300MB. also I threw that single file language file. And to use 010editor, unfortunately I don't know. Do you have the possibility to export in the form of more detailed or CMD codeWRS wrote:it's a template for 010 editor - http://www.sweetscape.com/010editor/
that patch.m4b is the same as the one you posted above!!!!! post a sample of the .bin files
it just contains patch information. if you want to unpack the language files you need to give a language file. the patch information says these are bin files. without them i can't do anything
Useful tool links:
-
- mega-veteran
- Posts: 179
- Joined: Fri Aug 22, 2014 6:14 pm
- Has thanked: 16 times
- Been thanked: 6 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
Ok. I will send the shortest time. Thanx again. You're good man.WRS wrote:the script just arranges the file contents:Taner038 wrote:other game the file size is 300MB. also I threw that single file language file. And to use 010editor, unfortunately I don't know. Do you have the possibility to export in the form of more detailed or CMD codeWRS wrote:it's a template for 010 editor - http://www.sweetscape.com/010editor/
that patch.m4b is the same as the one you posted above!!!!! post a sample of the .bin files
it just contains patch information. if you want to unpack the language files you need to give a language file. the patch information says these are bin files. without them i can't do anything
-
- mega-veteran
- Posts: 179
- Joined: Fri Aug 22, 2014 6:14 pm
- Has thanked: 16 times
- Been thanked: 6 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
I can get the language files of the game by using the rival tools.
letters with a hex editor I can transfer it on the screen and also the game looks.
The file I dropped this translation can be made.
The problem is that letters have a limit.
Rival tools here: https://www.sendspace.com/file/fhdkxq
these tools unpack the language files but can't repack.
I have to repack tools.
@WRS
letters with a hex editor I can transfer it on the screen and also the game looks.
The file I dropped this translation can be made.
The problem is that letters have a limit.
Rival tools here: https://www.sendspace.com/file/fhdkxq
these tools unpack the language files but can't repack.
I have to repack tools.
@WRS
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
how do you know this if you can't repack stuff?Taner038 wrote:The problem is that letters have a limit.
Useful tool links:
-
- mega-veteran
- Posts: 179
- Joined: Fri Aug 22, 2014 6:14 pm
- Has thanked: 16 times
- Been thanked: 6 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
I'm using hex editor.WRS wrote:how do you know this if you can't repack stuff?Taner038 wrote:The problem is that letters have a limit.
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
Taner038 wrote:I can get the language files of the game by using the rival tools.
letters with a hex editor I can transfer it on the screen and also the game looks.
The file I dropped this translation can be made.
The problem is that letters have a limit.
Rival tools here: https://www.sendspace.com/file/fhdkxq
these tools unpack the language files but can't repack.
I have to repack tools.
@WRS
the java decompilers are horrible. uploate the resource somewhere and i'll take a look at the actual data. no point porting bytecode
Useful tool links:
-
- mega-veteran
- Posts: 179
- Joined: Fri Aug 22, 2014 6:14 pm
- Has thanked: 16 times
- Been thanked: 6 times
Re: Myst IV -- patch.m4b how unpack and repack txt files?
if you could find a solution it would make me very happy.WRS wrote: the java decompilers are horrible. uploate the resource somewhere and i'll take a look at the actual data. no point porting bytecode
translation with a hex editor sucks :s :s