Open marcelofrau opened 1 year ago
For those (like me) who don't know this acronym: UPW is Microsoft's "Universal Windows Platform" app format -- https://learn.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide
duplicate discussion at #4186 @aybe (maybe "Deprecated" is not clear enough... to change that to: "Please do not create new items"?)
UWP version maybe also can get published at the Microsoft Store or installed on Windows S mode devices, where regular apps are not allowed.
Well, until @joncampbell123 disables the tab, there really isn't much that I can do 😅.
Sorry @aybe and @Torinde, I had commented there and just noticed the deprecation notice, then I went and copied in this new ticket and was going to delete the previous one (#4186), and in the mean time @joncampbell123 answered me there, so that's why I kept both. sorry the inconvenience and thanks for closing the other one.
SDL2 itself seems to support UWP. If you want to fork DOSBox-X to make a UWP version, that's perfectly fine with me. Perhaps then you could merge your changes back with #ifdef's to separate WIN32 from UWP code and it could be one of the build targets in the VS2019 project/solution files. Does that sound good?
Originally posted by @joncampbell123 in https://github.com/joncampbell123/dosbox-x/discussions/4186#discussioncomment-5638064
it sounds awesome.. let me see if I can work on this.. will pull the last changes from dosbox and build again on the VS2019 once I'm home.. and will start learning how to work with UWP and see how I would do the port..
thanks for the tips.
Originally posted by @marcelofrau in https://github.com/joncampbell123/dosbox-x/discussions/4186#discussioncomment-5638265
DOSBox-X uses C++ classes, some templates, and a few STL libraries, but overall keeps the code at a mixed C and C++ level. Pointers are used heavily in this code. Contrary to the "wisdom" in the industry, pointers are not evil, they're fairly simple to manage so long as you don't do anything exotic with them or lose track of memory. Some code, like the scalers, are fairly heavy in #define macro use.
I don't expect SDL1 to make it as UWP code, especially the version used in DOSBox-X that is heavily modified from the original library.
Originally posted by @joncampbell123 in https://github.com/joncampbell123/dosbox-x/discussions/4186#discussioncomment-5638112
ok, so let me check more about the SDL2 build and see what is the effort to port this.
Originally posted by @marcelofrau in https://github.com/joncampbell123/dosbox-x/discussions/4186#discussioncomment-5638270
I mean, I know pointers are not evil, I am just not so used to deal with them, but I think this would be the least of my problems to be honest (but well, you never know), I mean, I worked with some JNI libraries wrappers and had to know some C and C++, and also worked with QT and C++, it was some time ago, but I can consider myself a little rusted. let's see..
Originally posted by @marcelofrau in https://github.com/joncampbell123/dosbox-x/discussions/4186#discussioncomment-5638330
@marcelofrau well, it turns out that the discussions tabs is opened... again, no harm is done! 😅
Is your feature request related to a problem? Please describe.
Hello,
I am seeing a lot of traction in UWP applications being developed for emulation and general purpose apps to run in the Xbox environment, specially with the possibility to everyone put their console in Dev Mode, and install custom and public available UWP applications, would be a very nice opportunity to have the fantastic dosbox-x running in a modern console.
The same was done for other emulators, and there is even a retroarch core for dosbox SVN running in the Xbox consoles, but a standalone and much better version of dosbox would be nice to be available there.
I don't have much UWP knowledge, but I am a software engineer for a long time already, not so much experienced with C++ but I'll try to see if I could help to achieve this somehow.
I've seen some other ports using SDL already in UWP, so I think it should not be a problem to port dosbox-x, but this is just speculation from my side.
Thank you, Best regards
What you want
A port for dosbox-x for UWP.
Describe alternatives you've considered
No response
Additional information
No response
Have you checked that no similar feature request(s) exist?
Code of Conduct & Contributing Guidelines