PhoenicisOrg / phoenicis-winebuild

Docker based Wine building tool for Linux and macOS
https://www.playonlinux.com/wine/
MIT License
70 stars 20 forks source link

DosBox only #55

Open madoar opened 5 years ago

madoar commented 5 years ago

@qparis is it possible to build only DosBox (without wine) using winebuild?

qparis commented 5 years ago

Theoritically, yes we can. However, it's starting to be a little weird to call it wine, isn't it?

madoar commented 5 years ago

Yes, but do we want to limit this tool only to wine? The issue why I'm asking: I have a dos application for which I would like to write a Phoenicis script, the issue is that I need dosbox. Therefore it would be nice if we could also build DosBox. In addition I think it would make for a nice second type of engine for Phoenicis.

qparis commented 5 years ago

You are correct. Concerning your dos application, you have two possibilities: 1 - use a dos support wine build until we support another solution 2 - create a new engine

madoar commented 5 years ago

What exactly do you mean by 2? When providing a new engine for Phoenicis we need to do two tasks:

  1. Providing the engine in a downloadable and executable form (e.g. as a binary)
  2. Providing an engine implementation in the Phoenicis script repository, which then makes use of the downloaded engine binary

I think I'm able to do task two (I never implemented an engine implementation for Phoenicis before), but I don't think I can do task one.

qparis commented 5 years ago

I can provide the task one, no problem

qparis commented 5 years ago

I was just saying that concerning your app, you may want to simply use wine dosbox_support

madoar commented 5 years ago

Yes I can do that for now.

The issue with using wine_dosbox_support in my case is, that it comes with all the wine "overhead" that isn't required. Therefore I would prefer a dosbox engine without wine longterm.

plata commented 5 years ago

You could already create the DOS engine and use wine_dosbox_support. Then, later on, you only switch the source. I'm pretty sure you will find some places in Phoenicis which must be changed (e.g. container info page).

madoar commented 5 years ago

@plata do you know if our engines tab would work with multiple kinds of engines, or would it throw some exception if we provide multiple engine types?

plata commented 5 years ago

In theory it should simply show multiple categories but I don't know if that's really working.