Giter Site home page Giter Site logo

mabi-pack2's People

Contributors

regomne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mabi-pack2's Issues

[request] Adding .jpg and .raw to compression list

#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

在自己测试时发现了一个诡异的事情:

我手贱把

mabi-pack2/src/snow2.h

Lines 65 to 72 in 7b52603

typedef struct
{
u32 keysize;
s8 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;
改成了

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(


单元测试正常≠实际测试正常

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.