Giter Club home page Giter Club logo

Comments (9)

twitwi avatar twitwi commented on August 22, 2024 4

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.

twitwi avatar twitwi commented on August 22, 2024 3

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 typing wr 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.

ENT108 avatar ENT108 commented on August 22, 2024 1

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.

Andacious avatar Andacious commented on August 22, 2024 1

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.

thecyberd3m0n avatar thecyberd3m0n commented on August 22, 2024

I see in logs it has "virtual filesystem" undernear. How we can access it outside ioq3?

from quakejs.

inolen avatar inolen commented on August 22, 2024

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.

thecyberd3m0n avatar thecyberd3m0n commented on August 22, 2024

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.

jsphweid avatar jsphweid commented on August 22, 2024

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.

ENT108 avatar ENT108 commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.