An open API service indexing awesome lists of open source software.

https://github.com/arkntools/unity-js-tools

Some tools for unity-js, compiled from Rust to Wasm
https://github.com/arkntools/unity-js-tools

assetbundle unity

Last synced: 8 months ago
JSON representation

Some tools for unity-js, compiled from Rust to Wasm

Awesome Lists containing this project

README

          

# unity-js-tools

[![NPM version](https://img.shields.io/npm/v/@arkntools/unity-js-tools?style=flat-square)](https://www.npmjs.com/package/@arkntools/unity-js-tools)

Some tools for [unity-js](https://github.com/arkntools/unity-js), compiled from Rust to Wasm.

## Include

- [PSeitz/lz4_flex](https://github.com/PSeitz/lz4_flex)
- [UniversalGameExtraction/texture2ddecoder](https://github.com/UniversalGameExtraction/texture2ddecoder)

## Notice

wasm-bindgen seems to have some kind of flaw that causes bit operations to be incorrect in rare cases.

This causes some texture decoding methods need to be manually implemented some parts to modify its results.

The following methods have been fixed:

- `decodeEtc2Rgba8`

Be careful, maybe there will be errors in other methods but have not been found yet.