Page 1 of 1
Prince Of Persia mgb files tools
Posted: Thu Jan 26, 2017 3:50 pm
by Castellanos
Hi. Who can help with import and export text from the game Prince Of Persia The Two Thrones.
Can you help me edit this kind of text file?
Example file:
http://rgho.st/764pPDm5z
Re: Prince Of Persia mgb files tools
Posted: Sat Jan 28, 2017 4:50 pm
by WRS
Code: Select all
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: menu.mgb
// Author: wrs
// Revision: 1
// Purpose: mgb parser
//--------------------------------------
LittleEndian();
char hdr[4]; // "MAGM"
uint unknown_52545;
uint unknown_4011;
ushort unknown;
ushort width; // 640
ushort height; // 480
FSeek(250); // ??
uint num_1;
FSeek(256+7);
uint num;
Assert(num==num_1);
struct {
uint unknown;
uint strlen;
wchar_t str[strlen];
Printf("%08x : %s\n", unknown, str);
} strs[num] <optimize=false>;
uint unknown_0;
Assert(FEof());
any more samples?
0bf8fb9d : Do you want to save the game?
134c1ea7 : No
8b47c8e9 : Yes
5c4bc0d4 : Press \d0\ to continue
5fef09c1 : Current progress will be lost.\nAre you sure you want to quit?
fd2ab57b : Continue without saving.\n\nAre you sure ?
92468a18 : A saved game already exist at this location.\nDo you want to overwrite it?
e787905c : Saving the game…\nPlease do not turn off your PlayStation®3 system.
cae8e55e : Item Cost: %d Sand Credits
fd9b3c29 : Unlocked Collectible
f4cf3754 : You do not have sufficient Sand Credits to view this item.
361280fe : Are you sure you wish to spend %d Sand Credits to purchase and view this item?
79bb0d7d : Unlocked Collectible
fee5909f : The selected Extra Feature could not be located. Please ensure that you have installed all Extra Features by choosing a Complete installation.
Re: Prince Of Persia mgb files tools
Posted: Sat Jan 28, 2017 11:37 pm
by Castellanos
WRS wrote:Code: Select all
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: menu.mgb
// Author: wrs
// Revision: 1
// Purpose: mgb parser
//--------------------------------------
LittleEndian();
char hdr[4]; // "MAGM"
uint unknown_52545;
uint unknown_4011;
ushort unknown;
ushort width; // 640
ushort height; // 480
FSeek(250); // ??
uint num_1;
FSeek(256+7);
uint num;
Assert(num==num_1);
struct {
uint unknown;
uint strlen;
wchar_t str[strlen];
Printf("%08x : %s\n", unknown, str);
} strs[num] <optimize=false>;
uint unknown_0;
Assert(FEof());
any more samples?
0bf8fb9d : Do you want to save the game?
134c1ea7 : No
8b47c8e9 : Yes
5c4bc0d4 : Press \d0\ to continue
5fef09c1 : Current progress will be lost.\nAre you sure you want to quit?
fd2ab57b : Continue without saving.\n\nAre you sure ?
92468a18 : A saved game already exist at this location.\nDo you want to overwrite it?
e787905c : Saving the game…\nPlease do not turn off your PlayStation®3 system.
cae8e55e : Item Cost: %d Sand Credits
fd9b3c29 : Unlocked Collectible
f4cf3754 : You do not have sufficient Sand Credits to view this item.
361280fe : Are you sure you wish to spend %d Sand Credits to purchase and view this item?
79bb0d7d : Unlocked Collectible
fee5909f : The selected Extra Feature could not be located. Please ensure that you have installed all Extra Features by choosing a Complete installation.
Thanks a lot WRS.
But I do not know how to use it.
There are a few files.
Can you tell me how to do?
I need your help.
http://rgho.st/6ldlrfmFG
Re: Prince Of Persia mgb files tools
Posted: Sun Jan 29, 2017 2:07 am
by WRS
thanks i will take a look at more of your samples
the code is a script for "010 Editor" as it says at the top
Re: Prince Of Persia mgb files tools
Posted: Sun Jan 29, 2017 11:18 am
by Castellanos
WRS wrote:thanks i will take a look at more of your samples
the code is a script for "010 Editor" as it says at the top
Thanks WRS.
I'm waiting for the other files.
Re: Prince Of Persia mgb files tools
Posted: Wed Mar 08, 2017 2:24 pm
by user
WRS wrote:thanks i will take a look at more of your samples
the code is a script for "010 Editor" as it says at the top
Hello guys. Sorry to post here. I have a proble with a game translation since i cannot view the text. There are mostly 4 kind of files .seek, .rif, .aif and some bin. Any idea?
Re: Prince Of Persia mgb files tools
Posted: Thu Mar 09, 2017 7:44 am
by GHOST DEAD
user wrote:WRS wrote:thanks i will take a look at more of your samples
the code is a script for "010 Editor" as it says at the top
Hello guys. Sorry to post here. I have a proble with a game translation since i cannot view the text. There are mostly 4 kind of files .seek, .rif, .aif and some bin. Any idea?
Ask to other guys or try find a script or tool for that
This file is compressed. This page just for princ of persia!
Re: Prince Of Persia mgb files tools
Posted: Thu Mar 09, 2017 9:09 am
by user
GHOST DEAD wrote:user wrote:WRS wrote:thanks i will take a look at more of your samples
the code is a script for "010 Editor" as it says at the top
Hello guys. Sorry to post here. I have a proble with a game translation since i cannot view the text. There are mostly 4 kind of files .seek, .rif, .aif and some bin. Any idea?
Ask to other guys or try find a script or tool for that
This file is compressed. This page just for princ of persia!
Sorry i made post here and there but none has replied yet. I have searched for tools or scripts but i have not found anything. I made a new theard