CinnamonPirate.com

Eidolon Translation Group (ETG) Patch Format

T

he ETG patch format is an antiquated, terribly inefficient format created by Eidolon for his old translation group’s projects. Only a few ETG patches exist, but for the sake of completeness I decided to break it apart and figure out the specs.

4 bytes - magic "ETG1"
(loop)
  (addition length) 1 byte
  (bytes to skip)
  (byte)
(loop)

Patching ends when the addition length byte is equal to 0. This format patches one byte at a time.

“Addition length” determines how many more bytes to read. The bytes are read in little endian format, so a value of 0×03 would indicate a 24-bit little endian value. The patcher must seek that many bytes from the current position and write the following byte.

This is a grossly inefficient format since, at bear minimum, two bytes are required to write every changed byte.