ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
224 stars 25 forks source link

Soundscapes #56

Closed MAGNAT2645 closed 6 years ago

MAGNAT2645 commented 6 years ago

Autopack doesn't scan for "scripts/soundscapes_[mapname].txt" sound files, but works fine with "maps/[mapname]_level_sounds.txt".

EDIT: I saw that CompilePal supports soundscapes but doesn't scan for my tf/custom/mymaps/scripts folder. Game is TF2 as you can see.

Exactol commented 6 years ago

Can you post your debug.log? I just tested this out and it worked for me, so it might be an issue that has been resolved already.

MAGNAT2645 commented 6 years ago

debug.log said that CompilePal found soundscape script but it doesnt pack sounds from script


276 materials found 17 models found 0 particle files found 34 sounds found additional files: -nav file -soundscape -soundscript

Also there was error when i tried to autopack already compiled map (with disabled VBSP, VRAD, VVIS in CompilePal)

CompilePal - Automated Packaging Finding sources of game content... Found search paths... Found wildcard path: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\ Found search path: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf Found search path: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\bin Found search path: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\download Reading BSP... Something broke: System.IndexOutOfRangeException: Index was outside the bounds of the array in CompilePalX.Compilers.BSPPack.BSP.buildEntityList() in CompilePalX.Compilers.BSPPack.BSP..ctor(FileInfo file) in CompilePalX.Compilers.BSPPack.BSPPack.Run(CompileContext context)

Exactol commented 6 years ago

Was the map you were trying to pack repacked/compressed? Also try this alpha build and tell me if it fixes your soundscape problem. CompilePal 026a8.zip

MAGNAT2645 commented 6 years ago

I don't remember because it was 11 days ago since map release. I will try again to autopack other map.

MAGNAT2645 commented 6 years ago

Yeah, alpha build works fine. Soundscape was found inside custom/ folder and packed into BSP.

Can you add parameter that can put custom launch params into GAME process? Also, would be good if CompilePal was able to delete original .nav file after renaming it to embed.nav and autopacking /graphs/(mapname).ain would be good too.