| |
spider-j
Registered: Oct 2004 Posts: 498 |
Release id #216054 : GTUltra V1.0.3
Better take this to discussions to not flood the comments.
Quote:Can you run it from the win32 folder?
Running the exe through WINE works fine. I'd prefer a native linux build though. |
|
... 159 posts hidden. Click here to view all posts.... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
Leandro already ported it to SDL2 :) see https://github.com/jpage8580/GTUltra/pull/8 |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
Quote:I'm no github or linux expert, so please excuse my noob crappy handling. I've honestly just bought Github for dummies...!
After we managed to make the digital talk people use git and github, i am no more able to accept any excuses like this. sorry :) (If you are on windows, install the github client - rather than plain git - and look at the tutorials they provide. it's not hard at all :)) |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
@Jason: Perhaps it can help if you take a look at the dev branch of gt2fork. There is a proper implementation of rtmidi and SDL 2 which can be built for windows and linux aswell:
https://github.com/jansalleine/gt2fork/tree/dev
I'm very far away from the original GT2 code though, but the defines and Makefile compile options should still give good hints I guess. Another option would be to check out Leandros GT2 fork:
https://github.com/drfiemost/goattracker2
That's the great thing about open source: no need to re-invent the wheel :-) |
| |
Youth
Registered: Aug 2003 Posts: 43 |
Quoting spider-j That's the great thing about open source: no need to re-invent the wheel :-)
Regarding SDL2 and building for different platforms, you could maybe find some useful information in the SIDFactoryII code too: https://github.com/Chordian/sidfactory2. It has automated Windows, macOS (universal AMD/ARM) and Ubuntu builds, and uses SDL2. |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
I went with Leandro's changes (https://github.com/jpage8580/GTUltra/pull/8)
although there were still a number of other things I needed to do to get it back to a working state, as there was no audio, video initially!
All appears to be good now. Will commit soonish |
| |
tlr
Registered: Sep 2003 Posts: 1787 |
Will that also make MIDI work on linux? Only got the dummy driver running. Not sure which defines or dependencies are expected. |
| |
Frantic
Registered: Mar 2003 Posts: 1646 |
@Jason Page: Good work! |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
No idea about Linux. I’m putting in the patches that others have given.
However, for windows, it defaults to “audio dummy” unless I specifically set a driver in code. This is an SDL2 thing.
Wonder if there’s something similar for Linux? |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
Quote: Will that also make MIDI work on linux? Only got the dummy driver running. Not sure which defines or dependencies are expected.
rtmidi works with ALSA and JACK on linux.
You have to use ljack, lasound libraries when building and set the flags -D__LINUX_ALSA__ -D__UNIX_JACK__.
The docs:
http://www.music.mcgill.ca/~gary/rtmidi/index.html#compiling |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
Ii pushed a new version yesterday that does this.
V1.1.0 |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 17 - Next |