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

Config file for v86 #448

Open
raspiduino opened this issue Apr 15, 2021 · 3 comments
Open

Config file for v86 #448

raspiduino opened this issue Apr 15, 2021 · 3 comments

Comments

@raspiduino
Copy link

It would be nice to add a config file feature to v86, so people can load config files to the emulator instead of re-configure them every time. Thanks!

@copy
Copy link
Owner

copy commented Apr 27, 2021

I think extending and documenting the url interface would be a good step in this direction, i.e. making something like this work:

https://copy.sh/v86/?cdrom=https://k.copy.sh/linux4.iso&m=512M&networking=0&acpi=1

Or perhaps a json file inspired by the internal representation of profiles, e.g.:

v86/src/browser/main.js

Lines 193 to 204 in 690354e

{
id: "archlinux",
name: "Arch Linux",
memory_size: 512 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
state: {
"url": HOST + "arch_state.bin.zst",
},
filesystem: {
"baseurl": HOST + "arch/",
},
},

@broten15
Copy link

Hi, so I see that the URL config feature is merged, but are you still looking to add a feature for uploading a config file that automatically fills out the set up fields? If so, I could work on that.

@copy
Copy link
Owner

copy commented Mar 24, 2023

@broten15 Sure! (note that not all url parameters are implemented yet, so that would also be useful)

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

3 participants