ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Oct 22, 2018 8:52 pm

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sun Jul 01, 2018 6:30 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 86
Example file: https://drive.google.com/open?id=1oUJbu ... RZJO_buYbY
Game using Engine:Vicarious Visions Alchemy: https://pcgamingwiki.com/wiki/Engine:Vi ... ns_Alchemy
marvel_ultimate_alliance_2.bms script extract working but not import.
Can anyone help me ?


Top
   
PostPosted: Mon Jul 02, 2018 4:05 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
Regarding the script, the reason why I can't use the direct file writing instead of the memory files (a temporary buffer) is that the format uses some zeroes not available in the input (they are created in the output file), and also because files without names may be used.

I think that the script "may" work without memory files too but currently I can't test it and I don't want to ruin a working script.

If I'm not in error the reimporting of memory files work correctly most of the time, have you tried it?


Top
   
PostPosted: Mon Jul 02, 2018 10:20 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 86
aluigi wrote:
Regarding the script, the reason why I can't use the direct file writing instead of the memory files (a temporary buffer) is that the format uses some zeroes not available in the input (they are created in the output file), and also because files without names may be used.

I think that the script "may" work without memory files too but currently I can't test it and I don't want to ruin a working script.

If I'm not in error the reimporting of memory files work correctly most of the time, have you tried it?


Can you show me ?
I don't understand


Top
   
PostPosted: Mon Jul 02, 2018 9:59 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
reimport.bat
If it works works, if it doesn't work... doesn't work :D


Top
   
PostPosted: Tue Jul 03, 2018 3:13 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 86
Code:
Error: script invalid for reimporting, it uses MEMORY_FILEs
       You can use the -. option or quickbmsver "-." if this script is meant
       to act as a header/data builder (for example if it adds a RIFF header
       to raw PCM data embedded in the file, and so on), the MEMORY_FILE data
       will be skipped automatically allowing to reimport the real file data

Last script line before the error or that produced the error:
  118 log NAME 0 SIZE MEMORY_FILE


Im trying only folders import message:

Code:
 offset   filesize   filename
--------------------------------------
/
- 0 files reimported in 0 seconds
- 114 files or logs left original, not available in the folder
  coverage file 0    79%   682506     856986     . offset 000cd9c8
  coverage file -1    0%   0          22501      . offset 000057e5


Top
   
PostPosted: Tue Jul 03, 2018 6:16 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1150
@aluigi
Here https://www37.zippyshare.com/v/hOrfBw6u/file.html archives UNSUPPORTED folder


Top
   
PostPosted: Tue Jul 03, 2018 10:20 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
Based on the comment in the script I guess I can do nothing about them.


Top
   
PostPosted: Wed Jul 04, 2018 4:30 am 

Joined: Fri Dec 19, 2014 6:05 am
Posts: 12
Could it be that some blocks are compressed and encrypted? Because I found some lzma blocks and it decompress sucessful but there is some blocks that don't have some familiar compression format and it looks like some block random bytes.

_________________
TTG Tools' source code: https://github.com/pashok6798/TTG_Tools
Compiled TTG Tools: https://github.com/pashok6798/TTG_Tools/releases


Top
   
PostPosted: Thu Jul 05, 2018 1:02 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 86
up someone help or write unpack repack tool?


Top
   
PostPosted: Mon Jul 09, 2018 5:41 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
I have updated the script to version 0.4.

Long story short: the format MUST have a table somewhere that says if a chunk is compressed or not, that's why the script had problems with some chunks and reported the UNSUPPORTED error.
There is a table indeed but it doesn't match the files, doesn't matter how you use it since it's wrong.
The only solution was using a lame work-around that checks if a chunk is compressed or not by reading the content of the chunk itself... very lame but it works well with lzma.
I'm not going to waste other time with this crappy format...


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