Open glennhartmann opened 4 years ago
There are other problems deeper in.
https://github.com/inolen/quakejs-files/issues/2
And someone PRed a change that uses some internal buffer on the file stream and that no longer works. Use my repack on latest commit, cli options are extensive and in the readme and available with npm run repack -- -h
https://github.com/briancullinan/planet_quake/blob/checksum_spoofing/code/xquakejs/bin/repack.js#L23
npm run repack -- --no-graph --pk3dir ~/baseq3
is common for me.
Requires image magick and ogg encoder.
running it results in errors that look like this:
due to the
temp
package being too old and trying to callos.tmpDir()
instead of the neweros.tmpdir()
.Fixing that locally then results in further errors:
The
execSync
package is no longer supported, and can be replaced with built-inchild_process.execSync
.