ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Nov 15, 2018 8:00 am

All times are UTC




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Fri Nov 09, 2018 5:21 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
Hi, I would like to know if someone can write for me a tool or a bms script to decompress/recompress this archive? https://drive.google.com/file/d/1sHDLKH ... p=drivesdk


Top
   
PostPosted: Fri Nov 09, 2018 7:02 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9229
Name of the game?
Remember to write ever the name of the game in the title.


Top
   
PostPosted: Fri Nov 09, 2018 7:47 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
Mortal Kombat Shaolin Monks


Top
   
PostPosted: Fri Nov 09, 2018 7:55 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9229
http://aluigi.org/bms/mksm_ewdf.bms


Top
   
PostPosted: Fri Nov 09, 2018 8:51 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
Thanks!


Top
   
PostPosted: Fri Nov 09, 2018 9:16 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
Hey aluigi, the script works fine to decompress the EWDF, but the recompression/reimport won't work "the file is too big" after decompressed. I've searched on the Wikipedia about the Deflate algorithm, the ZIP format uses it, I've tested with the Winrar and the PKZIP but the game crashes. I think that because of header in the ZIP archives are differents, the filesize is in other offset... So, you can make/implement an small tool to recompress this Deflate version specifically to the game?


Top
   
PostPosted: Sat Nov 10, 2018 2:38 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9229
I have updated the script for automatically acting as rebuilder if the input file doesn't have the ewdf extension.

Usually I never write rebuilders but this format was very simple :)


Top
   
PostPosted: Sat Nov 10, 2018 4:32 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
Hi, the script works to rebuild the ewdf decompressed, but if I translate all the texts of a file that I have here, keeping the original filesize (4390 bytes) after rebuild the ewdf becomes larger and the game freezes, now if I translate an small text block the game works fine. There is something with the repeated strings or chars (amount details) even keeping the original filesize? Is possible to achieve always the same size of original archive keeping the same size in the modified file (improve the compression level)?


Top
   
PostPosted: Sat Nov 10, 2018 7:30 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9229
I have just noticed 2 additional fields at the end of the ewdf archive.
Script 0.1.2


Top
   
PostPosted: Sat Nov 10, 2018 10:35 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
I've tested here, but this message error is showed after select the ewdf decompressed http://imgur.com/ZvkAhuN


Top
   
PostPosted: Mon Nov 12, 2018 10:49 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9229
Here everything works perfectly:
quickbms.exe mksm_ewdf.bms y_hud_v01.P2N


Top
   
PostPosted: Tue Nov 13, 2018 2:33 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 9
Now is working here too, thanks!


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