# 幻欲炼金这款游戏如何解包

**URL:** <https://live2dhub.com/t/topic/2835>\
**Category:** 讨论\
**Created:** [2024 年1 月 2 日 11:47 UTC](https://live2dhub.com/t/topic/2835 "2024-01-02T11:47:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

作者： ![a5417201](https://live2dhub.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@a5417201](https://live2dhub.com/u/a5417201)\
发布日期： [2024 年1 月 2 日 11:47 UTC](https://live2dhub.com/t/topic/2835/1 "2024-01-02T11:47:47Z")

</div>

RT 数据包里全部是加密的资源

---

<div class="post-metadata">

作者： ![2010cxy0](https://live2dhub.com/letter_avatar_proxy/v4/letter/2/f17d59/32.png) [@2010cxy0](https://live2dhub.com/u/2010cxy0)\
发布日期： [2024 年1 月 2 日 13:54 UTC](https://live2dhub.com/t/topic/2835/2 "2024-01-02T13:54:21Z")

</div>

看了下游戏的安装包没有加密，后下载有25mb加密资源，但从命名来看应该不重要，你要的东西应该都在安装包里，如果你说的加密不是专指那25mb资源，应该是你的AS版本过低导致解不出来  
另外我点好奇你为什么只问这个，ero的其他游戏例如绅士冒险和浩劫前线你知道如何解包吗？

---

<div class="post-metadata">

作者： ![a5417201](https://live2dhub.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@a5417201](https://live2dhub.com/u/a5417201)\
发布日期： [2024 年1 月 2 日 15:06 UTC](https://live2dhub.com/t/topic/2835/3 "2024-01-02T15:06:20Z")

</div>

这个游戏包体只有200m 数据有1g spine这些都不在包里

---

<div class="post-metadata">

作者： ![2010cxy0](https://live2dhub.com/letter_avatar_proxy/v4/letter/2/f17d59/32.png) [@2010cxy0](https://live2dhub.com/u/2010cxy0)\
发布日期： [2024 年1 月 2 日 15:10 UTC](https://live2dhub.com/t/topic/2835/4 "2024-01-02T15:10:20Z")

</div>

> **[EROLABS | Best Waifu of Your Laifu](https://game.erolabs.cloud/game.html?id=51)**
>
> Here you can find the horniest porn games you've ever seen.

那你肯定哪里搞错了，安装包有1.2g并且spine都在里面

---

<div class="post-metadata">

作者： ![a5417201](https://live2dhub.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@a5417201](https://live2dhub.com/u/a5417201)\
发布日期： [2024 年1 月 2 日 15:12 UTC](https://live2dhub.com/t/topic/2835/5 "2024-01-02T15:12:51Z")

</div>

com.LanYiGame.hylj 是这个吗

---

<div class="post-metadata">

作者： ![a5417201](https://live2dhub.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@a5417201](https://live2dhub.com/u/a5417201)\
发布日期： [2024 年1 月 2 日 15:16 UTC](https://live2dhub.com/t/topic/2835/6 "2024-01-02T15:16:01Z")

</div>

你能把你的apk发一份给我吗 难道我们下的不是一个游戏？

---

<div class="post-metadata">

作者： ![2010cxy0](https://live2dhub.com/letter_avatar_proxy/v4/letter/2/f17d59/32.png) [@2010cxy0](https://live2dhub.com/u/2010cxy0)\
发布日期： [2024 年1 月 3 日 02:09 UTC](https://live2dhub.com/t/topic/2835/7 "2024-01-03T02:09:30Z")

</div>

你看我上面发的链接，里面就有安装包下载

---

<div class="post-metadata">

作者： ![bakaneko](https://live2dhub.com/letter_avatar_proxy/v4/letter/b/e79b87/32.png) [@bakaneko](https://live2dhub.com/u/bakaneko)\
发布日期： [2024 年1 月 5 日 11:53 UTC](https://live2dhub.com/t/topic/2835/8 "2024-01-05T11:53:34Z")

</div>

幻欲炼金游戏的apk包里的资源没有加密，但是更新的资源有加密，观察加密的资源发现前几个字节都是yBEXUj，并且前几十个字节都是相同的，猜测可能是异或加密，拿apk包里的和加密资源比对，猜测密钥为0x2C，尝试解密成功，不过我下的是lsj的叫纯欲的炼金术师 应该是同一个游戏 加密应该一样我就不下载尝试了 简单写个代码 记得换下路径位置

```auto
import os

def xor_decrypt(path):
    for root, dirs, files in os.walk(path):
        for file in files:
            file_path = os.path.join(root,file)
            with open(file_path, 'rb') as file:
                encrypted_data = file.read()
                if encrypted_data[0:6] == b'yBEXUj':
                   decrypt_data = bytes([byte ^ 0x2C for byte in encrypted_data])
                   with open(file_path, 'wb') as file:
                        file.write(decrypt_data)
                        print("正在解密文件",file.name)

if __name__ == ' __main__':
    path = r"C:\Users\zjbook\Desktop\assets"
    xor_decrypt(path)

```

 ![U@5NHEX71H{AF54O30LICR](https://live2dhub.com/uploads/default/original/2X/7/753f35aa14c3c5713dd620549a0d53e44d02e907.png)  
 ![X_8U6H$7ZZ{D)VGQ3)P8L](https://live2dhub.com/uploads/default/original/2X/a/a0a35d20af6deafe1b5ab60b6478413c6b90376f.png)  
 ![QXFGIHGA0V(R{RRASC0Z12Q](https://live2dhub.com/uploads/default/original/2X/3/386b1b80b0a4a0e8d318e41523ddec0bfe827221.png)
