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: 445
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-30 20:08
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: And even if you fix that (I did) it will still complain about link errors. gmidi.o is needed on the linker line and that's windows only atm.

I manage to hack some more and had it built on Mac using a dummy midi driver. It will generate an executable in the linux folder though but that's easy fixable.
2022-03-30 20:08
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: Managed to build the current master (84dcb0a89cd21a577417006d4b79a5ce79284a73) on my Ubuntu 20.04 box.

Needed to comment out #define __WINDOWS_MM__ in RtMidi.cpp and switch between the __WINDOWS__ and __LINUX__ defines in gmidi.cpp.
There is also a typo in makefile.common. A spurious '+' sign before gfile.o.


Made similar changes on mac. Also had to enable c++11 and fix a == vs = bug.
2022-03-30 20:25
chatGPZ

Registered: Dec 2001
Posts: 11116
so throw your PRs at github? :)
2022-03-30 21:12
Frantic

Registered: Mar 2003
Posts: 1627
Quote: I manage to hack some more and had it built on Mac using a dummy midi driver. It will generate an executable in the linux folder though but that's easy fixable.

Tried to build on my mac, and this is what I got:

cc `sdl-config --cflags` -Ibme -Iasm -O3 -fpermissive   -c -o gt2stereo.o gt2stereo.c
In file included from gt2stereo.c:26:
In file included from ./goattrk2.h:12:
In file included from bme/bme.h:6:
In file included from bme/SDL/SDL.h:30:
In file included from bme/SDL/SDL_main.h:26:
In file included from bme/SDL/SDL_stdinc.h:30:
bme/SDL/SDL_config.h:34:10: fatal error: 'SDL_config_macosx.h' file not found
#include "SDL_config_macosx.h"
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [gt2stereo.o] Error 1
2022-03-30 22:23
zzarko

Registered: Feb 2003
Posts: 66
@Frantic: Just find that file from some other project, and possibly delete definitions that compiler says are duplicates. At least that helped me to compile for Linux.

@Jason Page: Since the program is made with SDL1, that is maybe even discontinued, you can port it to SDL2, or possibly use a new project that had its first release this month, SDL12-compat, implementation of SDL1 API atop of SDL2, made for usage with older projects:
https://github.com/libsdl-org/sdl12-compat

I haven't used SDL so far, so I do not know how much work would porting take. Here is official SDL migration guide:
https://wiki.libsdl.org/MigrationGuide
2022-03-30 22:33
chatGPZ

Registered: Dec 2001
Posts: 11116
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
2022-03-30 22:49
Jason Page

Registered: Sep 2015
Posts: 87
Quote: Managed to build the current master (84dcb0a89cd21a577417006d4b79a5ce79284a73) on my Ubuntu 20.04 box.

Needed to comment out #define __WINDOWS_MM__ in RtMidi.cpp and switch between the __WINDOWS__ and __LINUX__ defines in gmidi.cpp.
There is also a typo in makefile.common. A spurious '+' sign before gfile.o.


2022-03-30 22:50
Jason Page

Registered: Sep 2015
Posts: 87
Quote: How to access channels 7-12?

I've set the SID numbers to 3 / 4, but I'm stuck with channels 1 to 6 still.

Is there a shortcut key for it?


For channels 7-12, these use odd song numbers

So song 0. = 1-6, song 1 v7-12…

Both songs play at the same time in the editor.
Read the GTUltra.PDF - all explained in there.
2022-03-31 23:17
chatGPZ

Registered: Dec 2001
Posts: 11116
Quote:
Managed to build the current master (84dcb0a89cd21a577417006d4b79a5ce79284a73) on my Ubuntu 20.04 box.

but did it actually run? ticket
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...!
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
DnP
kbs/Pht/Lxt
Slator/Arsenic/Stone..
Slaxx/Q/HF/MYD!
t0m3000/ibex-crew
Alakran_64
Viti/Hokuto Force
Guests online: 123
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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