Skip to content

Commit de61926

Browse files
committed
Fixed lightmaps being exported incorrectly
1 parent c1fdd1f commit de61926

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

SourceUtils.WebExport/Texture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public static Texture Get( ValveBspFile bsp, string path )
162162
public TextureTarget Target { get; set; }
163163

164164
[JsonProperty("frames")]
165-
public int FrameCount { get; set; }
165+
public int FrameCount { get; set; } = 1;
166166

167167
[JsonProperty("width")]
168168
public int Width { get; set; }

export-pages-kz.bat

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@echo off
2+
3+
"SourceUtils.WebExport\bin\Debug\SourceUtils.WebExport.exe" export ^
4+
--maps "kz_reach_v2,kz_colors_v2,kz_exps_cursedjourney" ^
5+
--outdir "..\GOKZReplayViewer-pages\resources" ^
6+
--gamedir "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo" ^
7+
--mapsdir "maps" ^
8+
--overwrite --verbose --url-prefix "/GOKZReplayViewer/resources"

0 commit comments

Comments
 (0)