Skip to content

Command line can't be longer than 32,768 characters (maybe just on Windows?)Β #8

@Kerbas-ad-astra

Description

@Kerbas-ad-astra

I was chasing down some other errors when I discovered that KSPBurst wasn't compiling because I had too many plugins, pushing the total command line passed to the compiler (with all the --root-assembly and --assembly-folder flags) past 2^15. There's probably nothing to be done except get picky when the mod count climbs past 200, but I figured I'd toss this out here in case anyone has ideas.

A few modest proposals:

  • Somehow abbreviate the flags to e.g. "root-asm" and "asm-fldr"?
  • Move the working directory to GameData so all those "GameData\" bits can go away?
  • Encourage mod authors to use shorter file and folder names, and to compile their code into fewer DLLs? 8.3 should be enough for anyone πŸ˜‰
  • Only compile those assemblies that actually call for KSPBurst? (I have zero idea if this is even possible.)
  • Move my gaming PC over to Linux already?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions