Just released a new update. Sources and everything are up on Sellfy now!
V1.10
Plugin system
The previous version had a basic plugin system that externalised a few things that would usually load on client start up. It's now had a lot of work and allows switching between different caches as easily as changing a file in a folder (in future this will be done from a startup page).
Released Plugins
To go along with the new plugin system, I've released 3 plugins with the editor. They are for RuneUnity, DeathlyPvPz and standard OSRS data. These are provided as compiled jars in the download, and there's an instruction file to help you understand how things work. If you have a cache you would like a plugin written for, please let me know. They should be very simple to make now.
Writing your own plugins
You can extend ClientPlugin and ApplicationPlugin in your own classes. You can interact with the UI of the MainWindow from an ApplicationPlugin, to add your own logic for dropdown menus. The ClientPlugin allows you to run a function at initialization of the plugin and once the game has been loaded. It also gets a copy of any resource delivered from the cache upon request. If you're interested in looking at the code, I'll be providing source code for every plugin I release.
Misc
- RS style fonts have been removed and now uses Graphics2D to draw strings instead.
- Texture loading has been changed for use in future HD texturing support for RuneUnity (and other clients that load HD textures).
- Rasterizer has been made into a non static file, which should allow for rendering multiple maps in the future.
- You can now right click the minimap and save it to a 256 x 256 PNG file.
- Saving to a .gz format should now allow it to be packed with rsam-gui without giving an error.
- The provided cache now loads 160 data (haven't tested fully).
Notes
Animations are currently disabled while I add plugin support for loading them.
I'm hoping to redo this thread soon with updated media and some tutorials.