XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Nov 23, 2017 6:36 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Prince Of Persia mgb files tools
PostPosted: Thu Jan 26, 2017 3:50 pm 
Offline
n00b

Joined: Fri Dec 30, 2016 12:06 pm
Posts: 12
Has thanked: 2 times
Have thanks: 0 time














You can make the ads go away by registering

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


Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Sat Jan 28, 2017 4:50 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Fri Nov 06, 2009 12:13 am
Posts: 593
Has thanked: 70 times
Have thanks: 127 times
Code:
//--------------------------------------
//--- 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?

Quote:
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.

_________________
Useful tool links:


Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Sat Jan 28, 2017 11:37 pm 
Offline
n00b

Joined: Fri Dec 30, 2016 12:06 pm
Posts: 12
Has thanked: 2 times
Have thanks: 0 time
WRS wrote:
Code:
//--------------------------------------
//--- 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?

Quote:
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


Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Sun Jan 29, 2017 2:07 am 
Offline
ultra-veteran
ultra-veteran

Joined: Fri Nov 06, 2009 12:13 am
Posts: 593
Has thanked: 70 times
Have thanks: 127 times
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

_________________
Useful tool links:


Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Sun Jan 29, 2017 11:18 am 
Offline
n00b

Joined: Fri Dec 30, 2016 12:06 pm
Posts: 12
Has thanked: 2 times
Have thanks: 0 time
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.


Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Wed Mar 08, 2017 2:24 pm 
Offline
ultra-n00b

Joined: Fri Feb 19, 2016 4:26 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
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?


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Thu Mar 09, 2017 7:44 am 
Offline
veteran

Joined: Sat Nov 26, 2016 3:39 pm
Posts: 134
Has thanked: 7 times
Have thanks: 2 times
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!


Top
 Profile  
 
 Post subject: Re: Prince Of Persia mgb files tools
PostPosted: Thu Mar 09, 2017 9:09 am 
Offline
ultra-n00b

Joined: Fri Feb 19, 2016 4:26 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
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


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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