Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #216054 : GTUltra V1.0.3
2022-03-29 21:41
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....
 
2022-03-31 23:31
Jason Page

Registered: Sep 2015
Posts: 87
Quote: For GT2, my guess is it would be very easy to port to SDL2 - a lot of things don't have to be changed at all (and GT2 really only uses very basic SDL features).

That said, please merge the PR from Leandro :) The source in the repo really should be fixed to compile out of the box, not requiring such hacks, that makes things needlessly complicated


Looking at SDL2. Although, I'll likely hold off changing things until I'm sure that I've fixed a few other issues that have been mentioned - Just so it's one less possible factor when trying to track problems.

I'm no github or linux expert, so please excuse my noob crappy handling. I've honestly just bought Github for dummies...!
2022-03-31 23:34
chatGPZ

Registered: Dec 2001
Posts: 11350
Leandro already ported it to SDL2 :) see https://github.com/jpage8580/GTUltra/pull/8
2022-03-31 23:38
chatGPZ

Registered: Dec 2001
Posts: 11350
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 :))
2022-03-31 23:42
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 :-)
2022-04-01 08:18
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.
2022-04-01 14:09
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
2022-04-01 15:36
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.
2022-04-01 16:25
Frantic

Registered: Mar 2003
Posts: 1646
@Jason Page: Good work!
2022-04-01 17:24
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?
2022-04-01 23:53
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
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 17 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
mutetus/Ald ^ Ons
t0m3000/hf^boom!^ibx
Commodore Spain
CA$H/TRiAD
REBEL 1/HF
csabanw
Guests online: 116
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Christmas Megademo  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.05 sec.