XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Sep 21, 2018 5:58 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Medal of Honor Heroes 2 PSP .loc /translate/
PostPosted: Sat Oct 24, 2009 6:02 pm 
Offline
ultra-n00b

Joined: Thu Feb 14, 2008 8:59 pm
Posts: 9
Has thanked: 0 time
Have thanks: 0 time














You can make the ads go away by registering

Could you please look at the *.loc and *.idx files from Medal of Honor Heroes 2 - I think they contain the texts from the game


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: Medal of Honor Heroes 2 PSP .loc /translate/
PostPosted: Sat Oct 24, 2009 10:39 pm 
Offline
veteran
User avatar

Joined: Sat Oct 24, 2009 5:08 pm
Posts: 139
Location: Bulgaria
Has thanked: 2 times
Have thanks: 43 times
eng_us.loc definitely contain text strings. They are also UNICODE one (2 bytes).

_________________
http://nullsecurity.org/ game tools, unpackers, and probably more...


Top
 Profile  
 
 Post subject: Re: Medal of Honor Heroes 2 PSP .loc /translate/
PostPosted: Sat Oct 24, 2009 11:26 pm 
Offline
advanced

Joined: Wed Nov 14, 2007 5:56 pm
Posts: 61
Has thanked: 0 time
Have thanks: 27 times
eng_us.loc looks like a very simple string table format.

First there's a LOCH section:
Code:
struct LOCH
{
   char magic[4]; // "LOCH"
   uint32_t size;
   uint32_t unk1; // 0
   uint32_t unk2; // 1.
   uint32_t unk3; // 20.
}


Then a LOCL section:
Code:
struct LOCL
{
   char magic[4]; // "LOCL"
   uint32_t size;
   uint32_t unk1; // 0
   uint32_t nStrings;
   uint32_t stringPtr[nStrings]; // Pointers to little endian unicode strings, relative to the start of the LOCL section
}


Top
 Profile  
 
 Post subject: Re: Medal of Honor Heroes 2 PSP .loc /translate/
PostPosted: Sun Oct 25, 2009 10:40 am 
Offline
ultra-n00b

Joined: Thu Feb 14, 2008 8:59 pm
Posts: 9
Has thanked: 0 time
Have thanks: 0 time
Thank you very much,but how can i use this code,what you wrote?


Top
 Profile  
 
 Post subject: Re: Medal of Honor Heroes 2 PSP .loc /translate/
PostPosted: Thu Jun 14, 2018 12:22 pm 
Offline
n00b
User avatar

Joined: Mon Sep 12, 2011 9:19 pm
Posts: 15
Has thanked: 11 times
Have thanks: 9 times
For *.loc files use this tool - https://www89.zippyshare.com/v/ioMiFdsj/file.html


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 5 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