#
# 2ooM: The Master of Orion II Reverse Engineering Project
# Test correct decoding of various images in ships.lbx
#
# 2ooM: The Master of Orion II Reverse Engineering Project
# Test correct decoding of various images in ships.lbx
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
command_ok_ "unpacking fonts.lbx" $LBXTOOL -xf "$MOO2DATA/fonts.lbx"
command_ok_ "unpacking ships.lbx" $LBXTOOL -xf "$MOO2DATA/ships.lbx"
command_ok_ "unpacking fonts.lbx" $LBXTOOL -xf "$MOO2DATA/fonts.lbx"
command_ok_ "unpacking ships.lbx" $LBXTOOL -xf "$MOO2DATA/ships.lbx"
command_ok_ "decoding ships.lbx.042" \
$LBXIMG -F pam --output-prefix test0 --palette fonts.lbx.012 \
-df ships.lbx.042 --override ships.lbx.049
command_ok_ "decoding ships.lbx.042" \
$LBXIMG -F pam --output-prefix test0 --palette fonts.lbx.012 \
-df ships.lbx.042 --override ships.lbx.049