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.

Swords Of Legends 3 ,how to unpack it?

Featured Replies

  • Author
  • Localization

barnett2010, posted Thu Nov 29, 2018 8:48 am (40833)


Swords Of Legends 3?It is a Chinese game development team to make an ARPG single game.

Some videos
https://www.youtube.com/watch?v=KU_R4RUBiu0
https://www.youtube.com/watch?v=Czjue-DivTk

The game engine is Havok.
Oodle is used for data compression.

Game File Download http://t.cn/E20XBmL

Game Art resources in the .data. folder

How to Write a BMS Script???
:?:
  • Author
  • Localization

MeowFET, posted Fri Nov 30, 2018 2:01 pm (40852)


aluigi wrote:
Already exists a script for this game but I decided to make it a bit more user-friendly:
http://aluigi.org/bms/new_sword_legends.bms

Just select 300.idx and it will do the rest


As I tested earlier, the existing script just works perfectly.
However, some of the extracted files with an extension of "xxx" are seemingly encrypted (originally some FMOD bank files / .bk2 animation videos /.xml files, etc.)
Maybe you could take a look at the attached sample and come up with some approaches. Thanks a lot! :P

https://mega.nz/#F!5vo23ayJ!IT9WSkthbTh0ZlhOiyRrkg
  • Author
  • Localization

aluigi, posted Fri Nov 30, 2018 7:59 pm (40866)


Yes it looks encrypted and, unfortunately, there is nothing to do without reverse engineering the game executable.
  • Author
  • Localization

barnett2010, posted Sun Dec 02, 2018 12:25 am (40919)


aluigi wrote:
Already exists a script for this game but I decided to make it a bit more user-friendly:
http://aluigi.org/bms/new_sword_legends.bms

Just select 300.idx and it will do the rest


thank you, i love you so much
  • Author
  • Localization

barnett2010, posted Sun Dec 02, 2018 1:19 am (40920)


aluigi wrote:
Already exists a script for this game but I decided to make it a bit more user-friendly:
http://aluigi.org/bms/new_sword_legends.bms

Just select 300.idx and it will do the rest


According to this method, it can't be executed, error?
  • Author
  • Localization

barnett2010, posted Sun Dec 02, 2018 1:46 am (40922)


Sorry, I didn't operate correctly. I should put all the files in the same directory.
  • Author
  • Localization

barnett2010, posted Sun Dec 02, 2018 9:33 am (40930)


MeowFET wrote:
aluigi wrote:
Already exists a script for this game but I decided to make it a bit more user-friendly:
http://aluigi.org/bms/new_sword_legends.bms

Just select 300.idx and it will do the rest


As I tested earlier, the existing script just works perfectly.
However, some of the extracted files with an extension of "xxx" are seemingly encrypted (originally some FMOD bank files / .bk2 animation videos /.xml files, etc.)
Maybe you could take a look at the attached sample and come up with some approaches. Thanks a lot! :P

https://mega.nz/#F!5vo23ayJ!IT9WSkthbTh0ZlhOiyRrkg



These audio files are FSB5 encrypted and the source file should be in OGG format,

but I did not successfully extract
  • Author
  • Localization

aluigi, posted Sun Dec 02, 2018 11:12 am (40937)


barnett2010 wrote:
Sorry, I didn't operate correctly. I should put all the files in the same directory.

I guess it depends by the version of quickbms you are using.
Here with 0.9.2 it worked automatically without moving the idx file.
Anyway it's not very important, it's just a simple operation more :)
  • Author
  • Localization

barnett2010, posted Wed Dec 05, 2018 2:21 am (41001)


aluigi wrote:
barnett2010 wrote:
Sorry, I didn't operate correctly. I should put all the files in the same directory.

I guess it depends by the version of quickbms you are using.
Here with 0.9.2 it worked automatically without moving the idx file.
Anyway it's not very important, it's just a simple operation more :)



Game version updated,
data files are also a few more,
with a script to unpack,
found that some files are garbled name,
new file download link http://t.cn/EyfKDET
  • Author
  • Localization

aluigi, posted Wed Dec 05, 2018 9:41 am (41010)


The name is set to empty (sequential name auto guessed extension) if there is no hash found in the database collected in the idx file.

I don't know if they are files meant to be replaced, for example they have been replaced with updated new files (new files are added and the old ones keep in the archive for incremental patching), anyway if they are just few you can ignore them.
  • Author
  • Localization

barnett2010, posted Wed Dec 05, 2018 10:52 am (41014)


aluigi wrote:
The name is set to empty (sequential name auto guessed extension) if there is no hash found in the database collected in the idx file.

I don't know if they are files meant to be replaced, for example they have been replaced with updated new files (new files are added and the old ones keep in the archive for incremental patching), anyway if they are just few you can ignore them.



OK, thank you so much , then ignore them first, The number of these files is 1105.
  • Author
  • Localization

aluigi, posted Wed Dec 05, 2018 12:54 pm (41021)


1105? They are a lot.
It's still possible that they are updated files, after all that's just the job of an update :)
The confirm would happen if you have the old archive and you can compare the hash of one of these nameless files with one of the files in the old archive.

Anyway what's important is that everything has been extracted and those nameless files may or may not be useful.
  • Author
  • Localization

barnett2010, posted Wed Dec 12, 2018 10:32 am (41299)


aluigi wrote:
1105? They are a lot.
It's still possible that they are updated files, after all that's just the job of an update :)
The confirm would happen if you have the old archive and you can compare the hash of one of these nameless files with one of the files in the old archive.

Anyway what's important is that everything has been extracted and those nameless files may or may not be useful.



300.idx ?Can this file be converted into a plain txt file? How?
  • Author
  • Localization

aluigi, posted Wed Dec 12, 2018 1:38 pm (41308)


It's a binary format.
You can use the -V option of quickbms (better -V -l for not re-extracting everything) if you want to view all the details of the fields read from the idx file.
  • Author
  • Localization

yuxin123, posted Sat Jan 04, 2020 12:24 pm (52971)


aluigi ,
PC Game the swords of legends 3 is updated now. It has 37 dota files, and 302.idx not 300.idx now. When I use the script, it shows following:

Quote:
Error: the compressed LZMA input is wrong or incomplete (0)
Info: algorithm 16
offset 0000006c
input size 0x000239c8 145864
output size 0x00080000 524288
result 0xffffff9c -100

Error: the uncompressed data (-100) is bigger than the allocated buffer (524288)

Last script line before the error or that produced the error:
48 clog MEMORY_FILE OFFSET CHUNK_ZSIZE CHUNK_SIZE


Can you help me what's wrong with it ?
  • Author
  • Localization

SaraKale, posted Tue Mar 10, 2020 3:55 pm (54540)


swords of legends 3 Update 303.idx now, There are also mistakes. aluigi Please help us :cry:
  • Author
  • Localization

SaraKale, posted Mon Mar 16, 2020 3:14 pm (54688)


aluigi wrote:
It's a binary format.
You can use the -V option of quickbms (better -V -l for not re-extracting everything) if you want to view all the details of the fields read from the idx file.


Hi aluigi, excuse me,swords of legends 3 Update 303.idx now, use new_sword_legends.bms script error, :cry: Can you update it? Thank you very much!!
303.idx file download:
https://mega.nz/#F!l0o3SBSC!uF3vm1TSgoJwK5gidu71gw
  • Author
  • Localization

SaraKale, posted Sat Mar 21, 2020 1:51 pm (54873)


aluigi wrote:
Just made an update on the fly, let me know if it works:
http://aluigi.org/bms/new_sword_legends.bms

wow! It works! Thank you so much!!!That's great!
But I don't know how to extract .xxx / .bk2 file. It looks encrypted? What tools can I use to open them?
  • Author
  • Localization

Kaplas, posted Sat Mar 21, 2020 3:04 pm (54875)


.xxx files are encrypted with XXTEA algorithm: https://en.wikipedia.org/wiki/XXTEA

Each file has a different encryption key. I've found these ones:

