regomne / mabi-pack2 Goto Github PK
View Code? Open in Web Editor NEWNew pack utilities for Mabinogi
License: MIT License
New pack utilities for Mabinogi
License: MIT License
#3
The reason I asked for version and compression as CLI arguments was because it looked like you were using them in IT_VERSION and compress_to_vec_zlib(&stm, 5), but if it's not needed then I guess it's fine.
I was able to lower my uotiara_00001.it down from 70MB to 50MB by adding .jpg and .raw extensions because UO Tiara includes edited HD minimaps and they still work fine in the game.
Err: header checksum wrong
但是我和官方的version.txt对了 文件校验值是对的
是不是文件格式更了?
按照正常方案 解出的文件头的version是59
data\material_define..
any .it file created containing this will cause a crash on client upon load.
removing this folder and repacking removes the crash
this folder and its contents are needed to create custom textures and such.
.it pack use Snow2 cipher
Snow2 implement: https://github.com/k0dai/fsbench-density/blob/cb719fdb07354e0c39a255d8d12f3cbd50b44406/src/codecs/ecrypt/snow2_fast.c
it could be replaced by this:
c_init_enc_state => snow_loadkey_fast
c_update_enc_state => snow_keystream_fast
additional:
snow_loadkey_fast use u32, assembly code would be movzx, it may cause a bad keystream, I think i32 would be correct.
我手贱把
Lines 65 to 72 in 7b52603
typedef struct
{
u32 keysize;
u8 key[32]; /* MODIFIED in Mabinogi, original type is u8 */
u32 s15, s14, s13, s12, s11, s10, s9, s8, s7, s6, s5, s4, s3, s2, s1, s0;
u32 r1, r2;
} Snow2_ctx;
然后跑cargo test 直接过了...
我怀疑洛奇可能是直接用了u8(
单元测试正常≠实际测试正常
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.