Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

Can't start executable files without unvanquished pak's

Open ERmak148 opened this issue 7 months ago • 3 comments

I created a simple game walker on the engine, literally 10 files. I compile, run, and see a message like "Could't find Unvanquished pak files." And at launch daemonded.exe the server window opens and immediately closes, and the game name is displayed in the console from where it was launched.

ERmak148 avatar Jul 27 '25 13:07 ERmak148

On the command line you can use -set fs_basepak <name of your pak> to load that instead of unvanquished. And -set fs_extrapaks <...> in case you want to load more than one.

slipher avatar Jul 27 '25 13:07 slipher

And at launch daemonded.exe the server window opens and immediately closes

The server engine shutdowns itself if no map is loaded, so you also have to add that argument on the command line: +map mapname, where mapname is plat23 if the map package is named map-plat23_1.13.5.dpk (the base name without the map- prefix and without the _version and without the .dpk extension).

So for example: if your game pack is mygame_0.dpk and your map pack is map-mymap_0.dpk, you do:

./daemonded -set fs_basepak mygame +map mymap

Note that for development purpose you can use dpkdir folders instead of dpk archives, see:

  • https://wiki.unvanquished.net/wiki/Formats/DPK

illwieckz avatar Jul 27 '25 13:07 illwieckz

Note that for development purpose you can use dpkdir folders instead of dpk archives.

I forgot to say that using dpkdir folders will only work with the +devmap command instead of +map.

illwieckz avatar Jul 27 '25 13:07 illwieckz