Code:
cutscene\1010\cs_1010_1a.xxx: 84bf71f9a6a44fa3f3e1a266166dac7297f6018b
cutscene\1010\cs_1010_1b.xxx: 3cdfdf73bef25ae40a40215025fcabaffca2c72a
interface\resource\movie\cg00100b.xxx: 25bcfb70b5cc7e0f2253ffe8a9e3d6e831aad2f5
interface\resource_en\movie\optxt.xxx: 73be7f337c0c248926630719cdbe927895866a41
maps\m01\elems.xxx: 4a40a9712bfdc8e79c46b0ab735130d947dfe6f1
sounds_console\bgm.xxx: 5ff3f69e1d15a67f5d578dbc4d7ce263c1e83135
sounds_console\bgm_p1.xxx: b388c0bf15d0b39c684a0af3c2c3b925c00598b0
sounds_console\voice.xxx: 7ba2771ca1907e9f7348f38a5b8b3881d44db8a2
sounds_console\voice_npc.xxx: 960513d4e71a2b003eda159891e102c43e344eed
sounds_console\voice_p1.xxx: 1b2466ac36ee2e9c2fce01f76dbb1e873df42c06
  • Author
  • Localization

SaraKale, posted Sun Mar 22, 2020 12:44 pm (54947)


Kaplas wrote:
.xxx files are encrypted with XXTEA algorithm: https://en.wikipedia.org/wiki/XXTEA

Each file has a different encryption key. I've found these ones:

Code:
cutscene\1010\cs_1010_1a.xxx: 84bf71f9a6a44fa3f3e1a266166dac7297f6018b
cutscene\1010\cs_1010_1b.xxx: 3cdfdf73bef25ae40a40215025fcabaffca2c72a
interface\resource\movie\cg00100b.xxx: 25bcfb70b5cc7e0f2253ffe8a9e3d6e831aad2f5
interface\resource_en\movie\optxt.xxx: 73be7f337c0c248926630719cdbe927895866a41
maps\m01\elems.xxx: 4a40a9712bfdc8e79c46b0ab735130d947dfe6f1
sounds_console\bgm.xxx: 5ff3f69e1d15a67f5d578dbc4d7ce263c1e83135
sounds_console\bgm_p1.xxx: b388c0bf15d0b39c684a0af3c2c3b925c00598b0
sounds_console\voice.xxx: 7ba2771ca1907e9f7348f38a5b8b3881d44db8a2
sounds_console\voice_npc.xxx: 960513d4e71a2b003eda159891e102c43e344eed
sounds_console\voice_p1.xxx: 1b2466ac36ee2e9c2fce01f76dbb1e873df42c06

i see, Thank you!
  • Author
  • Localization

SaraKale, posted Sun Mar 22, 2020 3:16 pm (54953)


SaraKale wrote:
Kaplas wrote:
.xxx files are encrypted with XXTEA algorithm: https://en.wikipedia.org/wiki/XXTEA

Each file has a different encryption key. I've found these ones:

Code:
cutscene\1010\cs_1010_1a.xxx: 84bf71f9a6a44fa3f3e1a266166dac7297f6018b
cutscene\1010\cs_1010_1b.xxx: 3cdfdf73bef25ae40a40215025fcabaffca2c72a
interface\resource\movie\cg00100b.xxx: 25bcfb70b5cc7e0f2253ffe8a9e3d6e831aad2f5
interface\resource_en\movie\optxt.xxx: 73be7f337c0c248926630719cdbe927895866a41
maps\m01\elems.xxx: 4a40a9712bfdc8e79c46b0ab735130d947dfe6f1
sounds_console\bgm.xxx: 5ff3f69e1d15a67f5d578dbc4d7ce263c1e83135
sounds_console\bgm_p1.xxx: b388c0bf15d0b39c684a0af3c2c3b925c00598b0
sounds_console\voice.xxx: 7ba2771ca1907e9f7348f38a5b8b3881d44db8a2
sounds_console\voice_npc.xxx: 960513d4e71a2b003eda159891e102c43e344eed
sounds_console\voice_p1.xxx: 1b2466ac36ee2e9c2fce01f76dbb1e873df42c06

i see, Thank you!

I forgot which script it was. Did anyone write the xxtea bms script?
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.