ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Oct 22, 2020 9:41 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: RAYMAN ORIGINS loc file
PostPosted: Mon Oct 12, 2020 8:27 pm 

Joined: Thu Oct 01, 2020 2:49 pm
Posts: 2
How to open this loc file of rayman origins


Top
   
PostPosted: Tue Oct 13, 2020 12:49 am 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 696
Send a sample.

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Sat Oct 17, 2020 2:58 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 325
UbiArt Framework .loc/.loc8 text script

supported games
-Valiant Hearts: The Great War
-Rayman Legends
-Rayman Origins
-Rayman Fiesta Run
-Gravity Falls: Legend of the Gnome Gemulets

Code:
get FILE_NAMER basename
get ENIADN_MODE long
goto 0
endian guess ENIADN_MODE
get TEXT_FILE_COUNT long
get FILE_EXTENTION extension
for j = 0 < TEXT_FILE_COUNT
get TEXT_FILE_LANGUAGE_ID long
get TEXT_COUNT long
string TEXT_FILE_NAME = ""
string TEXT_FILE_NAME + FILE_NAMER
string TEXT_FILE_NAME + \\
string TEXT_FILE_NAME + "Language_"
string TEXT_FILE_NAME + TEXT_FILE_LANGUAGE_ID
string TEXT_FILE_NAME + ".txt"
math ID_MODE = 0
for i = 0 < TEXT_COUNT
get TEXT_ID long



#######android test for Rayman Fiesta Rub#######
if ID_MODE != 1
savepos CHECKPOINT
math CHECKPOINT - 4
goto CHECKPOINT
math CHECKPOINT + 4
get TEXT_ID long
get ID_LENGTH long
if FILE_EXTENTION = "loc"
math ID_LENGTH * 2
getdstring HEADING ID_LENGTH
else
getdstring HEADING ID_LENGTH
endif
get TEXT_LENGTH long
get TEST_TEXT short
if TEST_TEXT != 0 | TEXT_LENGTH = 0
math ID_MODE = 1
endif
goto CHECKPOINT
endif

if ID_MODE = 1
get ID_LENGTH long
if FILE_EXTENTION = "loc"
math ID_LENGTH * 2
getdstring HEADING ID_LENGTH
else
getdstring HEADING ID_LENGTH
endif
endif
################################################




get TEXT_LENGTH long
savepos TEXT_OFFSET
if FILE_EXTENTION = "loc"
math TEXT_LENGTH * 2
slog TEXT_FILE_NAME TEXT_OFFSET TEXT_LENGTH unicode
else
slog TEXT_FILE_NAME TEXT_OFFSET TEXT_LENGTH
endif
getdstring TEXT_HEADING TEXT_LENGTH
next i
savepos CHECKER
get COUNT long
get TEXT_ID long
get FIELD_STRING_LONG long
getdstring LONGER_STRING_DUMMY FIELD_STRING_LONG
get TEST_MORE long
goto CHECKER
if TEST_MORE = 0xFFFFFFFF
get COUNT long
for a = 0 < COUNT
get TEXT_ID long
get TEXT_LENGTH long
savepos TEXT_OFFSET
if FILE_EXTENTION = "loc"
math TEXT_LENGTH * 2
slog TEXT_FILE_NAME TEXT_OFFSET TEXT_LENGTH unicode
else
slog TEXT_FILE_NAME TEXT_OFFSET TEXT_LENGTH
endif
getdstring TEXT_HEADING TEXT_LENGTH
getdstring DUMMY 16
next a
endif
next j


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

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited