ZenHAX

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

All times are UTC




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Fri Nov 27, 2020 7:10 pm 
User avatar

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

Yeeeeey! Could anyone take a look at these files? I would like to translate that game. I found a tool and its source code on the internet, but it only extracts the texts and it doesn't matter. *I attached the texts, tool and its source code*


Attachments:
Dead Space Mobile.rar [436.7 KiB]
Downloaded 67 times

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES
Top
   
PostPosted: Sat Nov 28, 2020 9:59 am 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 225
Snip.

_________________
Texttool sources: viewtopic.php?f=12&t=645


Last edited by swuforce on Mon Nov 30, 2020 11:31 am, edited 1 time in total.

Top
   
PostPosted: Sat Nov 28, 2020 5:27 pm 
User avatar

Joined: Sat Dec 16, 2017 8:58 pm
Posts: 139
swuforce wrote:
Try my tool.

Thank you, Swuforce! You're awesome!

I spent hours trying and whenever I edit some text the game bugs like that.
Image

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES


Last edited by hnnewgames on Tue Dec 01, 2020 9:53 pm, edited 1 time in total.

Top
   
PostPosted: Sat Nov 28, 2020 5:35 pm 

Joined: Mon Mar 09, 2020 3:14 pm
Posts: 21
It's because CRC (4 bytes) after size archive.

Upload .so files in "lib" folder here.


Top
   
PostPosted: Sat Nov 28, 2020 7:21 pm 
User avatar

Joined: Sat Dec 16, 2017 8:58 pm
Posts: 139
Zmkiy wrote:
It's because CRC (4 bytes) after size archive.

Upload .so files in "lib" folder here.

Hmm
Here


Attachments:
lib.rar [1.76 MiB]
Downloaded 42 times

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES
Top
   
PostPosted: Mon Nov 30, 2020 5:33 pm 

Joined: Mon Mar 09, 2020 3:14 pm
Posts: 21
Ok, I found the checksum function. :)
It is FNV132
It use checksum for DATA.
SIZE_DATA(4 byte) | CHECKSUM(4 byte) | DATA (SIZE_DATA byte)

Code:
$Path = "data.dat"
$File = FileOpen($Path,16)
$Size = FileGetSize($Path)

$a3 = $Size
$Result = -2128831035
if $Size > 0 Then
   $v3 = $Result
   $v4 = 0
   While $v4 <> $a3
      $v5 = 16777619 * $v3
      $v6 = Dec(StringMid(FileRead($File,1), 3))
      $v3 = BitXOR($v5,$v6)
      $Result = $v3
      $v4 += 1
   WEnd
EndIf
MsgBox(0,"",$Result)


Last edited by Zmkiy on Mon Nov 30, 2020 5:45 pm, edited 1 time in total.

Top
   
PostPosted: Mon Nov 30, 2020 5:45 pm 

Joined: Wed Nov 18, 2020 1:25 am
Posts: 7
How to use?


Top
   
PostPosted: Mon Nov 30, 2020 5:47 pm 

Joined: Mon Mar 09, 2020 3:14 pm
Posts: 21
otaviotr43 wrote:
How to use?

Maybe swuforce will update their script.


Top
   
PostPosted: Mon Nov 30, 2020 6:20 pm 
User avatar

Joined: Sat Dec 16, 2017 8:58 pm
Posts: 139
Zmkiy wrote:
otaviotr43 wrote:
How to use?

Maybe swuforce will update their script.


Let's wait for Swuforce to respond

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES


Top
   
PostPosted: Mon Nov 30, 2020 7:37 pm 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 225
Try now. Thank Zmkiy.

_________________
Texttool sources: viewtopic.php?f=12&t=645


Top
   
PostPosted: Tue Dec 01, 2020 7:20 am 

Joined: Mon Mar 09, 2020 3:14 pm
Posts: 21
swuforce wrote:
Try now. Thank Zmkiy.

It seem like missing "padding".
STRS (4 byte) | SIZE_DATA (4 byte) | CHECKSUM (4 byte) | DATA (SIZE_DATA byte) | NULL ((4 - SIZE_DATA % 4) % 4 byte) | SYMB (4 byte)


Top
   
PostPosted: Tue Dec 01, 2020 5:44 pm 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 225
Thanks, maybe now fixed.

_________________
Texttool sources: viewtopic.php?f=12&t=645


Top
   
PostPosted: Tue Dec 01, 2020 9:51 pm 
User avatar

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

Working great!
Thank you Swuforce and Zmkiy! Now I will be able to translate into Portuguese.

_________________
WebSite: HNNEWGAMES
YouTube: HNNEWGAMES


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 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