Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

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

Featured Replies

  • Author
  • Localization

unominhtuan, posted Wed Jul 04, 2018 12:24 am (36421)


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
  • Author
  • Localization

aluigi, posted Wed Jul 04, 2018 3:14 am (36429)


I forgot to solve the 4096 files mistery.
Script 0.2
  • Author
  • Localization

unominhtuan, posted Wed Jul 04, 2018 1:44 pm (36458)


thanks aluigi...
  • Author
  • Localization

Raylee, posted Sun Apr 12, 2020 9:43 am (55804)


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
  • Author
  • Localization

aluigi, posted Sun Apr 12, 2020 10:26 am (55808)


As written in the error, you must select the idx file.
  • Author
  • Localization

Raylee, posted Sun Apr 12, 2020 12:46 pm (55818)


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
  • Author
  • Localization

aluigi, posted Sun Apr 12, 2020 7:12 pm (55834)


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.
  • Author
  • Localization

aluigi, posted Tue Apr 14, 2020 11:10 am (55911)


In this case I don't know where is located the index. Sorry.
  • Author
  • Localization

dron4938, posted Thu May 20, 2021 12:08 pm (64157)


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

Brillix, posted Tue May 25, 2021 7:59 am (64264)


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?
  • Author
  • Localization

dron4938, posted Fri May 28, 2021 1:08 pm (64344)


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
  • Author
  • Localization

Brillix, posted Wed Jun 02, 2021 9:09 am (64432)


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?
  • Author
  • Localization

dron4938, posted Fri Jun 04, 2021 6:09 pm (64493)


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?
  • Author
  • Localization

aluigi, posted Sat Jun 05, 2021 5:18 am (64503)


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

Do you have a screenshot of the error?
  • Author
  • Localization

aluigi, posted Sat Jun 05, 2021 2:42 pm (64518)


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.
  • Author
  • Localization

dron4938, posted Sat Jun 05, 2021 3:01 pm (64519)


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?
  • Author
  • Localization

aluigi, posted Sat Jun 05, 2021 7:07 pm (64524)


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
  • Author
  • Localization

dron4938, posted Sat Jun 05, 2021 7:13 pm (64527)


If you can, then delete it. I found a method for unpacking each archive separately. But when packing the error(
  • Author
  • Localization

aluigi, posted Sat Jun 05, 2021 7:21 pm (64529)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.