CompilePal icon indicating copy to clipboard operation
CompilePal copied to clipboard

[SSDK 2013] PACK Compile Pal Version 28.7

Open yurakone opened this issue 8 months ago • 15 comments

The PACK process adds .unpacked extension to .bsp map file and can't find .bsp if I use vmf compilation Image

But it works fine if I choose bsp instead of vmf Image

yurakone avatar Mar 18 '25 07:03 yurakone

.unpacked is created as a backup of the BSP before packing. Can you send the full logs for both runs?

Exactol avatar Mar 18 '25 12:03 Exactol

FINAL_VMF.txt

FINAL_BSP.txt I used 028 before SDK update, everything was ok

yurakone avatar Mar 18 '25 13:03 yurakone

028.txt

Full log with 028

yurakone avatar Mar 18 '25 14:03 yurakone

When you compile the VMF does this file exist? g:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\maps\HD_chargers.bsp

Exactol avatar Mar 19 '25 12:03 Exactol

I removed bsp and recompiled vmf without PACK process. Yes, bsp file is there no_pack_vmf.txt then I unchecked all the boxes VBSP VVIS VRAD CUBEMAPS and checked only PACK pack.txt now I see HD_chargers.bsp.unpacked in the maps folder

yurakone avatar Mar 19 '25 15:03 yurakone

Tried to compile "real" map and got an erros, PACK doesn't work even with bsp. CP028 packed bsp well Here is log from 028.7 powerup_pack.txt And log from 028X powerup_pack028.txt

yurakone avatar Mar 20 '25 00:03 yurakone

Can you upload this file? G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\materials/models/props_powerup/tracks.vmt

Exactol avatar Mar 22 '25 18:03 Exactol

Can you upload this file? G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\materials/models/props_powerup/tracks.vmt tracks.zip

"vertexlitgeneric"
{
	"$basetexture" "powerup/tracks"
	"$bumpmap" 						"powerup/tracks_nm"
	"$normalmapalphaenvmapmask" 	"1"
	"$envmap" 						"env_cubemap"
	"$envmaptint" 					"[.21 .26 .24]"
	"$phong" 						"1"
	"$phongexponent" 				"50"
	"$phongboost" 					"7"
	"$phongfresnelranges"			"[0.4 0.6 1.6]"
	"$phongalbedotint" 				"1"
	"$rimlight" 					"1"
	"$rimlightexponent" 			"25"
	"$rimlightboost" 				"0.5
	"$detail" "detail\bm_metal_detail_01"
	"$detailscale" 					"1"
	"$detailblendfactor" 			"4"
	"$detailblendmode" 				"0"
}

just for sure, I use this version https://github.com/ruarai/CompilePal/issues/262#issuecomment-2726938975

yurakone avatar Mar 23 '25 11:03 yurakone

The $rimlightboost line is missing an end quote, it should be "$rimlightboost" "0.5"

Exactol avatar Apr 13 '25 19:04 Exactol

The $rimlightboost line is missing an end quote, it should be "$rimlightboost" "0.5"

Thanks, I fixed the material file, but it didn't help I get unpacked file and error again

Starting a 'FINAL - Both' compile for Half-Life 2: Deathmatch.
Starting compilation of dm_powerup_rb5


CompilePal - Automated Packaging
Finding sources of game content...
Found wildcard path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\custom\
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\bin
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\download
Reading BSP...
Initializing pak file...
Writing file list...
Running bspzip...
Copying packed bsp to vmf folder...
Could not find g:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\maps\dm_powerup_rb5.bsp

Compiled Map: g:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\maps\dm_powerup_rb5.bsp
'FINAL - Both' compile finished in 00:00:03
1 errors/warnings logged:
  1 errors/warnings logged for dm_powerup_rb5:
    ● 1x: Error: Could not find g:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\maps\dm_powerup_rb5.bsp

yurakone avatar Apr 16 '25 16:04 yurakone

this works properly in version 28, however cubemaps do not compile in this version (nosound issue)

Starting a 'FINAL - Both' compile.
Starting compilation of dm_powerup_rb5

CompilePal - Automated Packaging
Finding sources of game content...
Found search paths...
Found wildcard path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\custom\
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\bin
Found search path: G:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\hl2mp\download
Reading BSP...
Initializing pak file...
Writing file list...
Running bspzip...
Finished!
---------------------
295 materials found
172 models found
1 particle files found
11 sounds found
Additional Files: 
-Detail file
-Particle manifest
---------------------

'FINAL - Both' compile finished in 00:00:04
0 errors/warnings logged:
  No errors/warnings logged for dm_powerup_rb5

yurakone avatar Apr 16 '25 16:04 yurakone

Sorry for the late response, is this issue still happening? And if so, can you send the BSP?

Exactol avatar Jun 21 '25 19:06 Exactol

HD_chargers.vmf.zip Compiled and not packed with v028.7 HD_chargers.bsp.unpacked.zip Packed with v028 (release) HD_chargers.zip

yurakone avatar Jun 23 '25 22:06 yurakone

Sorry for the late response, is this issue still happening? And if so, can you send the BSP?

I use the release version with a custom process for building cubemaps

Image

yurakone avatar Jun 23 '25 22:06 yurakone

I added some additional debug logging to this build, can you try compiling again and upload the debug.log file in the Compile Pal folder? https://www.dropbox.com/scl/fi/k43jde7l7mu0jv76kt2zz/Compile-Pal-028.7.zip?rlkey=8h92perdestb0v9lyl2yp6r7j&st=x0laz1z1&dl=0 Can you also share the preset that you are using to compile the map?

Exactol avatar Jun 29 '25 18:06 Exactol

debug.log

Image

yurakone avatar Jul 05 '25 13:07 yurakone

I did a build from the source code of the release version 28, and got the same error, although the release build works fine, except cubemaps

yurakone avatar Jul 05 '25 13:07 yurakone

I think I see the issue, the vmf is in the same folder as the output bsp, but when it was trying to figure out whether it had to copy the bsp back to the source folder it didn't ignore the capitalization of the drive in the paths and ended up deleting the bsp in the map folder.

Can you try this build? https://www.dropbox.com/scl/fi/k43jde7l7mu0jv76kt2zz/Compile-Pal-028.7.zip?rlkey=8h92perdestb0v9lyl2yp6r7j&st=rnplkx9s&dl=0

Exactol avatar Jul 12 '25 16:07 Exactol

Works great! Good Job!

yurakone avatar Jul 17 '25 15:07 yurakone