Jump to content
Media Servers Online: EmuMovies Sync | Launchbox Sync | FTP USA | FTP Europe ×

Atari 7800 2D Cartridges Pack


Circo

Recommended Posts

  • 10 months later...

I noticed the file names were different from the other atari 7800 roms and artwork I had.  I hacked together this bash script to rename them (run from Media\Atari 7800\Images\)

#!/bin/bash

ls ./Artwork2|grep "\.png$" > art2
ls ./Artwork4|grep "\.png$" > art4
while read line
do
  rootName=$(echo $line|sed 's/(.*//')
  if [[ $(cat art2|grep "^$rootName"|wc -l) -eq 1 ]]; then
    art2Name=$(cat art2|grep "^$rootName")
    mv "./Artwork4/$line" "./Artwork4/$art2Name"
  fi
done < art4

 

Link to comment
Share on other sites

On 1/14/2018 at 10:31 PM, gimmievids88 said:

I noticed the file names were different from the other atari 7800 roms and artwork I had.  I hacked together this bash script to rename them (run from Media\Atari 7800\Images\)


#!/bin/bash

ls ./Artwork2|grep "\.png$" > art2
ls ./Artwork4|grep "\.png$" > art4
while read line
do
  rootName=$(echo $line|sed 's/(.*//')
  if [[ $(cat art2|grep "^$rootName"|wc -l) -eq 1 ]]; then
    art2Name=$(cat art2|grep "^$rootName")
    mv "./Artwork4/$line" "./Artwork4/$art2Name"
  fi
done < art4

 

If you download using our EM Sync app it will rename the files automatically to match your roms.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...