DECLARE FUNCTION DQBunpackPal (PacketID AS INTEGER, Pal AS STRING)
PacketID - Packet ID number
Pal - 768 characters string to hold decoded palette data
An INTEGER value holding the unpacking results: > 0 Operation successful > 1 Datafile not yet opened > 2 Unknown packet ID number > 3 Bad password or unknown data
Decodes the palette identified by specified packet ID number from the currently opened datafile, and stores it into the Pal string. You can then use it with all the other DQB palette handling functions.
none
See DQBopenDataFile