ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Oct 21, 2017 1:17 am

All times are UTC




Post new topic  Reply to topic  [ 251 posts ]  Go to page Previous 19 10 11 12 13
Author Message
PostPosted: Thu Jul 20, 2017 8:11 pm 

Joined: Sun Aug 24, 2014 5:26 pm
Posts: 228
Thanks, it would be nice if you remove this message when [EXISTS] is used.


Top
   
PostPosted: Thu Jul 20, 2017 9:24 pm 
User avatar

Joined: Tue Feb 02, 2016 2:35 am
Posts: 965
aluigi wrote:
I gave a quick look at your post but... headache :)
:P

_________________
Expect my username to be everywhere, whether you're using the internet or not.


Top
   
PostPosted: Fri Jul 21, 2017 4:46 am 

Joined: Sun Aug 24, 2014 5:26 pm
Posts: 228
I'm not sure it's a bug, because both files can be decompressed to original, but "comtype lz4_compress" in 0.7.7 and 0.8.0 differs a lot - https://puu.sh/wP5sI/6099ff22b9.png
0.8.0 always gives bigger (even bigger than input file!) files that have amount of 0xFF bytes at the beginning.


Top
   
PostPosted: Fri Jul 21, 2017 6:32 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6885
The only different thing is the version of lz4 used in quickbms because the library is used in the same way in both the quickbms.
That happens with code taken from repository instead of stable releases, anyway it's enough to update the library in the next version of quickbms to (hopefully) solve the problem.
Updating the libraries is something that I do automatically at every release of quickbms


Top
   
PostPosted: Sat Sep 02, 2017 4:50 pm 

Joined: Sat Sep 02, 2017 4:33 pm
Posts: 3
Hi, Guys nice to meet you. Can somebody help me ? I'm confused right now. My problem i can't recompile from Quickbms. I tried Witcher 3 and make it .bat and nothing happen, CMD closed immediately. So i changed it and make Witcher 3 .bms, after that i got error result "Unsupported extension csv". Any suggests what recompile should i use for .csv? Please if u don't mind help me. Thanks a lot! :D


Top
   
PostPosted: Mon Sep 04, 2017 5:19 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6885
bugmenot wrote:
I think I found a bug with the -P command or the Rpa Renpy Nopython script:

When extracting an RPA file that contains Cyrillic characters in some of the file names they did not extract correctly so tried adding -P UTF8 (unless I'm wrong RPA files are always UTF-8 encoded) but the result was still wrong, next I tried every other UTF and Cyrillic option from this table using both Identifier and .NET Name values, I also tried adding the codepage "utf8" and codepage 1251 string in the BMS script with the same result.

For example the correct file name is: Armature-трет руки_0 as can be seen in the attached file table, but the files are extracted as: Armature-трет СЂСѓРєРё_0, Armature-трет руки_0 or Armature-трет руки_0.

This bug is the same reported in viewtopic.php?f=11&t=4797 and I confirm that it will be fixed in the upcoming 0.8.1 version that will be released this week :)


Top
   
PostPosted: Mon Sep 04, 2017 5:25 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6885
@Nothing
I guess you want to reimport your edited files in the original archive using the reimporting feature of quickbms, correct?

You must use reimport.bat to do the job selecting the same files and folders you selected for the extraction (I really mean the same, do NOT select your edited files). Info in section 3 of http://aluigi.org/papers/quickbms.txt

Please note that the "bundle" archive of Witcher 3 use 4 different types of compression and some of them (lz4 for sure) will crash the game if one of your reimported files was archived using it.


Top
   
PostPosted: Sat Sep 09, 2017 9:11 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6885
QuickBMS 0.8.1 is out:
http://quickbms.com
viewtopic.php?f=22&t=4927


Top
   
PostPosted: Sun Sep 24, 2017 12:12 pm 

Joined: Tue Sep 08, 2015 11:27 am
Posts: 64
Self-compiled version of latest on Arch Linux gives
Code:
Error: EVP_CipherInit key failed

whenever the "encryption" command is used.

I have openssl 1.1.0.f installed.

In addition:
Code:
$ ldd `which quickbms`
   linux-gate.so.1 (0xf771f000)
   libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xedf64000)
   libdl.so.2 => /usr/lib32/libdl.so.2 (0xedf5f000)
   libz.so.1 => /usr/lib32/libz.so.1 (0xedf46000)
   libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xedf35000)
   libm.so.6 => /usr/lib32/libm.so.6 (0xede71000)
   libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xede52000)
   liblzo2.so.2 => /usr/lib32/liblzo2.so.2 (0xede2f000)
   libssl.so.1.1 => /usr/lib32/libssl.so.1.1 (0xeddc1000)
   libcrypto.so.1.1 => /usr/lib32/libcrypto.so.1.1 (0xedb69000)
   libc.so.6 => /usr/lib32/libc.so.6 (0xed993000)
   /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7721000)
   libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xed975000)


Top
   
PostPosted: Sun Sep 24, 2017 3:46 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6885
I think it's not "whenever" but it's only limited to openssl algorithms, you should not get that error with 'encryption xor "test"', right?

I suspect it's some sort of lack of compatibility of EVP_CipherInit with openssl 1.1 but I don't know why that happens because if it works with 1.0 it must work with 1.1 too:
Quote:
The functions EVP_EncryptInit(), EVP_EncryptFinal(), EVP_DecryptInit(), EVP_CipherInit() and EVP_CipherFinal() are obsolete but are retained for compatibility with existing code.
Maybe it's related to how evp_ctx is initialized since I maintained the old code (that has ever worked) and made it compatible with 1.1, but I don't think.
That error is the final step of setting the encryption when key and ivec are assigned

Currently I have no solution.
Do you have the same error if you set an empty ivec like "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"?


Top
   
PostPosted: Sun Sep 24, 2017 6:47 pm 

Joined: Tue Sep 08, 2015 11:27 am
Posts: 64
Yes, you are correct, `encryption "xor" test` does indeed work, however both
Code:
encryption "AES" "" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" 0 16
encryption "AES" KEY "" 0 16

do not.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 251 posts ]  Go to page Previous 19 10 11 12 13

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