ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Jan 26, 2021 10:48 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Dec 10, 2020 7:29 pm 
User avatar

Joined: Sat Dec 16, 2017 8:58 pm
Posts: 139
Image

Oops guys, who can create a tool to facilitate the editing of the texts of this game, a friend of mine will be very happy, he intends to translate this game into Brazilian Portuguese

Image
Image


Attachments:
text.rar [901.08 KiB]
Downloaded 43 times

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES
Top
   
PostPosted: Sat Dec 12, 2020 1:06 pm 

Joined: Sun Nov 08, 2020 1:07 pm
Posts: 26
hnnewgames wrote:
Oops guys, who can create a tool to facilitate the editing of the texts of this game, a friend of mine will be very happy, he intends to translate this game into Brazilian Portuguese

Hi, test this script, you can use reimport2 for import text back
Code:
idstring "#LNG"
get unknow long
get text_num long
get skip byte
math skip - 1
get NAME basename
STRING NAME + ".txt"
getdstring zero skip
for i = 0 < text_num
   getdstring ID 32
   get OFFSET long
   getdstring zero_textnum 12
   Slog NAME OFFSET -1
next i

edit: I forgot to remove some unused parts, now I remove them


Last edited by gameside on Sun Dec 13, 2020 1:11 pm, edited 2 times in total.

Top
   
PostPosted: Sat Dec 12, 2020 1:30 pm 
User avatar

Joined: Sat Dec 16, 2017 8:58 pm
Posts: 139
gameside wrote:
hnnewgames wrote:
Oops guys, who can create a tool to facilitate the editing of the texts of this game, a friend of mine will be very happy, he intends to translate this game into Brazilian Portuguese

Hi, test this script, you can use reimport2 for import text back
Code:
idstring "#LNG"
get unknow long
get text_num long
get skip byte
math skip - 1
getdstring zero skip
for i = 0 < text_num
   getdstring ID 32
   get OFFSET_1 long
   getdstring zero_textnum 12
   savepos befor_2ID
   getdstring ID 32
   get OFFSET_2 long
   xmath size "(OFFSET_2 - OFFSET_1) - 1"
   get NAME basename
   STRING NAME + ".txt"
   Slog NAME OFFSET_1 -1
   goto befor_2ID
next i

Oops, thanks brother! From what I saw it is working properly. Thanks!

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES


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