Grid Sage Forums

REXPaint => Everything REXPaint => Topic started by: LecithinEmulsifier on March 17, 2018, 08:19:11 PM

Title: reximage - Go Package for .xp decoding/importing
Post by: LecithinEmulsifier on March 17, 2018, 08:19:11 PM
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 (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.

Title: Re: reximage - Go Package for .xp decoding/importing
Post by: Kyzrati on March 17, 2018, 11:54:07 PM
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)
Title: Re: reximage - Go Package for .xp decoding/importing
Post by: LecithinEmulsifier on March 18, 2018, 09:15:28 AM
If you aren't ultra-famous by now, none of us will ever be :P