OldSchoolHack

Registrieren / Anmelden Deutsch

ReClassMap 1.0

icon Thema: [Release] ReClassMap 1.0

Anmeldungsdatum: Aug 2007

Beiträge: 1957

Kategorie: Tools
Entwickler: Tormund

Beschreibung:
Features:
  • Renders python descriptions of ReClass nodes and generates *.reclass database files
  • Leverages python syntax to produce quick class descriptions
    • Overloads the python index operator to elegantly describe offset mappings
  • Supports all primitive node types and most advanced ones too
  • Auto-generates padding of undefined memory ranges between defined nodes
  • Validates that all defined nodes do not overlap in memory based on their size
    • ReClassMap will error and provide info on any overlapping nodes


PYTHON Code:
  1. from ReClassMap import *
  2.  
  3. r = Map("./MyClasses.reclass")
  4.  
  5. C = r.Class(name="Foo0")
  6. C[0x00] = Int64(name="Bar0")
  7. C[0x08] = Int32(name="Bar1")
  8. C[0x0C] = Int16(name="Bar2")
  9. C[0x0E] = Int8(name="Bar3")
  10. C[0x0F] = Int8(name="Bar4")
  11. C[0x20] = Pointer(classname="Foo1",name="pFoo1")
  12.  
  13. C = r.Class(name="Foo1")
  14. C[0x00] = Double(name="Bar5")
  15. C[0x08] = Float(name="Bar6")
  16.  
  17. r.write()



Download:
ReClassMap 1.0