| |
spider-j
Registered: Oct 2004 Posts: 444 |
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.... |
| |
theK
Registered: Oct 2020 Posts: 44 |
@tlr: Yeah, I saw it now. Thanks, now it compiles.
But it seems to be something wrong with the themes, all I get is a black screen with a few blinking cursors. Is there a way to reset the theme?
/K |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
Apologies. The filename[xxx] should no longer be required. I've pushed another update that just has the reference to this removed.
The new version doesn't use gtskin.bin files. Instead, it loads individual palettes from the gtpalette folder. If there's no palettes (or no folder), it should revert to a default palette which is stored in the .exe
I'm not seeing a black screen. |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
I can get a black screen if I rename the gtpalette folder and then force the default palette not to load.
in gtstereo.c - at line 192, I load the default.gtp (palette) file, and then save it to disk under a temp random-ish name. I then use the same code that I use later to reload that file 16 times to fill the palettes 0-15 with the default. Finally, I delete the temp file. Not my finest hour - Hence the comment in the code:
// load the default palette from the WAD file and then save again to disk...Nasty. Sorry.
I can only presume that for some reason, this bit is failing for you.
Always worth deleting / renaming the .cfg file to see if that helps
EDIT: Just pushed another version which replaces that hacky saving code. Hopefully that works for you now |
| |
theK
Registered: Oct 2020 Posts: 44 |
Sweet! Thanks a lot. Works like a charm now! :-) |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
Excellent! Does the window resize (drag bottom right corner) and anti-aliased display work OK too?
If so, I’ll package this one up, along with some final palettes from Lman as an official release and post on csdb. |
| |
theK
Registered: Oct 2020 Posts: 44 |
Awesome!
Yeah, resize and antialias seems to work. :-)
However there seems to be no default there's more than the original, pressing the "theme" button don't do anything. (Maybe by design?). |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
Nope. That means I’ve broken something. It should pick up the palettes in the gtpalette folder and load them at startup
Can you confirm you’ve got a gtpalette folder with files in it within the same folder as your GTUltra.exe ? |
| |
theK
Registered: Oct 2020 Posts: 44 |
Yes, in linux the binaries is in the /linux-folder and under there there's the /gtpalettes-folder with six files 0-5. |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
OK... ANOTHER one pushed. Let me know how it goes!
I think the issue was that I had "\\" instead of "/" for file path separator. I've changed it to "/" in gpaletteeditor.c so that hopefully this now picks up all of the palette files |
| |
theK
Registered: Oct 2020 Posts: 44 |
Hmm, no. Sorry. :-/ Still no theme change.
Looking to see if I can see what's going wrong? What did you change from 1.1.6? |
Previous - 1 | ... | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ... | 18 - Next |