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.

[PC/Android]Alice Gear Aegis - Need a help with bms scripting and file decrypting

Featured Replies

Hello there! Recently, my favorite game got updated and I decided to decrypt the resource downloaded, so I took the old method as it used to be. But, unfortunately this time something went wrong. By checking with HxD reader, it looks like the official changed the encryption so that AssetStudio cannot read the files properly, which panics me. Tried to solve it but failed due to lacking knowledge of programming, so I wonder if there is someone could help with this.

The old decrypting method is using the bms scripts in sequence. First, use the one below to get rid of fake header.

Quote

get ArcName filename
set Name string "new\\"
string Name + ArcName
get Size asize
math Size - 0x20
log Name 0x20 Size

Then, take the second one to recover the clear file that can be read by AssetStudio.

Quote

get NAME FILENAME
string TMP = "decrypted/"
string TMP + NAME
string NAME = TMP

encryption xor "\0\0\0\x065.x.x\x002018.4"
log MEMORY_FILE 8 16
encryption "" ""
getdstring KEY 16 MEMORY_FILE

log NAME 0 8
append
encryption xor KEY "" 0 16
log NAME 8 0x80
encryption "" ""
get SIZE asize
math SIZE - 0x88
log NAME 0x88 SIZE
append

By this, we will have the file from right to left, which becomes readable.

1.png.28bc8f323577c45bee153196b6918ce7.png

2.png.aa245bb2bd689d178d582dd61e693141.png

 

However, after updating, thing being different. It returned a false engine version, which makes the file no longer readable.

3.png.fc501c4f964c0ea8ad0c7d06c3c0d739.png

4.png.72f0b8f631a88318c29a76e48830afb7.png

 

I have attached the files here.sample.rar 

Wonder if there is someone so kind could lend me a hand here? Many thanks.

Edited by Weinixiong

  • 2 weeks later...
  • Author
On 6/9/2026 at 8:34 PM, h3x3r said:

Try this if it's open. If yes then change just this line > encryption xor "\0\0\0\x065.x.x\x002018.4" to > encryption xor "\0\0\0\x065.x.x\x002022.3"

Unfortunately, this method is invalid... I forcibly tried it already and got exact same thing like your attachment, unreadable still, guess it's not that simple I thought... Still thx for the reply.

1 hour ago, Weinixiong said:

Unfortunately, this method is invalid... I forcibly tried it already and got exact same thing like your attachment, unreadable still, guess it's not that simple I thought... Still thx for the reply.

Please update your topic title to include game name/format - it helps with others searching for information about the same game.

  • Weinixiong changed the title to [PC/Android]Alice Gear Aegis - Need a help with bms scripting and file decrypting
  • 4 weeks later...

I would also like to extract the models from this game. I would appreciate your help. If anyone is knowledgeable about this, please let me know.

Create an account or sign in to comment

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.