| |
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.... |
| |
theK
Registered: Oct 2020 Posts: 46 |
I'll try to replicate it and send you an .sng-file to show what I mean. |
| |
theK
Registered: Oct 2020 Posts: 46 |
Hmm... I tried to compile (make) the latest version (1.2.0) in linux but got an error 1 "make: *** [<builtin>: gt2stereo.o] Error 1".
Did something change?
/K |
| |
tlr
Registered: Sep 2003 Posts: 1787 |
Quote: Hmm... I tried to compile (make) the latest version (1.2.0) in linux but got an error 1 "make: *** [<builtin>: gt2stereo.o] Error 1".
Did something change?
/K
It's just that this line...
char filename[MAX_PATHNAME]; ...got removed from the top of main() in commit a46a91455659f4c605334451af4f0f2f43877790. |
| |
theK
Registered: Oct 2020 Posts: 46 |
@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: 46 |
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: 46 |
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 ? |
Previous - 1 | ... | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ... | 17 - Next |