Posted: Tue Aug 26, 2008 9:45 am
I’d like to point out that the -verify-oxp command-line option catches some of the issues Commander McLane mentioned (after the plist is fixed), and some he missed:
Some notes:
Code: Select all
Running OXP verifier for /Users/jayton/Downloads/Amen Bricks Megaships.oxp
Scanning files
NOTE: skipping junk file Images/Thumbs.db.
WARNING: apparent Read Me file ("Read Me.txt") inside OXP. This is the wrong place for a Read Me file, because it will not be read.
NOTE: skipping junk file Textures/Thumbs.db.
Checking shipdata.plist
Ship "abBattleship":
WARNING: key "max_missiles" does not apply to this category of ship.
WARNING: unknown key " has_energy_bomb ".
ERROR: case mismatch: request for file "Models/abBattleship.dat" referenced in entry "abBattleship" of shipdata.plist resolved to "Models/abbattleship.dat".
Ship "abBattleshipPirate":
WARNING: key "max_missiles" does not apply to this category of ship.
WARNING: unknown key " has_energy_bomb ".
ERROR: case mismatch: request for file "Models/abBattleshipPirate.dat" referenced in entry "abBattleshipPirate" of shipdata.plist resolved to "Models/abbattleshippirate.dat".
Ship "abBattleshipPolice":
WARNING: key "max_missiles" does not apply to this category of ship.
WARNING: unknown key " has_energy_bomb ".
WARNING: unknown key "isCarrier".
ERROR: case mismatch: request for file "Models/ABBattleshipPolice.dat" referenced in entry "abBattleshipPolice" of shipdata.plist resolved to "Models/abbattleshippolice.dat".
Ship "abHospital":
WARNING: key "max_missiles" does not apply to this category of ship.
ERROR: case mismatch: request for file "Models/ABhospital.dat" referenced in entry "abHospital" of shipdata.plist resolved to "Models/abhospital.dat".
Ship "abYacht":
WARNING: key "max_missiles" does not apply to this category of ship.
ERROR: case mismatch: request for file "Models/abYacht.dat" referenced in entry "abYacht" of shipdata.plist resolved to "Models/abyacht.dat".
ERROR: case mismatch: request for file "Models/Biodome.dat" referenced in entry "Biodome" of shipdata.plist resolved to "Models/biodome.dat".
Ship "Cruiseship":
WARNING: key "max_missiles" does not apply to this category of ship.
ERROR: case mismatch: request for file "Models/Cruiseship.dat" referenced in entry "Cruiseship" of shipdata.plist resolved to "Models/cruiseship.dat".
Ship "Supercargo":
WARNING: key "max_missiles" does not apply to this category of ship.
Ship "Superlifter":
WARNING: key "max_missiles" does not apply to this category of ship.
ERROR: case mismatch: request for file "Models/Superlifter.dat" referenced in entry "Superlifter" of shipdata.plist resolved to "Models/superlifter.dat".
Testing models
TODO: implement model verifier.
Checking demoships.plist
Testing textures and images
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Hospitalship.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Hospitalship.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Supercargo.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Supercargo.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Cruiseship.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Cruiseship.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Yacht.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Yacht.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Battleshippirate.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Battleshippirate.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Biodome.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Biodome.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Battleshipnavy.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Battleshipnavy.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Battleshippolice.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Battleshippolice.jpg could not be read.
Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Superlifter.jpg as a texture - extension "jpg" does not identify a known type.
ERROR: image Images/Superlifter.jpg could not be read.
Checking for unused files
TODO: implement unused files check.
OXP verification complete.
- WARNING: key "max_missiles" does not apply to this category of ship.
max_missiles is currently ignored for NPCs. I intend to change that at some point, though. - ERROR: case mismatch: request for file "Models/abBattleship.dat" referenced in entry "abBattleship" of shipdata.plist resolved to "Models/abbattleship.dat".
This will break your OXP on Linux. - WARNING: unknown key "isCarrier".
This is a bug in the verifier (now fixed). - Can't use /Users/jayton/Downloads/Amen Bricks Megaships.oxp/Images/Hospitalship.jpg as a texture
As McLane said, the game uses the Images directory for images used in mission screens. All textures are required to be in PNG format. (Hmm, this message should use a relative path.)