@@ -496,10 +496,10 @@ def rebuild(URL, MOD_ID, MOD_NAME, LINK_TYPE, GAME, should_extract):
496
496
print ("Found in " + UniversalIsoPath + "/" + GAME + "/" + "Z6TAIL.DUP" )
497
497
iso_path = UniversalIsoPath + "/" + GAME
498
498
499
- # if not is_junction(InstallDir + "/data/iso_data"):
500
- # # we have iso extracted to universal folder already, just symlink it. otherwise we'll copy it there and symlink after extractor closes
501
- # try_remove_dir(InstallDir + "/data/iso_data/")
502
- # makeDirSymlink(InstallDir + "/data/iso_data/", UniversalIsoPath)
499
+ if not is_junction (InstallDir + "/data/iso_data" ):
500
+ # we have iso extracted to universal folder already, just symlink it. otherwise we'll copy it there and symlink after extractor closes
501
+ try_remove_dir (InstallDir + "/data/iso_data/" )
502
+ makeDirSymlink (InstallDir + "/data/iso_data/" , UniversalIsoPath )
503
503
else :
504
504
print ("We did not find " + GAME + " ISO data from a previous mod, lets ask for some!" )
505
505
@@ -562,9 +562,9 @@ def rebuild(URL, MOD_ID, MOD_NAME, LINK_TYPE, GAME, should_extract):
562
562
if not found_universal_iso :
563
563
ensure_jak_folders_exist ()
564
564
moveDirContents (InstallDir + "/data/iso_data/" + GAME , UniversalIsoPath + "/" + GAME )
565
- # # replace iso_data with symlink
566
- # try_remove_dir(InstallDir + "/data/iso_data/")
567
- # makeDirSymlink(InstallDir + "/data/iso_data", UniversalIsoPath)
565
+ # replace iso_data with symlink
566
+ try_remove_dir (InstallDir + "/data/iso_data/" )
567
+ makeDirSymlink (InstallDir + "/data/iso_data" , UniversalIsoPath )
568
568
569
569
print ("Done extracting! Launching game!" )
570
570
0 commit comments