inolen / quakejs

1.47k stars 197 forks source link

how to install CPMA #81

Open mastersam2015 opened 3 years ago

mastersam2015 commented 3 years ago

welcome

I download CPMA/OSP 1.52. I copy folder to base. I run mod with command:

node build/ioq3ded.js +set dedicated 2 +set fs_game cpma +set sv_pure 0 +set vm_game 2 +exec server.cfg

and i have server.cfg:

gameplay 0 health 50 dropitems 0 items -ALL ammo 200,100,20,50,150,50,100,0 startweapon 128 startrespawn 128 weaponrespawn 128

when I connect to server - is like without mod.

what I made wrong?

viraptor commented 3 years ago

You'll need to regenerate the assets first. See https://github.com/inolen/quakejs#repackaging-assets

mastersam2015 commented 1 year ago

what i mast write here -

and what here - <assets

mastersam2015 commented 1 year ago

I make

node bin/repak.js --src cpma/z-cpma-pak152.pk3 --dest cpma

and error

Error: Cannot find module './build/Release/shell'

mastersam2015 commented 1 year ago

I have solutions... it mast be run as sudo and write in file where is error Os.tmpDir = Os.tmpdir; and [child_process].exec = [child_process].execSync

but...

next error

node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)

in google to fix this problem is install ubuntu 20

and command to repack is

node bin/repak.js --src base --dest assets