Skip to content

retro-esp32/Convert-Image-to-ROM-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert PNG to ROM art

Create .art crc32 format ROM art

Preview

Heroku

Play with the online converter

Convert PNG to ROM art git subtree push --prefix www heroku master

Prerequisites

# Homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Node.js
$ brew install node

# Image Magick
brew install [email protected]

Installation

# Navigate to app folder
$ cd app

# Install NPM packages
npm i

# run it
$ npm run dev

# Prompt (If you have not run this script, answer yes)
$ Would you like to run the conversion script now? (Y/n)

# Go have a coffee
# LET THE SCRIPT FINISH

CHMOD

If the above produces nothing

You may need to enable permissions on 2 files

$ cd ../
$ chmod 777 convert.sh
$ chmod 777 app/convert.sh

Run it again

$ npm run dev

Completion

Running the above script will produce two (2) folders

  • jpg
  • romart

The romart fodler contains *.art files in the emulator folder it belongs to!

Testing

Head on over to the great tool SarahC built on Code Pen

Upload one of your *.art files from the romart folder

Authors

  • Eugene Yevhen Andruszczenko - Initial and Ongoing Work - 32teeth

License

This project is licensed under the Creative Commons Attribution Share Alike 4.0 International - see the LICENSE.md file for details

Acknowledgments


Although we do this for 💕 of 🕹️

We Also Like Coffee! Please Consider Supporting
Support