Java-based SpriteViewer/SpriteConverter prerelease
Steffen Huber (91) 1953 posts |
Hi, I have just put the latest version (0.2.0) of SpriteViewer/SpriteConverter online, a Java-based tool (so running on all platforms where Java SE version 7 or later is available – Windows, MacOS, Linux including Raspian) to view the content of Sprites files and convert sprite(s) within to common bitmap formats like PNG, BMP, JPEG and GIF. Both a simple GUI (SpriteViewer) and a command line tool (SpriteConverter) is included. The new version fixes all known bugs and adds a palette view, support for classic 16/64 entry palette 256 colour sprites, D&D of Sprites file, export of a sprite from the GUI as PNG/JPEG/BMP/GIF, avoiding alpha channel when converting to formats without alpha support (JPEG, BMP) and a slightly more verbose ReadMe. Hopefully, all known Sprite formats are now supported. There is something slightly wrong with the calculation of the colours in 16/64 entry palettes when extending to 256 colours, but this should be hardly noticeable. Download the Windows version: https://www.huber-net.de/riscos/SpriteViewer_0.2.0_Windows.zip Download the generic Java version (Windows, Linux, MacOS): https://www.huber-net.de/riscos/SpriteViewer_0.2.0_Java.zip Thanks to Anton Reiser, Jan de Boer, Jeffrey Lee and Martin Würthner for their input. Much appreciated. |
Raik (463) 2061 posts |
Cool, is working fine. |
Steffen Huber (91) 1953 posts |
I have released 0.3.0 of SpriteViewer/SpriteConverter which fixes the serious converter bug I discovered… Download the Windows version: https://www.huber-net.de/riscos/SpriteViewer_0.3.0_Windows.zip Download the generic Java version (Windows, Linux, MacOS): https://www.huber-net.de/riscos/SpriteViewer_0.3.0_Java.zip |
Martin Wuerthner (146) 20 posts |
I tested this quickly, and it coped with every sprite file I have thrown at it. Great stuff, Steffen! It is really nice that I can look at sprite files in the RISC OS partition on my Windows machine without having to boot into VirtualRPC first. The obvious next step is to implement a Draw viewer. And then of course an ArtWorks viewer. That will keep you busy for a while… ;-) |
Steffen Huber (91) 1953 posts |
I am trying to tackle the easy stuff first…nearly-ready is the BBC BASIC viewer (just detokenizing, no syntax colouring yet!), the Text viewer with proper Acorn Latin 1 encoding support and – most important for me when working in my Emulator/Network share mixed OS world – the Archive viewer, which will handle ZIP as well as – thanks to the work done by James Woodcock – Spark/ArcFS, PackDir, Squash and CFS. Once everything fits together, it will be a true “RISC OS file browser” with a plugin service concept, so anyone competent can contribute viewers for specific filetypes. So that will be the moment when I expect you to contribute that ArtWorks viewer :-) |