sapphonie / sdk13-gigalib

library for sdk2013 mods to use if they so choose
MIT License
17 stars 7 forks source link

Protobuf generation doesn't work on directories with spaces #19

Open KaydemonLP opened 11 months ago

KaydemonLP commented 11 months ago

If at any point in your directory structure you have a folder that has a space in it, the protobuf generation of messages.pb.h and messages.pb.cc

Steps to recreate:

  1. Name the folder of your repository "Test Test"
  2. Compile the Client or Server binaries
  3. You'll see an error saying the necessary protobuf files don't exist, and in the log, the console will say that they failed to generate an output.
Nbc66 commented 11 months ago

If the following is using source engines filesystem interface most of these issues can be fixrd by using the fixslashes function on the location itself it should allow you to even have spaces inside of a folder or file even and it will read it properly

KaydemonLP commented 11 months ago

Its in VPC code, which executes via cmd, so you can't use actual code functions