Skip to content

Commit

Permalink
Paths: include resources.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
biqqles committed Feb 22, 2021
1 parent 0d270fd commit 9dc6cee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flint/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ def generate_index():

root = parsed['freelancer'][0] # todo: also look at 'data path'
resources = parsed['resources'][0]['dll']
resources.insert(0, 'resources.dll') # hardcoded as DLL 0

data = parsed['data'][0]
data.update(root)

dlls.update({i: construct_path('EXE', f) for i, f in enumerate(resources, 1)}) # dll 0 is Freelancer.exe itself
dlls.update({i: construct_path('EXE', f) for i, f in enumerate(resources)})
inis.update({category: tuple(construct_path('DATA', f) for f in files) for category, files in data.items()})

0 comments on commit 9dc6cee

Please sign in to comment.