dyreschlock / pocket-utils

Collection of Java programs and Shell scripts to update and manage the content on my Analogue Pocket
3 stars 0 forks source link

Create Library Images - Run Script from Java #9

Closed dyreschlock closed 1 year ago

dyreschlock commented 1 year ago

Java can run shell scripts, so for the Create Library Images program, have parts 2, 3, and 4 all run within the Java program.

  1. Download PNG from libretro, convert PNG to BMP
  2. Convert BMP to BIN and copy it to Library directory on Pocket SD
  3. Mark successful completion in database.

No more extra steps.

dyreschlock commented 1 year ago

The script is now run from Java, so if a game doesn't have a library image, and can find an image online, the entire process is completed in just one run of the program, rather than multiple.