Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

Linux path #3

Description

@armandhaa

On Linux the script cannot find the source path (using the pc path) because of case sensitive and different use of slash/backslash
I don't have experience with python (on how to detect linux) so I didn't add more code to the script

I modified the script to work with Linux (line 11 to line 62), changes is bold:
pc = {
'atlantis': {
'name': 'Indiana Jones and the Fate of Atlantis',
'source_binary': 'Indiana Jones and the Fate of Atlantis.exe',
'source_dir': 'Indiana Jones and the Fate of Atlantis',
'destination_file': 'ATLANTIS.000',
'destination_dir': 'ATLANTIS',
'checksum': '60e9988f',
'offset': 224336,
'size': 12035
},
'indy3': {
'name': 'Indiana Jones and the Last Crusade',
'source_binary': 'Indiana Jones and the Last Crusade.exe',
'source_dir': 'Indiana Jones and the Last Crusade',
'destination_file': '00.LFL',
'destination_dir': 'INDY3',
'checksum': '4f179478',
'offset': 162056,
'size': 6295
},
'loom': {
'name': 'Loom',
'source_binary': 'Loom.exe',
'source_dir': 'LOOM',
'destination_file': '000.LFL',
'destination_dir': 'LOOM',
'checksum': '3ef3e225',
'offset': 187248,
'size': 8307
},
'loom_audio': {
'name': 'Loom Audio',
'source_binary': 'CDDA.SOU',
'source_dir': 'LOOM/LOOM',
'destination_file': 'Track1.wav',
'destination_dir': 'LOOM',
'checksum': 'a3362c72',
'offset': 800,
'size': 289808002
},
'thedig': {
'name': 'The Dig',
'source_binary': 'The Dig.exe',
'source_dir': 'The Dig',
'destination_file': 'DIG.LA0',
'destination_dir': 'DIG',
'checksum': '95af95ad',
'offset': 340632,
'size': 16304
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions