Hercules

From XentaxWiki
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