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

Velvet Assasin loc files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
oyunceviri
advanced
Posts: 75
Joined: Tue Jun 30, 2009 11:35 am
Location: Turkey
Has thanked: 30 times
Been thanked: 5 times

Velvet Assasin loc files

Post by oyunceviri »

The contents of this post was deleted because of possible forum rules violation.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: Velvet Assasin loc files

Post by WRS »

Each .loc file has the following structure:

Code: Select all

char container 'B'
long signature 0x061c

>>for each file:
long sn_size
char string_name[sn_size]
long sv_size
wchar_t string_value[sv_size]

char container 'B'
String names look like:
GAMEPLAY_EVENTS\DOOR_LOCKED
GAMEPLAY_INTERACTIONS\ALARM_DESTROY
KEYBOARD_LAYOUT\KEY_0
String values look like:
The door is locked.|(no audio)|
Some strings values have other data:
Anymore questions?|Snd/vox.fev;enemies/dialogues;nazi_dialogue_any_questions|
Some values are also multi-line.

Hope this helps.
Useful tool links:
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Velvet Assasin loc files

Post by GameZelda »

Code: Select all

long signature 0x061c
This is the number of strings in the file.
Slaii
beginner
Posts: 25
Joined: Sun Jun 25, 2006 7:28 pm

Re: Velvet Assasin loc files

Post by Slaii »

Hi
Severals months ago I wrote simple text extractor and packer for these .loc files [.loc <-> .txt]

Extracting works fine, but there is little problem with packing back texts to .loc file - game crashes.

Anyway if you are still interested in this you can use/modify/whatever included source

It's coded in C++ as M$ Visual Studio solution, but you can use whatever IDE to compile it...
Comments are in Slovak language, but if you have at least a little C++ experience you can understand the code

Hope it helps...
You do not have the required permissions to view the files attached to this post.
Post Reply