New sword of legends ol data000, data.001...

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

Re: New sword of legends ol data000, data.001...

Post by dron4938 »

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
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: New sword of legends ol data000, data.001...

Post by aluigi »

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
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

Re: New sword of legends ol data000, data.001...

Post by dron4938 »

If you can, then delete it. I found a method for unpacking each archive separately. But when packing the error(
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: New sword of legends ol data000, data.001...

Post by aluigi »

For removing the memory file edit the script in this way:

OLD CODE at line 149:

Code: Select all

                    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: Select all

                    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.
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

Re: New sword of legends ol data000, data.001...

Post by dron4938 »

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

Re: New sword of legends ol data000, data.001...

Post by dron4938 »

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. :(
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: New sword of legends ol data000, data.001...

Post by aluigi »

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.
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

Re: New sword of legends ol data000, data.001...

Post by dron4938 »

How do I pack it back then? :( :( :(