Hercules

From XentaxWiki
Revision as of 21:08, 12 May 2013 by 66.28.139.242 (talk) (Supported Programs: site moved)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Choose archive extension:

FS


Format Specifications

// for each file (1024 records)
uint32 {4}   - File Hash
uint32 {4}   - File Offset
uint32 {4}   - File Length
byte {X}     - File Data


Notes and Comments

Hash routine in C++ code:

unsigned int herchash(char *s){
unsigned int hash, i;
  hash = 0;
  for(i = 0; i<strlen(s); i++){
    hash += toupper(s[i]) << ((i*8)%32);
  }
  hash += strlen(s);
  return(hash);
}


MultiEx BMS

Not written yet

Supported Programs