Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Medal of Honor Heroes 2 PSP .loc /translate/

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
zakos
ultra-n00b
Posts: 9
Joined: Thu Feb 14, 2008 8:59 pm

Medal of Honor Heroes 2 PSP .loc /translate/

Post by zakos »

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
You do not have the required permissions to view the files attached to this post.
User avatar
XpoZed
veteran
Posts: 144
Joined: Sat Oct 24, 2009 5:08 pm
Location: Bulgaria
Has thanked: 2 times
Been thanked: 50 times
Contact:

Re: Medal of Honor Heroes 2 PSP .loc /translate/

Post by XpoZed »

eng_us.loc definitely contain text strings. They are also UNICODE one (2 bytes).
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Medal of Honor Heroes 2 PSP .loc /translate/

Post by GameZelda »

eng_us.loc looks like a very simple string table format.

First there's a LOCH section:

Code: Select all

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: Select all

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
}
zakos
ultra-n00b
Posts: 9
Joined: Thu Feb 14, 2008 8:59 pm

Re: Medal of Honor Heroes 2 PSP .loc /translate/

Post by zakos »

Thank you very much,but how can i use this code,what you wrote?
User avatar
BANDIT
n00b
Posts: 17
Joined: Mon Sep 12, 2011 9:19 pm
Has thanked: 12 times
Been thanked: 9 times

Re: Medal of Honor Heroes 2 PSP .loc /translate/

Post by BANDIT »

Post Reply