Skip to content

Commit

Permalink
Revert previous changes that broke a lot of things
Browse files Browse the repository at this point in the history
  • Loading branch information
myuce committed Jun 1, 2022
1 parent a9a406a commit 6a2e5d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/AssetExporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,11 +964,7 @@ def exportMinimap(mapName: str, dir: SourceDir, game="WaW"):
image: Image
# csgo uses dds images for radars whereas older games use vtf images
if dir.copy(f"resource/overviews/{data['material']}_radar.dds", f"{tempDir}/matTex/{mapName}_radar.dds", silent=True):
<<<<<<< Updated upstream
Image.open(f"{tempDir}/matTex/{mapName}_radar.dds").save(f"{tempDir}/converted/texture_assets/corvid/{mapName}/{mapName}_radar.{ext}", silent=True)
=======
Image.open(f"{tempDir}/matTex/{mapName}_radar.dds").save(f"{tempDir}/converted/texture_assets/corvid/{mapName}_radar.{ext}", silent=True)
>>>>>>> Stashed changes
elif dir.copy(f"materials/{data['material']}_radar.vmt", f"{tempDir}/mat/{mapName}_radar.vmt"):
mat = parse_vdf(fixVmt(open(f"{tempDir}/mat/{mapName}_radar.vmt").read()))
mat = mat[list(mat)[0]]
Expand Down

0 comments on commit 6a2e5d8

Please sign in to comment.