注*:该项目只是为了方便拆包一《火影战记》游戏中的精灵一时兴起写的,完成度基本差不多了,之余批量解包也是可以自己修改源码做到的,目前不会考虑更新了,谢谢您的理解与支持(2023-02-01)
python -m venv venv
- windows
.\venv\Scripts\Activate.ps1
- linux
.\venv\Scripts\activate
pip install -r requirements.txt
python ./build.py
windows 用户可以在releases里下载,已经构建好的二进制exe文件
添加对jpg文件的支持,优化打包体积,删除多余依赖
增加了严格模式
选项,如果图片是使用TexturePackage
等软件正常打包,使用严格模式
即可
如果是人手写offset的文件,去除勾选严格模式
即可
如果软件打包的资源使用非严格模式
解压,再重新用软件打包,会造成图片偏移严重情况,请悉知
Added Strict Mode
option, if the image is packed normally using software such as TexturePackage
, use Strict Mode
.
If the file is handwritten offset, remove the Strict Mode
checkbox
If you use Non-strict mode
to unpack the resources packed by software, and then repack them with software, it will cause serious image shift.
- 可能解决了导出文件夹为空,但没有报错的问题
- 修改了图标配色
- 添加打开弹窗提示,也许这很烦人,但我尽可能的希望你看说明书
- 忘了
- May solve the problem that the export folder is empty, but no error is reported
- modified the icon color scheme
- Add open pop-up hint, maybe it's annoying, but I hope you read the manual as much as possible
- Forgotten
效果演示:https://www.bilibili.com/video/BV1s8411s7Dv/
- 基于
tkinter
的GUI界面 - 基于tp-png-spli
- 在此基础上,增加了导出精灵的每一帧名字代码输出
- 修改了传入数据结构,默认解压在和
Plist
同名字文件夹下 - 得益于
TkinterDnD2
实现了拖放识别文件路径
- GUI interface based on
tkinter
- Based on tp-png-spli
- On this basis, the name code output of each frame of the exported sprite is added
- Modified the incoming data structure, the default decompression is in the folder with the same name as
Plist
- Thanks to
TkinterDnD2
, drag and drop to identify file paths