ruarai / CompilePal

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

CompilePal doesn't pack r_screenoverlay texture added through AddOutputted Output #181

Closed SpookyToad2 closed 1 year ago

SpookyToad2 commented 1 year ago

CompilePal doesn't detect r_screenoverlay is being used if it's added through AddOutputted Output. Same happens with "play" I believe hammerplusplus_CtIqTdftO7

Exactol commented 1 year ago

What version are you using? Can you try the latest prerelease?

On Sep 4, 2022, at 8:27 AM, SpookyToad @.***> wrote:  CompilePal doesn't detect r_screenoverlay is being used if it's added through AddOutputted Output. Same happens with "play" I believe

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

SpookyToad2 commented 1 year ago

By latest prerelease you mean experimental version? For some reasons it's not launching for me. Also sorry for such a long time of waiting

Exactol commented 1 year ago

Yea, are there any crash logs in the compile pal folder after it fails to launch?

SpookyToad2 commented 1 year ago

System.NullReferenceException: Object reference not set to an instance of an object. at CompilePalX.GameConfigurationParser.Parse(String binFolder) in D:\a\CompilePal\CompilePal\CompilePalX\GameConfiguration\GameConfigurationParser.cs:line 22 at CompilePalX.GameConfigurationManager.LoadGameConfigurations() in D:\a\CompilePal\CompilePal\CompilePalX\GameConfiguration\GameConfigurationManager.cs:line 150

Exactol commented 1 year ago

What game are you compiling for and can you send me the GameConfig.txt from it's bin folder?

SpookyToad2 commented 1 year ago

Team Fortress 2, GameConfig.txt

Exactol commented 1 year ago

Are you using Hammer++? I tried loading your GameConfig and it seemed to have worked fine on v27.30, so it might be a different issue.

SpookyToad2 commented 1 year ago

Yeah i'm using h++

rsedxcftvgyhbujnkiqwe commented 1 year ago

I can confirm that I've seen someone else suffer the exact same issue as Spooky with launching compilepal while being a H++ user. Seems to be a problem with 27.30, 27.29 is fine so maybe the H++ config support added in 27.30 is working incorrectly? The H++ gameconfig (/bin/hammerplusplus/) has a slightly different format in how it stores data compared to the gameconfig in /tf/ so perhaps that's what's tripping it up.

Exactol commented 1 year ago

@SpookyToad2 Can you send me the hammerplusplus_gameconfig.txt in the bin/hammerplusplus folder?

SpookyToad2 commented 1 year ago

Whoops sorry for a long reply. hammerplusplus_gameconfig.txt

Exactol commented 1 year ago

Can you try this build? https://www.dropbox.com/s/hv8cvz4koitrqul/Compile%20Pal%20027.30.zip?dl=0 It should fix the crash on startup, and hopefully the issue packing screen overlays as well

SpookyToad2 commented 1 year ago

Now CompilePal Launches! I'll check actual packing of r_screenoverlay tomorrow

SpookyToad2 commented 1 year ago

Nope. Doesn't seem to pack them

SpookyToad2 commented 1 year ago

Shall I send you test map plus materials? I check github really rarely sadly :(

Exactol commented 1 year ago

Yes please

On Oct 6, 2022, at 3:29 PM, SpookyToad @.***> wrote:

 Shall I send you test map plus materials? I check github really rarely sadly :(

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

SpookyToad2 commented 1 year ago

Can I send it to your discord? I don't want to share vmf and materials publically

Exactol commented 1 year ago

Yea, my discord is Exactol#2167