News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu

Recent posts

#31
Competition 2025 / Re: Cloned replays, ZCT285 to ...
Last post by CTG - November 22, 2025, 12:56:46 PM
Probably I have already told 45234365 times, but still: my ZCT34 replay should be deleted, too. The first ~12 seconds of my replay was stolen from Poo.
#32
Competition 2025 / ZCT293 - Symmetry
Last post by Duplode - November 22, 2025, 12:54:41 PM
Starting with a poll! And with an amusing tidbit from Wednesday's PTB update  :D

44-39.png
#33
Competition 2025 / Re: Cloned replays, ZCT285 to ...
Last post by Matei - November 22, 2025, 12:06:59 PM
There's another problem. If someone gets access to someone else's replay, that person can just imitate the other person's driving style, which is made easier by slowing down the emulator with F12 + [ in DOSBox-X or by just increasing the number of cycles to a high enough value in the original DOSBox. Not that I wasted any time doing this, just saying.
#34
Competition 2025 / Re: Cloned replays, ZCT285 to ...
Last post by Duplode - November 22, 2025, 11:34:27 AM
The PTB tables now have been recalculated. There have been some changes to them starting from ZCT288 (cf. the page as it was yesterday). Overall, 127:03 of PTB time has been redistributed. No one got additional points from those hours as of now (it might still happen in ZCT293), though some half-points have been earned earlier than we thought: Alan Rotoi on ZCT292 rather than ZCT293; KyLiE on ZCT289 rather than ZCT292; Zapper on ZCT290 rather than ZCT292.
#35
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 22, 2025, 07:44:21 AM
Quote from: Duplode on November 22, 2025, 01:10:04 AMI don't think you'd want to make that change in your code, though, as it has side effects on other environments where everything has been working normally

That's not what I meant. As I wrote above:

Quote from: MateiI will make an update, but I have to think how.

I would have added some instructions in the documentation to edit graph2d.c and add those 2 pixels if necessary, or put some parameters in file "config", but if you read my previous message, that doesn't help:

Quotefullscr=1 - "Set 623x600x32" instead of "Set 800x600x32", so a little more than 2 pixels missing and "Segmentation fault".

Quote from: Duplode-- see e.g. the black lines at the right and bottom of the window

You can imagine that I already tested and saw those, which is how I came to the conclusion that the "workaround" should work for you.

The share of Simcar users is vanishingly small without having to specify other details. People don't like good games, I can't do anything about that.
#36
Stunts Related Programs / Re: SDL 3
Last post by Duplode - November 22, 2025, 01:10:04 AM
Thanks for trying it with XMonad, and sorry for the truckload of dependencies 😅 Installing XMonad pulls the Haskell toolchain because it is configured through Haskell code (much like, say, dwm is configured through C code), so it is mostly used by people who already have the Haskell toolchain on their system for independent reasons.

Quote from: Matei on November 21, 2025, 11:03:44 PMI had no problems with SDL 3 or SDL 1, with which the game worked perfectly with fullscr=0 and fullscr=1

Interesting that it worked for you on SDL 3 plus (I presume) the default configuration of XMonad (as opposed to the customised one I have here). Another reason for me to examine my setup, I guess.

Quote from: Matei on November 21, 2025, 07:55:39 AMPossible workaround for "XMonad". Add 2 pixels to the width and height of the created window, file graphics/forsdl3/graph2d.c, line 139:

RGLOB_window = SDL_CreateWindow(title,width+2,height+2,0);

This workaround did work here on my current XMonad setup: no segfaults and 800x600 reported size on both the SDL2 and SDL3 builds. I don't think you'd want to make that change in your code, though, as it has side effects on other environments where everything has been working normally -- see e.g. the black lines at the right and bottom of the window in this screenshot taken in Xfce, where the window size becomes 802x602:

Screenshot_2025-11-21_09-23-15.png

The share of Simcar users that have XMonad as their window manager is vanishingly small (i.e. probably just me), so it wouldn't be reasonable to expect Simcar to incorporate messy workarounds just to cater for that. Besides, I'm reasonably confident about finding a way to deal with this through XMonad configuration, by adding some kind of special rule for the handling of window borders. (And worst case, if nothing else works, I can just start a Xfce session when I want to play Simcar.)
#37
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 21, 2025, 11:03:44 PM
Ok I just installed xM0n@d version 0.18.0 on Fedora 41. Worst dependencies I've ever seen, I had to download 110 files besides the updates. I had no problems with SDL 3 or SDL 1, with which the game worked perfectly with fullscr=0 and fullscr=1, but with SDL 2:

fullscr=0 - the controls didn't work, when I pressed any key the caracter just showed in the terminal, SDL_WINDOW_MOUSE_FOCUS|SDL_WINDOW_INPUT_FOCUS|SDL_WINDOW_MOUSE_GRABBED also didn't work, so Ctrl+Alt+F2 and "killall simcar".

fullscr=1 - "Set 623x600x32" instead of "Set 800x600x32", so a little more than 2 pixels missing and "Segmentation fault". DOSBox for SDL 2 also didn't work in full screen (just black rectangle), and ffplay from ffmpeg version 7.1 only shows the image on half of the screen, can't set it to full screen. MPlayer works well, but it doesn't use SDL 2.

There is a good solution for the problems with xMoNaD: don't use it, it's broken (I'll have to put that in the documentation).

[edit]
I forgot: on Fedora 41 I have sdl12-compat instead of SDL1, so with the option for SDL1 the game actually displays the image with SDL2, which worked, but with SDL2 (and MATE) the framerate is ~twice as high as with sdl12-compat. With SDL1, SDL2 and SDL3 used directly the framerates are comparable, of course.
[/edit]

[edit2]
DOSBox for SDL 2 didn't work in full screen with MATE either, but here the whole screen was black instead of the rectangle in center. I typed "exit" and it worked though.
[/edit2]
#38
Chat - Misc / MINGVA LE VAN FINGVA!!!
Last post by CTG - November 21, 2025, 07:30:11 PM
#39
Competition 2025 / Re: Cloned replays, ZCT285 to ...
Last post by dreadnaut - November 21, 2025, 05:23:52 PM
The cloned replays are now excluded from calculations. You can still find them at the bottom of the All Results page. I've refreshed the season's scoreboard, changes are luckily minor. PTB updates coming soon.
#40
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 21, 2025, 05:16:13 PM
https://wiki.libsdl.org/SDL3/SDL_CreateWindow

There might also be some flags here that could ~fix the problem, but I can't test them. Ex.:

SDL_WINDOW_BORDERLESS

This is to be added to the line mentioned above, instead of "0" and without adding 2 to "width" and "height". As I saw, the windows in "Xm0NaD" are without borders anyway, so maybe they have to be set like that from SDL.

https://en.wikipedia.org/wiki/Xmonad