ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Jun 21, 2021 4:41 pm

All times are UTC




Post new topic  Reply to topic  [ 28 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Sat Jun 05, 2021 4:26 pm 

Joined: Fri Oct 20, 2017 8:50 am
Posts: 22
Browser cache problem) Thank you for the new script. It's all good now. There are no more errors. You're cool) How do I pack it back? There was an error when packing.
https://i.yapx.ru/MkKFj.png
https://i.yapx.ru/MkMUj.png


Top
   
PostPosted: Sat Jun 05, 2021 7:07 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12297
Eh no reimporting can't work.
Even if I remove the usage of the memory file for the chunked files you would still have issues just because the files are splitted in multiple parts


Top
   
PostPosted: Sat Jun 05, 2021 7:13 pm 

Joined: Fri Oct 20, 2017 8:50 am
Posts: 22
If you can, then delete it. I found a method for unpacking each archive separately. But when packing the error(


Top
   
PostPosted: Sat Jun 05, 2021 7:21 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12297
For removing the memory file edit the script in this way:

OLD CODE at line 149:
Code:
                    putvarchr MEMORY_FILE SIZE 0
                    log MEMORY_FILE 0 0
                    xmath CHUNKS "SIZE / CHUNK_SIZE"
                    if SIZE % CHUNK_SIZE
                        math CHUNKS + 1
                    endif
                    for x = 0 < CHUNKS
                        get CHUNK_ZSIZE long
                        putarray 0 x CHUNK_ZSIZE
                    next x
                    append
                    for x = 0 < CHUNKS
                        getarray CHUNK_ZSIZE 0 x
                        savepos OFFSET
                        get CHUNK_SIZE long
                        math OFFSET      + 4
                        math CHUNK_ZSIZE - 4
                        clog MEMORY_FILE OFFSET CHUNK_ZSIZE CHUNK_SIZE
                        goto CHUNK_ZSIZE 0 SEEK_CUR
                    next x
                    append
                    log NAME 0 SIZE MEMORY_FILE


REPLACE with this code:
Code:
                    log NAME 0 0
                    xmath CHUNKS "SIZE / CHUNK_SIZE"
                    if SIZE % CHUNK_SIZE
                        math CHUNKS + 1
                    endif
                    for x = 0 < CHUNKS
                        get CHUNK_ZSIZE long
                        putarray 0 x CHUNK_ZSIZE
                    next x
                    append
                    for x = 0 < CHUNKS
                        getarray CHUNK_ZSIZE 0 x
                        savepos OFFSET
                        get CHUNK_SIZE long
                        math OFFSET      + 4
                        math CHUNK_ZSIZE - 4
                        clog NAME OFFSET CHUNK_ZSIZE CHUNK_SIZE
                        goto CHUNK_ZSIZE 0 SEEK_CUR
                    next x
                    append

It's totally useless as already said.
No need to re-extract, just use it for reimporting.


Top
   
PostPosted: Sat Jun 05, 2021 8:09 pm 

Joined: Fri Oct 20, 2017 8:50 am
Posts: 22
https://i.yapx.ru/MkYQ0.png
error, error, error. ((( Can you fix it?


Top
   
PostPosted: Sun Jun 06, 2021 5:52 am 

Joined: Fri Oct 20, 2017 8:50 am
Posts: 22
Launched packaging with all archives. This should work, but the speed of one packet ... 1 Archive in 1 hour. :shock: There are 79 archives in total :-)
Is it possible to ignore archives that I don't need? I know exactly which archive contains the required files.
I am replacing only 1 file in 78 archive - data078.
But packaging starts at data000. It will reach data078 in 80 hours. :(


Top
   
PostPosted: Sun Jun 06, 2021 9:56 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12297
dron4938 wrote:
https://i.yapx.ru/MkYQ0.png
error, error, error. ((( Can you fix it?

You should not use this modified script at all.
I provided that "patch" just in case but, really, do not use it.


Top
   
PostPosted: Sun Jun 06, 2021 10:00 am 

Joined: Fri Oct 20, 2017 8:50 am
Posts: 22
How do I pack it back then? :( :( :(


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 28 posts ]  Go to page Previous 1 2

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