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

Starting with content server results in errors #67

Open
viraptor opened this issue Jul 8, 2020 · 6 comments
Open

Starting with content server results in errors #67

viraptor opened this issue Jul 8, 2020 · 6 comments

Comments

@viraptor
Copy link

viraptor commented Jul 8, 2020

When specifying a content server, I get the following at startup:

----- FS_Startup -----
.../quakejs/build/ioq3ded.js:9490
  					return callback(new Error('Failed to find "' + installer.name + '" in manifest'));
  					^

ReferenceError: callback is not defined
    at Object.DirtyInstallers (/Users/viraptor/Projects/quakejs/build/ioq3ded.js:9490:8)
    at Object.SyncInstallers (/Users/viraptor/Projects/quakejs/build/ioq3ded.js:9530:27)
    at /Users/viraptor/Projects/quakejs/build/ioq3ded.js:9583:12
    at Object.onload (/Users/viraptor/Projects/quakejs/build/ioq3ded.js:9442:15)
    at IncomingMessage.<anonymous> (/Users/viraptor/Projects/quakejs/build/ioq3ded.js:9629:14)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1094:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

And when fixed to throw that error instead, it's:

Error: Failed to find "linuxq3ademo-1.11-6.x86.gz.sh" in manifest
@ghost
Copy link

ghost commented Jul 9, 2020

Skip it, if you supply an fs_basepath with pk3s already installed you don't need to check for installer files.

@viraptor
Copy link
Author

This doesn't seem to work. Setting fs_basepath to ./base returns the same error. Setting it to ./base/baseq3 returns:

----- FS_Startup -----
No such file or directory

@ghost
Copy link

ghost commented Jul 14, 2020

I think fs_basepath should be absolute, not relative, i.e. ./.

@viraptor
Copy link
Author

Full path like

+set fs_basepath /Users/..../quakejs/base

still results in

----- FS_Startup -----
No such file or directory

@XanderStrike
Copy link

I resolved the same error by downloading linuxq3ademo-1.11-6.x86.gz.sh and linuxq3apoint-1.32b-3.x86.run from the public content server, and putting it into the assets directory that I use as a source for bin/repak.js. Then they'll be part of your manifest and you'll pass this check.

@viraptor
Copy link
Author

viraptor commented Aug 9, 2020

Yes, should've reported - adding those files makes the server work just fine 👍
Processing with the standard values even fixes the broken/missing textures in pro-q3dm6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants