Skip to content

modeckimellett/rescomp-ext-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a sample of how to write and build extensions for SGDK's rescomp tool with Maven. For more information see my blog post.

This is not a complete SGDK project, but is instead intended to act as an example of the minimal file changes needed to add a rescomp_ext.jar to your own project.

Prerequisities

Java, Maven, SGDK 2.10 or above1, and an SGDK project you're working on.

Build

mvn install:install-file -Dfile=%GDK%/bin/rescomp.jar -DgroupId=sgdk -DartifactId=rescomp -Dversion=3.95 -Dpackaging=jar -DgeneratePom=true

cd res/rescomp_ext

mvn clean install

cd ../..

java -jar %GDK%/bin/rescomp.jar res/resources.res res/resources.s

where %GDK% is the path to your SGDK install.

Footnotes

  1. Older versions of rescomp had an issue loading some classes in the extension jar.

About

A sample of how to write and build extensions for SGDK's rescomp tool with Maven.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published