Swords Of Legends 3 ,how to unpack it?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Kaplas
Posts: 60
Joined: Fri Jan 25, 2019 2:47 pm

Re: Swords Of Legends 3 ,how to unpack it?

Post by Kaplas »

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

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
SaraKale
Posts: 17
Joined: Tue Oct 02, 2018 11:46 am

Re: Swords Of Legends 3 ,how to unpack it?

Post by SaraKale »

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

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!
SaraKale
Posts: 17
Joined: Tue Oct 02, 2018 11:46 am

Re: Swords Of Legends 3 ,how to unpack it?

Post by SaraKale »

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

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?