Git Product home page Git Product logo

jwzlib's People

Contributors

arnuh avatar brenterino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jwzlib's Issues

IndexOutOfBounds when parsing Canvas

Initially tested using v38 wz. Happens for Mob.wz/9999999.img/info and Reactor.wz/9208013.img/info

It seems to be fixed by v59 and the last version I have that it still fails on is v56.

java.lang.IndexOutOfBoundsException
	at java.base/java.nio.Buffer.checkIndex(Buffer.java:682)
	at java.base/java.nio.DirectByteBuffer.get(DirectByteBuffer.java:271)
	at wz.io.WzMappedInputStream.readByte(WzMappedInputStream.java:58)
	at wz.io.WzInputStream.readByte(WzInputStream.java:95)
	at wz.io.WzInputStream.readBytes(WzInputStream.java:156)
	at wz.WzProperty.parseExtended(WzProperty.java:180)
	at wz.WzProperty.parse(WzProperty.java:120)
	at wz.WzProperty.parseExtended(WzProperty.java:147)
	at wz.WzProperty.parse(WzProperty.java:120)
	at wz.WzImage.parse(WzImage.java:81)
	at wz.WzImage.getChildren(WzImage.java:155)
	at wz.WzImage.getChild(WzImage.java:149)
	at wz.WzImage.getChild(WzImage.java:36)

Here is a link to the git as of this error.

And code I'm using to reproduce(only these two specific entries from what I know) and make sure to use WzVersion.BMS for v38

WzFile file = loadFile(Paths.get("D:\\MapleStory\\v38", "Mob.wz"), 38);
file.getChild("9999999.img").getChild("info");
file = loadFile(Paths.get("D:\\MapleStory\\v38", "Reactor.wz"), 38);
file.getChild("9208013.img").getChild("info");

Download to the files tested above

Hello,I have a question with method of decryptUnicodeStr.

Sorry,my English is very pool,may be you can not understand my mean,you can use Google translator to translate my Chinese below.
I parsed wz file of 'String.wz' in CMS v079, I got a garbled Chinese code,The good news is that the English parameters are ok.Can you help me solve this problem. happy everyday :)
首先感到抱歉,我的英文不怎么样,也许你看上面我写的话不能明白我的意思.你可以使用翻译工具。
我解析CMS 079版本的String.wz文件,非常糟糕的是我得到的中文是乱码,但是英文的参数都没问题,你可以帮我修复这个问题吗,祝你每天开心:)

About decryptUnicodeStr

version: clean GMS 83
item: 3010061 (String.wz)
normal name : Underneath the Maple Tree…
current name : ͕兕ꑮ賓潥癲慮ㅥ桡ꁴ轨ꤠ㉴Ṩ䱥ᐠ?㱡⹰㱬୥Ġ䕔該ꉥ佥?
reason:
If there is a special signal and normal text in one property, this will occur

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.