ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Mar 27, 2019 2:14 am

All times are UTC




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

Joined: Tue Nov 06, 2018 10:11 am
Posts: 19
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: 9954
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: 19
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: 9954
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: 19
Thanks!


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

Joined: Tue Nov 06, 2018 10:11 am
Posts: 19
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: 9954
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: 19
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: 9954
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: 19
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: 9954
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: 19
Now is working here too, thanks!


Top
   
PostPosted: Sat Nov 17, 2018 10:28 am 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 19
I've inserted several files and so far it has worked fine, but now I've found that file https://drive.google.com/file/d/11z_Rtw ... p=drivesdk that is making the game freeze after recompression. Maybe there is a difference in compressing this file to others or does the script have to be adapted to it? You can check this file, the decompression works normal, but after. recompress the game freezes


Top
   
PostPosted: Mon Nov 19, 2018 10:06 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9954
Give it an ewdf extension because the script is instructed to extract the files with such extension and repacking those with any other extension (or no extension at all like your sample).


Top
   
PostPosted: Mon Nov 19, 2018 11:12 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 19
After I decompress this file the extension is .bin (a text file called h.bin). The problem is with the recompression, I don't know if the game uses CRC checking for this file to detect changes in the original content, because the others ewdf works fine recompressed.


Top
   
PostPosted: Wed Dec 19, 2018 8:35 pm 

Joined: Wed Dec 19, 2018 8:17 pm
Posts: 8
I tried using the script to unpack GAMEDATA.WAD from the E3 build of the game and it's not working. Not really sure what is different about the older build's .wad file but here it is if anyone wants to mess with it:
https://drive.google.com/file/d/1hVNSFhMbe358Y1da5hRDjPTToCsCoCS7/view?usp=sharing


Top
   
PostPosted: Thu Jan 10, 2019 6:06 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9954
1.2Gb? Remember to use the filecutter script with big files, it makes analysis a lot faster:
http://aluigi.org/bms/filecutter.bms


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