Main Menu

reximage - Go Package for .xp decoding/importing

Started by LecithinEmulsifier, March 17, 2018, 08:19:11 PM

Previous topic - Next topic

LecithinEmulsifier

Hi everyone!

After spending an embarrassing amount of time importing bloated .CSVs into my game, I finally got off my lazy butt and put together a Go solution for importing .xp files. As far as I can tell no other Go packages do this, so I commented it all up and added some documentation in the hopes it might be useful for someone! Find it at:

https://github.com/BenNicholls/burl-E/tree/master/reximage

I know there aren't many Go roguelike devs out there but hey, maybe this is the first step :). It's pretty simple for now. I haven't tested it too extensively but it works for my use case (small to medium size images, I haven't tried importing enormous zillion-cell images yet). It uses nothing but the Go standard library so it should work anywhere that Go does.


Kyzrati

Welcome and thanks for the package! I've put up a link on the website resources page as well, and will let the other devs in r/roguelikedev know about it next week. There's not a lot of big RL projects using Go just yet, but I know a number of devs have been experimenting with it!

(haha "ultra-famous roguelike developer"? xD)
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

LecithinEmulsifier

If you aren't ultra-famous by now, none of us will ever be :P