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

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
unominhtuan
Posts: 34
Joined: Tue Apr 24, 2018 9:56 am

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

Post by unominhtuan »

Hi everybody,
help me script extract files data000, data001 ... data027
These files do not have extensions
Name: New sword of legends ol - 古剑奇谭网络版
home page: http://gjol.wangyuan.com/library/download.html
sample file: https://drive.google.com/open?id=1hT9KuvCRE_Y3KPpCUiCth3qbME7hxH5M
Thanks
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 »

unominhtuan
Posts: 34
Joined: Tue Apr 24, 2018 9:56 am

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

Post by unominhtuan »

aluigi wrote:http://aluigi.org/bms/new_sword_legends.bms

Thanks Aluigi...
Very good script, but it is limited to 4096 files and some error
Image
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 »

I forgot to solve the 4096 files mistery.
Script 0.2
unominhtuan
Posts: 34
Joined: Tue Apr 24, 2018 9:56 am

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

Post by unominhtuan »

thanks aluigi...
Raylee
Posts: 12
Joined: Tue Mar 31, 2020 10:09 pm

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

Post by Raylee »

Hey guys,
first of all Happy Easter to all of you.

Sorry to push this old topic :/
If I try to extract the Swords Of Legends Online Client I receive this error message:

Error: you must select the file 300.idx

- 0 files found in 0 seconds
coverage file 0 0% 0 1073741821 . offset 0000000000000000


The script I have used is:
http://aluigi.org/bms/new_sword_legends.bms

The files in GujianOL\data looks like this:
https://i.gyazo.com/96c387827181f02cf1b ... 37344f.png

I used filecutter to cut data000 into 2 files (20Mb/file).
https://mega.nz/folder/JgwBgArT#ft5RK64X5fmq1nd9I-Gr1w

Maybe someone of you have an idea.

Thank you for your support.


Best regards
Raylee
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 »

As written in the error, you must select the idx file.
Raylee
Posts: 12
Joined: Tue Mar 31, 2020 10:09 pm

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

Post by Raylee »

Hey aluigi,
thank you again for your great support.

I checked the installation folder but I could not found an .idx file.
This is the game folder:
https://i.gyazo.com/0ff3aa02acd68ff5ef8 ... b82d14.png

And these are the files which are in /data:
https://i.gyazo.com/7a2e291030ea19540aa ... 156da1.png


Best regards
Raylee
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 »

Are you sure there is no file in the data folder with a name different than "data*" or with an extension?
The screenshot covers only the files till data044 so I don't know if there is something else.
Raylee
Posts: 12
Joined: Tue Mar 31, 2020 10:09 pm

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

Post by Raylee »

Hey aluigi,

these are all files which are located in "\GujianOL\data":
https://i.gyazo.com/bbf900b3c5a197f875a ... 0b76b2.png


Best regards
Raylee
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 »

In this case I don't know where is located the index. Sorry.
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

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

Post by dron4938 »

On the European client, the script returns an error in the middle of unpacking. Help please.
https://i.yapx.ru/MU5Cq.png
Brillix
Posts: 9
Joined: Thu Sep 24, 2020 8:48 am

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

Post by Brillix »

dron4938 wrote:On the European client, the script returns an error in the middle of unpacking. Help please.
https://i.yapx.ru/MU5Cq.png

Did u find an index file in the european Client?
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

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

Post by dron4938 »

Brillix wrote:
dron4938 wrote:On the European client, the script returns an error in the middle of unpacking. Help please.
https://i.yapx.ru/MU5Cq.png

Did u find an index file in the european Client?


Yes, it has a different name.
I rename it to 300.idx
And in the middle of unpacking, an error pops up.
https://i.yapx.ru/MazfK.png
Brillix
Posts: 9
Joined: Thu Sep 24, 2020 8:48 am

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

Post by Brillix »

dron4938 wrote:
Brillix wrote:
dron4938 wrote:On the European client, the script returns an error in the middle of unpacking. Help please.
https://i.yapx.ru/MU5Cq.png

Did u find an index file in the european Client?


Yes, it has a different name.
I rename it to 300.idx
And in the middle of unpacking, an error pops up.
https://i.yapx.ru/MazfK.png


Can u share the Client?
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

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

Post by dron4938 »

https://disk.yandex.ru/d/jpREsUdpT_0s-A
https://disk.yandex.ru/d/KlXcfTDVgo9z_Q
This archive contains the French translation of the game. Help me unpack and pack it back please. I attach the index file. This is one of the 79 archives of the game. The old script works, but at the end it gives an error. And how do I pack it back?
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:And in the middle of unpacking, an error pops up.

Do you have a screenshot of the error?
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

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

Post by dron4938 »

aluigi wrote:
dron4938 wrote:And in the middle of unpacking, an error pops up.

Do you have a screenshot of the error?

https://i.yapx.ru/Mjj90.png
https://i.yapx.ru/MjkBN.png
Error on archives that contain translation files.
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 »

So the problem may be related to a different format of the archived file.
In short the format is a bit chaotic and we have the original index table with offset and size, then there is another set of information for each referenced file located at the offset taken from the index.
The problem here is with the second set of information.

I think I found the bit of information telling if the file has that second set of information or not and I just updated the script to version 0.2.5:
http://aluigi.org/bms/new_sword_legends.bms

Please let me know if it works.
dron4938
Posts: 22
Joined: Fri Oct 20, 2017 8:50 am

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

Post by dron4938 »

aluigi wrote:So the problem may be related to a different format of the archived file.
In short the format is a bit chaotic and we have the original index table with offset and size, then there is another set of information for each referenced file located at the offset taken from the index.
The problem here is with the second set of information.

I think I found the bit of information telling if the file has that second set of information or not and I just updated the script to version 0.2.5:
http://aluigi.org/bms/new_sword_legends.bms

Please let me know if it works.

This version is no different from the last one. Maybe you accidentally uploaded an old version?