WurstScript icon indicating copy to clipboard operation
WurstScript copied to clipboard

VSCode `buildMap` command produces different output than `grill build`

Open jlfarris91 opened this issue 4 years ago • 1 comments

It appears to me that when I run the buildMap command in vscode that the output map file is (literally) half the size of the map file built when using grill build. I am using the same terrain map and command line arguments. When I open the larger map in Ladik's MPQ Editor and use the Compact Archive feature the resulting map ends up being half the size - the same as the map built via buildMap in vscode.

It's very strange that the smaller output file is literally half the bytes of the larger file. When I open them both in Ladik's MPQ Editor I don't see doubles of each file or anything like that so I'm guessing some very good compression is occurring and it's just a coincidence that it's half the size.

Any ideas why this is happening?

grill build in powershell - 97,317KB

buildMap in vscode (languageserver log) - 48,657KB

jlfarris91 avatar Feb 17 '21 17:02 jlfarris91

duplicate of https://github.com/wurstscript/WurstScript/issues/978 ?

Frotty avatar Mar 18 '21 14:03 Frotty