Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Prototype 2 Language Files Help
-
- Moderator
- Posts: 719
- Joined: Mon Jul 05, 2010 8:55 pm
- Has thanked: 20 times
- Been thanked: 496 times
- hnnewgames
- n00b
- Posts: 19
- Joined: Wed Nov 22, 2017 3:11 am
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 4 times
- Contact:
Re: Prototype 2 Language Files Help
These tools are used to edit the game text.Kara6321 wrote:Prototype 2 language files I am going to make a patch in Turkish
-------------------------------------------------------------
Prototype_2_Tools_By_Swuforce:
https://yadi.sk/d/wCv1J-_13aRZxz
-
- n00b
- Posts: 12
- Joined: Fri Aug 21, 2020 10:49 pm
-
- n00b
- Posts: 12
- Joined: Fri Aug 21, 2020 10:49 pm
Re: Prototype 2 Language Files Help
# Prototype 2 RZ
get EXT extension
if EXT == "RZ" # conflict with idstring/putdstring
idstring "RZ"
getdstring ZERO 6
get SIZE longlong
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
else
comtype zlib_compress
log MEMORY_FILE 0 0
putdstring "RZ" 2 MEMORY_FILE
for x = 0 < 6
put 0 byte MEMORY_FILE
next x
get SIZE asize
put SIZE longlong MEMORY_FILE
get NAME filename
string NAME + ".rz"
log NAME 0 16 MEMORY_FILE
append
clog NAME 0 SIZE SIZE
append
endif
There is a compression script written by Aluigi, but the size decreases to 300 mb in the file and it does not work.
get EXT extension
if EXT == "RZ" # conflict with idstring/putdstring
idstring "RZ"
getdstring ZERO 6
get SIZE longlong
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
else
comtype zlib_compress
log MEMORY_FILE 0 0
putdstring "RZ" 2 MEMORY_FILE
for x = 0 < 6
put 0 byte MEMORY_FILE
next x
get SIZE asize
put SIZE longlong MEMORY_FILE
get NAME filename
string NAME + ".rz"
log NAME 0 16 MEMORY_FILE
append
clog NAME 0 SIZE SIZE
append
endif
There is a compression script written by Aluigi, but the size decreases to 300 mb in the file and it does not work.