inolen / quakejs

1.47k stars 199 forks source link

how to install noghost? #60

Open mastersam2015 opened 5 years ago

mastersam2015 commented 5 years ago

how to install noghost?

ghost commented 4 years ago

@mastersam2015 Start by asking the original author to post source-code to the qagame files.

alexjs-dev commented 4 years ago

Yeah.. just creating a folder eg, noghost/ and running it with node build/ioq3ded.js +set fs_game noghost +set dedicated 1 +exec server.cfg won't work...

mastersam2015 commented 3 years ago

I have NoGhost894 and not work

ghost commented 3 years ago

Noghost uses native DLL files that's not going to work in the WASM environment. Source code is needed to recompile into emscripten.

mastersam2015 commented 3 years ago

someone have any mod for quake js who work in WASM environment ?

ghost commented 3 years ago

Any mod that relies only on QVM files and runs in pure mode. I've gotten CPMA, Excessive+, Smokin Guns, World of Padman, Urban Terror, Defrag, EDawn, Team Arena, Q3Rally all to work within the web browser, WASM environment.

On Wed, Aug 25, 2021, 11:28 mastersam2015 @.***> wrote:

someone have any mod for quake js who work in WASM environment ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-905772741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3REEMJRJHRYBPYFWVLT6UY4HANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

mastersam2015 commented 3 years ago

I wanna rail only.... how to do this?

ghost commented 3 years ago

Can try this Corkscrew mod? If you change the names of pk3 to .zip and unzip it again and then find a vm/cgame.qvm, vm/ui.qvm, and vm/qagame.qvm then it will probably work when you run it through the repak.js or just adding the pk3 path to the manifest.

https://lvlworld.com/mod/id:7

On Thu, Aug 26, 2021, 02:53 mastersam2015 @.***> wrote:

I wanna rail only.... how to do this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-906261447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3XFSDAALN2TYS2PC7TT6YFKFANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

ghost commented 3 years ago

I think CPMA and E+ also have options for rails only.

You could probably ask for a config here and then include that .cfg file in your manifest also:

https://discord.gg/Wgf3qJjQ

Here's the docs, but they are extensive:

https://www.excessiveplus.net/documentation/server

https://www.excessiveplus.net/documentation

On Thu, Aug 26, 2021, 02:53 mastersam2015 @.***> wrote:

I wanna rail only.... how to do this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-906261447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3XFSDAALN2TYS2PC7TT6YFKFANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

mastersam2015 commented 3 years ago

I install Excessive Plus v2.3 but when i enter to game is like game without mod

ghost commented 3 years ago

If you are using a desktop client you might need to add fs_game and the name of the folder the mod is installed in. It should be right next to baseq3.

On Thu, Aug 26, 2021, 10:44 mastersam2015 @.***> wrote:

I install Excessive Plus v2.3 but when i enter to game is like game without mod

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-906612988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3VEHP2NTQ5KFQBOCYLT6Z4QZANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

mastersam2015 commented 3 years ago

I have folder base and in base - baseq3 and excessiveplus. I run server with :+1:

node build/ioq3ded.js +set fs_game excessiveplus +set dedicated 2 +exec server.cfg

not work

ghost commented 3 years ago

Ded.js is a bad idea for performance, better to use a proxy. I think the excessive+ pk3s also need to be added to manifest.json.

On Thu, Aug 26, 2021, 12:00 mastersam2015 @.***> wrote:

I have folder base and in base - baseq3 and excessiveplus. I run server with 👍

node build/ioq3ded.js +set fs_game excessiveplus +set dedicated 2 +exec server.cfg

not work

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-906664683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3XUMVNKDW2SSC2ESA3T62FN5ANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mastersam2015 commented 3 years ago

how to add to manifest.json ?

ghost commented 3 years ago

https://github.com/inolen/quakejs#running-a-dedicated-server

Something like this file:

http://content.quakejs.com/assets/manifest.json

The instructions aren't complete and emscripten has a huge learning curve, that's why I stopped using this codebase. Good luck!

On Fri, Aug 27, 2021, 02:21 mastersam2015 @.***> wrote:

how to add to manifest.json ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-907059127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3TDVGYKDSWNI46LGQ3T65KJRANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mastersam2015 commented 3 years ago

"compressed": 30914987, "checksum": 296843703

how to edit this?

ghost commented 3 years ago

Those are standard crc32 checksums generated by repair.js I think that is in the instructions on the front page. Maybe use Vim to edit the file?

https://www.vim.org/

https://github.com/inolen/quakejs/blob/master/bin/content.js#L3

On Fri, Aug 27, 2021, 08:32 mastersam2015 @.***> wrote:

"compressed": 30914987, "checksum": 296843703

how to edit this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-907289031, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3ROFEA44EF7CHLZGLTT66V2JANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mastersam2015 commented 3 years ago

crc32 checksums is hexodecimal

in manifest.json is decimal

I not know how exacly change this numbers

ghost commented 3 years ago

Google "convert 0xdeadbeef to decimal" and it will convert it.

Or use this tool https://gchq.github.io/CyberChef/

On Fri, Aug 27, 2021, 09:50 mastersam2015 @.***> wrote:

crc32 checksums is hexodecimal

in manifest.json is decimal

I not know how exacly change this numbers

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inolen/quakejs/issues/60#issuecomment-907337345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7FO3S52PQU2AUH7RNI673T6664JANCNFSM4JQTGRGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mastersam2015 commented 3 years ago

whatever... I was trying to cpma

I saw server cpma and how do this?

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?