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

how to install CPMA #81

Open
mastersam2015 opened this issue Aug 27, 2021 · 4 comments
Open

how to install CPMA #81

mastersam2015 opened this issue Aug 27, 2021 · 4 comments

Comments

@mastersam2015
Copy link

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
Copy link

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

@mastersam2015
Copy link
Author

mastersam2015 commented Feb 11, 2023

what i mast write here - <assets_src>

and what here - <assets

@mastersam2015
Copy link
Author

I make

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

and error

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

@mastersam2015
Copy link
Author

mastersam2015 commented Feb 13, 2023

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

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