Comments (9)
A trick to inject an existing config (i.e. to create a file in the virtual filesystem, to be able to copy paste the content).
Open the browser console and type for instance:
FS.writeFile('base/baseq3/abby.cfg', `
bind k "kill"
name AbBy
`)
from quakejs.
if anyone bumps on this issue, by default q3 execs a file call default.cfg
, and you can both save the config to a file (in the local storage) and execute it later.
In practice:
- join a game,
- make your configuration,
- bring up the console with the ² keys (below escape)
- save your config by typing
\writeconfig default
and enter (you can start typingwr
then hit tab to autocomplete and automatically add the\
- refresh to check it worked
you can also have alternate config, e.g., \writeconfig abby
then on refresh, \exec abby
from quakejs.
You can edit .pk3 and add your config there and then run \exec <your_config>
. That's one thing. I am working on saving feature... but this may take time, IDBFS is new to me.
from quakejs.
Has anyone found a way around this? I host a server to play with coworkers and their number 1 gripe is that they lose their keybindings every time. Has anyone even made some partial progress that others can build upon?
from quakejs.
I see in logs it has "virtual filesystem" undernear. How we can access it outside ioq3?
from quakejs.
The project mounts an IDBFS instance at startup (which ideally should persist config changes):
https://github.com/inolen/ioq3/blob/master/code/sys/sys_browser.js#L295
from quakejs.
I used build from quakejs site with own server. Each player was connected as UnnamedPlayer, because there was no way to store his configuration. Build from github just didn't work. I'll do some additional analysis later, and give you some logs.
Anyway, how can we access the filesystem deployed by that virtual machine outside of it? Is there any public API? I think that would be useful for adding features to Quake ;)
from quakejs.
Is there any update on this? I have boiled down my client settings to a bunch of commands but I can't even copy / paste those into the browser for some reason, making it annoying. It would be awesome if I could just copy the 10 lines directly into the quake console and hit enter, but that's not possible.
from quakejs.
Nope. As a workaround, I put player's customized configs to the server. So anyone can load own config upon join. The downside is maintanance of the configs.
from quakejs.
Related Issues (20)
- any way to make stats or are there any events that I can listen to? HOT 1
- any way to add touch controls to make it mobile-friendly? HOT 1
- Adding new serverside mod to enhance game servers HOT 1
- Disable /timeout HOT 1
- server VPN HOT 1
- how to install CPMA HOT 4
- Ioquake 1.36 server connect
- only rail HOT 1
- Naming player
- can i run this in a web browser
- vm/qagame.qvm problem
- how to switch to pro mode HOT 4
- compressed and checksum
- ioq3ded.js:9490 HOT 1
- Is this project dead? HOT 3
- nevermind/whatever
- PK3 host 84.201.144.109:9000 used by the Quake CTF server is dead HOT 2
- Unable to play on Chromebooks HOT 2
- ERR_TOO_MANY_REDIRECTS HOT 1
- Updating to latest cpma version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quakejs.