Skip to content

Releases: lybell-art/xnb-js

v1.3.0

26 Mar 14:21
4387616
Compare
Choose a tag to compare

core

  • Add custom scheme reader. You can make custom scheme using reflective xnb reader like this,
export default {
	DisplayName: "String",
	$Description: "String",
	IsDebuff: "Boolean",
	$GlowColor: "String",
	Duration: "Int32",
	MaxDuration: "Int32",
	IconTexture: "String",
	IconSpriteIndex: "Int32",
	$Effects: "StardewValley.GameData.Buffs.BuffAttributesData",
	$ActionsOnApply: ["String"],
	$CustomFields: {"String": "String"}
}

and import using setSchemes().

  • Add enum support. You can add your c# enum string using setEnum().
  • Fix a bug that double reader read wrong value from xnb file.

readers

  • Fix nullable reader pack error with primitive value.
  • Add stardew valley 1.5 ios texture2D support.

v1.2.0

22 Jun 14:06
62ccecd
Compare
Choose a tag to compare

core

  • Added feature to pack png files with missing header json files into xnb files. xnb.js generates its own header data.
  • Fixed a bug where non-32-bit rgba png files were incorrectly packed.

readers

  • The feature to unpack or pack bgra5551 Texture2D data(=format 2) is added.
  • Fixed a bug where RGB values were lost when repeating packing after unpacking texture files with alpha values.

v1.1.0

25 May 08:12
81d7e16
Compare
Choose a tag to compare

core

The core part and the reader part are separated.
The logic to check the reader type has been changed to be dependent on the reader rather than the core.
ReflectiveReader is implemented.
Changed the logic of NullableReader.
Fixed a series of bugs when unpacking xnb data with NullableReader into YAML.
Added ability to add and configure reader plugins.

plugins-stardew valley

add stardew valley custom data reader plugin.

web demo

Now you can read the custom data types added from Stardew Valley 1.4 to 1.5.5.
When you change the config checkbox, the contents of the resulting file change.
Added the feature to set the compression algorithm when packing.
Fixed a bug that caused the UI to twist slightly in the mobile environment.

v1.0.5

17 May 14:39
Compare
Choose a tag to compare

Fixed an bug where xnb files decompressed with lz4 were not read properly when unpacked after packing.

v.1.0.4

17 May 13:29
Compare
Choose a tag to compare

Fixed the problem that LZ4 compressed xnb files could not be opened

v1.0.2

17 May 06:37
837a22b
Compare
Choose a tag to compare

Initial Public Release

v.1.0.1(private) : Improve performance in decompressing lzx
v.1.0.0(private) : Initial Private Release