Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using precompiler: Incorrect new filenamepath is set and passed to VVIS #226

Open
zeThijs opened this issue Dec 2, 2023 · 3 comments
Open
Assignees
Labels

Comments

@zeThijs
Copy link

zeThijs commented Dec 2, 2023

Compile Pal Version
v28X
Describe the bug
Using a precompiler option: something goes wrong passing new vmf name using: "COMPILE_PAL_SET file {filename}" in stdout. VVis gets passed an incorrect pathname (?).

Steps to reproduce
In a python script: print(f'COMPILE_PAL_SET file "{vmf_out}"', end="")

Expected behavior
The new vmf location is set in compilepal and is correctly used in following compile steps.

What goes wrong
In VVIS:

  • vbsp.bsp is apended to the vmf path like so:
    Error opening e:\games\gamesinstall\steamlibrary\steamapps\common\nmrih\bin\dynenter\vmfoutput\nmo_downtown_6.vmfValve Software - vbsp.bsp

Debug.log
debug.log

@zeThijs zeThijs added the bug label Dec 2, 2023
@Exactol Exactol self-assigned this Jan 7, 2024
@Exactol
Copy link
Collaborator

Exactol commented Jan 15, 2024

@zeThijs
Copy link
Author

zeThijs commented Jan 23, 2024

Just tried the new build and the following happened:
Valve Software - vvis.exe (Jun 23 2021)
12 threads
reading e:\games\gamesinstall\steamlibrary\steamapps\common\nmrih\bin\dynenter\vmfoutput\nmo_downtown_6.vmfValve Software - vbsp.bsp
Error opening e:\games\gamesinstall\steamlibrary\steamapps\common\nmrih\bin\dynenter\vmfoutput\nmo_downtown_6.vmfValve Software - vbsp.bsp

@Exactol
Copy link
Collaborator

Exactol commented Feb 4, 2024

I'm not able to recreate the issue, can you send the full script? Also can you try removing end=""? I suspect the lack of a new line is causing the next line of stdout to be appended to the filename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants