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

[Question] Complete Instructions to Run a Windows Application in Browser #25

Open
Suleman-Elahi opened this issue Jun 28, 2021 · 5 comments

Comments

@Suleman-Elahi
Copy link

Docs missing how to make an app or container in browser. I also couldn't find any resource on internet that explains how to do that. Can you explain the steps to run the default mine sweeper game in browser?

@kevodwyer
Copy link
Collaborator

To run WINE's mine sweeper use:
boxedwine.html?p=winemine.exe

If you don't provide any parameters then the WINE shell is launched. Use the 'Run...' command available on the start menu to run an executable file.

Further instructions found here:
www.boxedwine.org/documentation/web-build-configuration/

@Suleman-Elahi
Copy link
Author

Okay and where is this "boxedwine.html" file is ?

@kevodwyer
Copy link
Collaborator

Start with the instructions listed under section 'Emscripten Build' on:
www.boxedwine.org/documentation/build/

@Suleman-Elahi
Copy link
Author

I followed the instructions and I see nothing in the console nor when I open boxedwine.html file. Any ideas?

image

It just keeps spinning.

image

@kevodwyer
Copy link
Collaborator

It is hard to diagnose the problem from the screenshot. Opening the browser console is useful to see any errors.
Have you created a filesystem for the emulator to use?
If not, you will need to build one. Easiest way is to run BoxedWine on Windows to download the latest filesystems.
Navigate to Users//AppData/Roaming/Boxedwine/FileSystems
You will see debian.zip and a number of files in the format Wine-?.?.zip

Splice together Debian.zip and Wine-4.0.zip (for example) into one zip file called boxedwine.zip
Copy to same directory as the WASM files.

I recommend you access boxedwine.html via a web server.

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