mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Remove unnecessary OVT path adjustments
Not only does this not work (path.join() will not actually add Z: on non-Windows), it's also not necessary. Confirmed to work with Detroit: Become Human (Demo) and Just Cause 4.
This commit is contained in:
parent
63ff306fbf
commit
209ba2dd81
|
@ -247,9 +247,6 @@ class LegendaryCore:
|
||||||
f'{game.asset_info.namespace}{game.asset_info.catalog_item_id}.ovt')
|
f'{game.asset_info.namespace}{game.asset_info.catalog_item_id}.ovt')
|
||||||
with open(ovt_path, 'wb') as f:
|
with open(ovt_path, 'wb') as f:
|
||||||
f.write(ovt)
|
f.write(ovt)
|
||||||
# To access the OVT from WINE we have have to prepend Z: to the path
|
|
||||||
if os.name != 'nt':
|
|
||||||
ovt_path = os.path.join('Z:', ovt_path)
|
|
||||||
params.append(f'-epicovt={ovt_path}')
|
params.append(f'-epicovt={ovt_path}')
|
||||||
|
|
||||||
params.extend([
|
params.extend([
|
||||||
|
|
Loading…
Reference in a new issue