#!/bin/bash
  
  clear
  echo -e
  echo -en "\E[32;1m Enpack NEW.DAT... \E[32;0m"
  echo -e
  echo -e
  ls \
  STOCK/system.new.dat \
  STOCK/system.transfer.list
  echo -e
  echo -en "\033[1m Input image <name>: \033[0m"
  tput sgr0
  read INPUT
  
  tools/sdat2img/sdat2img.py STOCK/$INPUT.transfer.list STOCK/$INPUT.new.dat PROJECT/$INPUT.img
  
  echo
  echo -en "\033[1m Finished \033[0m"
  echo
  tput sgr0
  echo
  echo "Press Enter to continue"
  read enterKey
