Common Library Functions such as Sprite to Image conversion, compression, etc. This is useful if you are developing a ROM tool and need to:
-
Convert PNG Images to sprites to include them into the game.
-
Convert sprites to PNG images for a preview.
-
Read uncompressed data
-
Compress data for inclusion into the game
You can use the Maven github repository.
Coordinates will be:
<project>
<!-- … -->
<dependencies>
<!-- https://github.com/alttpj/alttpj-library -->
<dependency>
<groupId>io.github.alttpj.library</groupId>
<artifactId>alttpj-library</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<!-- … -->
<repositories>
<repository>
<id>github</id>
<name>GitHub alttpj-library Apache Maven Packages</name>
<url>https://maven.pkg.github.com/alttpj/alttpj-library</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</project>
The root package is: io.github.alttpj.library
See INSTALL.
Things which need to be done:
-
(Maybe) Use imageIndex for the tiles in Alttp3bppImageReader
-
Add more formats, e.g. one format which includes the palette index.
-
See issues and CONTRIBUTING if you want to help out.
Your help is very much appreciated!