cwlang - cwcheat.prx Language Tools - by C10uD (consoleworld.org forums) (c) 2006
version: 0.1.5-GOLD
licensed under GPL license. See COPYING.TXT for details.

-WHAT IS IT:
This is a command-line utility that permits to play around with cwcheat strings 
in order to translate it to various languages. Instead of using an hexeditor you 
can easily edit txt files that are created and formatted by this utility.

NOTE: This is ONLY for cwcheat 0.1.5-GOLD!

BEWARE: This is my very first attempt for a C application, source code 
	is confused and buggy! Maybe you can expect a better code next time,
	i'll try to clean it up ;)

-HOW TO USE:
cwlang <opt> <filename> :

where <opt> can be: x, m, l. and <filename> whatever you want.

x - EXAMPLE: "cwlang x test.txt"  - Extracts strings from <cwcheat.prx> that must be in 
    the same directory of cwlang.exe in a formatted plain text file, the name 
    is user-defined

m - EXAMPLE: "cwlang m my_text.txt" - Inflate a cwlang-formatted-plain-text-file into 
    the prx. cwcheat.prx remains untouched, it will be created a new "cwmod.prx".
    For use it you must rename it as "cwcheat.prx" and overwrite the same file onto 
    your memory stick, in the /dh/kd folder. There you go!

l - EXAMPLE: "cwlang l my_text.txt my_lang.lng" - Creates a cwcheat-compatible language 
    file for use within the prx. See cwcheat guide on how to use this, do not complain
    weltall if a lng created by you doesn't work, that's your fault.

-TXT SPECS:
the txt file is formatted like this:
[<three-digit-number>]<string>

What you MUST do and what you MUSTN'T:
You MUST edit a valid txt created by cwlang, different versions of cwcheat.prx uses different cwlang

You MUSTN'T change the three-digit-number between [ ] that's for injecting the strings.. 
wrong number, file corruption :) that's a counter for available characters.

You MUST pay attention to \0 and \n.. they count for a single character, \0 means null character, 
\n newline..
 
You CAN edit the textfile, with an eye on string sizes.. but cwlang should manage itself too-long strings
to avoid file corruption

-CREDITS:
google.it!
weltall for cwcheat
irc.azzurra.org/#consoleworld