Skip to content

Tool to convert Sprite Sheet in PNG to HEX file that can be loaded as a resource #11

@plattysoft

Description

@plattysoft

Aseprite can export a png sprite sheet, but msxbas2rom prefers to import binary hexadecimal files (compressed with pletter). This would be the most convenient way to work with sprites if we had such a tool.

Similar code examples exist, so it should not be too complicated to do

Combine the PNG reader for sprites from RetroDeluxe and the hex output from nMSXTiles into a command line tool that reads a png and creates a sprite sheet, actually, nMSXTiles does png parsing too

https://github.com/pipagerardo/nMSXtiles/blob/master/src/cscreenw.cpp

  • ExportScreenBinPletter
  • ImportTilesPNGAdv

https://github.com/retrodeluxe/rlengine-msx/blob/master/tools/png2header.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions