Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux path #3

Open
armandhaa opened this issue Jun 6, 2020 · 0 comments
Open

Linux path #3

armandhaa opened this issue Jun 6, 2020 · 0 comments

Comments

@armandhaa
Copy link

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
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant