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-05-13 21:08
tlr

Registered: Sep 2003
Posts: 1714
Quoting Jason Page
I had no idea that GIT would mess around with file data! I thought the rb / me parsing the data should mean that the data is 100% the same for you as it is for me. That's pretty shocking...
Well, if it didn't convert it would be a horrible pain to work on the same code from two different platforms.

Quoting Jason Page
However, how does GIT know that they're text files? Just by a binary search? Surely that's really dangerous? it could just decide that something is a text file, even though it wasn't?...Time for a google search..

I guess that is something Mr Torvalds has to explain. :)
Text file conversion to native line endings is the default in most revision control tools but commonly you have to explicitly tell the tools when to treat files as binaries. Git does it automatically.

Quoting Jason Page
@tlr - OK, so now I understand what's going wrong (I'm blaming GIT here ;) - When you change the check to 0xa, that should then fix everything... But you're still not getting different palettes?

with my crude tweaks I get different palettes, yes.

EDIT: files here: gtpalettes.zip (unless zip converts them too :)
2022-05-13 21:13
Jason Page

Registered: Sep 2015
Posts: 87
I can't download for some reason... The gods of code hate me today. can you copy to that dropbox folder?


EDIT: Ignore that. Chrome wasn't happy. Edge (urgh...) complained but eventually gave me the file. Thanks
2022-05-13 21:20
Jason Page

Registered: Sep 2015
Posts: 87
Super..
So, changing the magic line to:


if ((**strp == 0xa) || (**strp == 0xd))
{


Allows for both to work.
Apart from that change, what else did I need to change so that it compiles / works out of the box? Was there a change to the file path too?

I'll commit that change anyway ^^^
2022-05-13 21:23
tlr

Registered: Sep 2003
Posts: 1714
Quote: Super..
So, changing the magic line to:


if ((**strp == 0xa) || (**strp == 0xd))
{


Allows for both to work.
Apart from that change, what else did I need to change so that it compiles / works out of the box? Was there a change to the file path too?

I'll commit that change anyway ^^^


You need to separate the concept of the path to the binary/installation from the concept of the path to the config file.
Also there was a "\\" in loadPalettes() that needs to be "/".
2022-05-13 21:25
Jason Page

Registered: Sep 2015
Posts: 87
Yeah, I fixed the // to \ thing before. I think you missed that push. Hopefully what's there works now?
2022-05-13 21:29
tlr

Registered: Sep 2003
Posts: 1714
Quote: Yeah, I fixed the // to \ thing before. I think you missed that push. Hopefully what's there works now?

Assuming I copy the gtpalettes directory to the config directory it seems to work. Can't say if the actual themes are 100% like intended, but they are all different.
2022-05-13 21:31
Jason Page

Registered: Sep 2015
Posts: 87
Should match what was in the video link I posted earlier
2022-05-13 21:34
theK

Registered: Oct 2020
Posts: 44
Just got back, you guys are hard at work! :-O

Latest build still get "./gtultra
/home/xxx/.goattrk/gtpalettes: No such file or directory"

It goes to the wrong folder. The gtpallets is in the "binary" folder, not the config one.
2022-05-13 21:40
Jason Page

Registered: Sep 2015
Posts: 87
I'm going to change the code so that it looks for gtpalette folder in $HOME/.goattrk/

Please confirm this is correct
2022-05-13 21:58
tlr

Registered: Sep 2003
Posts: 1714
Quote: I'm going to change the code so that it looks for gtpalette folder in $HOME/.goattrk/

Please confirm this is correct


This is what it does now. It sort of makes sense, because it is configuration after all. The issue is that there is no gtpalettes/ folder there when starting up the first time. Either you have the palettes looked up where the binary is, or you write out the initial defaults to $HOME/.goattrk if no gtpalettes exist.

The latter is the nicest IMO.
Previous - 1 | ... | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 - 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
Endurion
maestro
Guests online: 120
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 Bromance  (9.6)
10 Memento Mori  (9.6)
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 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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