Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) 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-05-13 20:48
Jason Page

Registered: Sep 2015
Posts: 87
Hah!
Yes, I missed that!
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... 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..


(Likelyhood is that I'll ditch the text format and revert to at least having binary data for palette files..)
2022-05-13 20:54
Jason Page

Registered: Sep 2015
Posts: 87
Also - I just wanted to say that I REALLY appreciate your help here!

Thank you
2022-05-13 20:58
Jason Page

Registered: Sep 2015
Posts: 87
@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?

EDIT: Is it possible for you to upload one of the .gtp files to here:

https://www.dropbox.com/scl/fo/1vaevbxbohrmzxghyhxg2/h?dl=0&rlk..

Would like to just verify that my changes to the text parser works.

Thanks!
2022-05-13 21:08
tlr

Registered: Sep 2003
Posts: 1787
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: 1787
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: 1787
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
Previous - 1 | ... | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 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
Barfly/Extend
Guests online: 67
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 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
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 Triad  (9.2)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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