remyroy/CDDA-Game-Launcher

Request: mac version

Opened this issue · 11 comments

It seems that no one so far has made an official request to port this over/make it available on osx. So I'll do so with this. It would be nice to have all those bells and whistles on the mac. Maybe a good starting point would be to articulate what would be needed for something like that to be happening.

  • What changes in the code itself would be needed?
  • Are there any libraries used that aren't available on osx?
  • etc.

Thanks in advance for your consideration!

An OSX version was considered from the beginning. The main issue was having someone build the releases in a consistent manner. That used to not be the case but now it is.

Many changes would be needed if we want all the sames features on OSX. Everything that is part of cddagl/win32.py (Getting the default download directory, getting the list of running processes, finding the cataclysm process, waiting for a process to finish, finding a process from a file path, IPC communication and some single instance check mechanism). We would need some tool to mount and extract DMG files but that shouldn't be too much of a problem.

I'm pretty sure most if not all libraries used are available and working on OSX. Another RAR extracting tool would probably be needed.

A minimally working version that just has the update feature could be done somewhat easily in a few hours. It just need someone to do it and I'm somewhat busy these days.

@openmedi Wineskin works well for porting it over. Let me know if you need help.

@remyroy Not sure what was happening earlier, But I re-downloaded Cata and it works fine now, only the normal build errors.

I'd prefer to do a native OS X port which should not be too hard. There is already a good pull request about it in #80.

I just want to say that there is demand from my side :-)

Why was #80 closed? I was able to build it on Mac and the basic downloading and updating of the client seems to work like a charm. I'd be happy to help iron out some of the bugs to get it to a releasable state on Mac.

If you have a working Mac version, doing a pull request would be the way to go so it can be integrated.

Really hope this would be picked up, having the launcher in OS X would be so awesome. Been trying to get a wine wrapper to work with the launcher but have been failing all day. :-(

I agree with @Spuzzy. It would be nice to see some progress. There is a PR for a mac version, but it has still to be integrated with the game [launcher].

Same! I'd love to have the launcher working for mac as well. It's just so convenient if you play the experimental branch.

Would love to see this now that there is a regular official mac build

I have started on including OSX support. There have been so long since the last PR/try that the changes that would be needed now are huge. The assumption that the user is using Windows is everywhere in the code base. I fear that a PR that includes a full support for OSX is going to rewrite or touch most of the code in some way. Mainly writing here to see if someone would like to discuss adding it more in depth or help doing it, if you do please reach out to me on discord Jerakin#8396