Disney's Hercules FS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
m (Ikskoks moved page Hercules to Disney's Hercules)
imported>Ikskoks
Line 41: Line 41:
* [[Game Extractor|Game Extractor]]
* [[Game Extractor|Game Extractor]]
* [http://www.ctpax-x.org/?goto=files&show=114 Disney's Hercules tools] (with Delphi source codes)
* [http://www.ctpax-x.org/?goto=files&show=114 Disney's Hercules tools] (with Delphi source codes)
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Disney's%20Hercules%20PC/Hercules_PC_Tool.py Hercules PC Tool]

Revision as of 10:21, 25 October 2020

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