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

How do I solve "File name has not been provided" #241

Open
circuschaser opened this issue Jun 10, 2024 · 6 comments
Open

How do I solve "File name has not been provided" #241

circuschaser opened this issue Jun 10, 2024 · 6 comments
Labels

Comments

@circuschaser
Copy link

Compile Pal Version

Describe the bug
Pack fails immediately.
System.InvalidOperationException: Cannot start process because a file name has not been provided.

Steps to reproduce
CompilePal screenshot

Expected behavior
Expected to pack a bsp with assets.

Debug.log
Starting a 'Pack' compile.
Starting compilation of redeemer

CompilePal - Automated Packaging
Finding sources of game content...
Found search paths...
Found wildcard path: E:\SteamLibrary\steamapps\common\insurgency2\insurgency\custom
Found wildcard path: E:\SteamLibrary\steamapps\common\insurgency2\insurgency\content
Found search path: E:\SteamLibrary\steamapps\common\insurgency2\insurgency
Found search path: E:\SteamLibrary\steamapps\common\insurgency2\insurgency
Found search path: E:\SteamLibrary\steamapps\common\insurgency2\insurgency\bin
Found search path: E:\SteamLibrary\steamapps\common\insurgency2\insurgency\download
Source directories:
E:\SteamLibrary\steamapps\common\insurgency2\insurgency\custom\workshop
E:\SteamLibrary\steamapps\common\insurgency2\insurgency
E:\SteamLibrary\steamapps\common\insurgency2\insurgency\bin
E:\SteamLibrary\steamapps\common\insurgency2\insurgency\download
Reading BSP...
Something broke:
System.InvalidOperationException: Cannot start process because a file name has not been provided.
at System.Diagnostics.Process.Start()
at CompilePalX.Compilers.BSPPack.BSPPack.UnpackBSP(String unpackDir) in D:\a\CompilePal\CompilePal\CompilePalX\Compilers\BSPPack\Pack.cs:line 470
at CompilePalX.Compilers.BSPPack.BSPPack.Run(CompileContext context, CancellationToken cancellationToken) in D:\a\CompilePal\CompilePal\CompilePalX\Compilers\BSPPack\Pack.cs:line 238
An error cancelled the compile.
Compile forcefully ended.

'Pack' compile finished in 00:00:00

Additional context
Add any other context about the problem here.

@circuschaser
Copy link
Author

Forgot to note that the BSP was compiled successfully by CompilePal from a Hammer project.

@Exactol
Copy link
Collaborator

Exactol commented Jun 19, 2024

Can you open the game configuration in Compile Pal and see if there is a path to BSPZip, and if so, check if the program exists at the location? You can view the game configuration by clicking the 3 dots on the Game Selector screen and clicking Edit.
image

@circuschaser
Copy link
Author

circuschaser commented Jun 21, 2024 via email

@circuschaser
Copy link
Author

circuschaser commented Jun 21, 2024 via email

@Exactol
Copy link
Collaborator

Exactol commented Jun 23, 2024

If BSPZip/vbspinfo doesnt come with the game then it may not support packing custom content into the map. Its possible you need to create a VPK, similar to l4d2. You could also try a tool that doesn't rely on bspzip like VIDE

@circuschaser
Copy link
Author

circuschaser commented Jun 23, 2024 via email

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