CPCWiki forum

General Category => Programming => Topic started by: nicf82 on 16:21, 01 April 20

Title: Sprite editor or bitmap converter for linux / macos
Post by: nicf82 on 16:21, 01 April 20
Ive been trying to find a sprite editor or a tool that can convert an image into a bunch of sprites for the CPC in mode 0/1/2.
If I could create my sprites as a bitmap then run a command line tool to do the bit reordering / palette generation then that would be perfect.
So far everything i have found is for windows only, and ive had no success running in either Wine (way too slow to be usable) or a VM (requires an recent version of windows/.net) which i don't have.
Has anyone got any suggestions that will run on MacOS or Linux?
CheersNic
Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: Fessor on 17:20, 01 April 20
You should give img2cpc a look.http://www.cpcwiki.eu/index.php/Img2CPC
Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: Sid_ on 19:03, 01 April 20
You can check Martine also that's her job.
https://github.com/jeromelesaux/martine?files=1 (https://github.com/jeromelesaux/martine?files=1)

Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: nicf82 on 19:35, 01 April 20
 :D Brilliant thanks guys i will give those two tools a shot!
Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: Hwikaa on 09:12, 02 April 20
Quote from: Sid_ on 19:03, 01 April 20
You can check Martine also that's her job.
https://github.com/jeromelesaux/martine?files=1 (https://github.com/jeromelesaux/martine?files=1)
I totally recommend Martine. I've been using it extensively these last few days, and it's aaawwwesome. 👍🏼
Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: HAL6128 on 11:12, 02 April 20
I can't get it work to compile... . What are the dependencies?



go get github.com/jeromelesaux/martine
cd $GOPATH/src/github.com/jeromelesaux/martine
go get
go build



"go get" gives me:
# github.com/jeromelesaux/martine/export
export/export_type.go:143:6: undefined: strings.ReplaceAll
export/export_type.go:144:6: undefined: strings.ReplaceAll
export/export_type.go:145:6: undefined: strings.ReplaceAll
# github.com/jeromelesaux/m4client/m4
../m4client/m4/m4.go:200:18: undefined: strings.ReplaceAll


Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: Sid_ on 15:04, 02 April 20
Simply download binaires from releases : https://github.com/jeromelesaux/martine/releases (https://github.com/jeromelesaux/martine/releases)

Title: Re: Sprite editor or bitmap converter for linux / macos
Post by: HAL6128 on 15:09, 02 April 20
Thanks. That was easy! :)
Powered by SMFPacks Menu Editor Mod