News:

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

Main Menu

Recent posts

#11
Chat - Misc / Re: Your Football Team
Last post by Matei - December 01, 2025, 07:56:59 PM
https://zak.stunts.hu/

I don't have an account there, so:

QuoteRyoma

@Alan Rotoi sorry I really don't like football....

As can be observed from my message above neither do I, but without knowing that, the only cars I included here (while removing all the other ones) are 2 of his:

https://matei.one/games.html

I just get everything right (although no one cares about it), I don't know how it happens.
#12
Stunts Chat / Re: SimCar laps on Stunts trac...
Last post by Matei - December 01, 2025, 02:27:38 PM
https://wiki.stunts.hu/wiki/Replay_file_format

Quote•    bit 0 : Accelerate
•    bit 1 : Brake
•    bit 2 : Turn right
•    bit 3 : Turn left
•    bit 4 : Gear up
•    bit 5 : Gear down
•    bit 6 : Ignored
•    bit 7 : Ignored

In the version I posted above:

bit 0: driving mode: 1 forward, 0 reverse
bits 2 and 1: 11 left, 00 no turn, 01 right
bit 3: acceleration
bit 4: brake
bit 5: handbrake
bit 6: rocket
bit 7: ignored

I replaced "float" with "double" which seem to work a little better, but at least car 1 still has problems. I will soon post on my site 2 versions which save replays in files, one with the method in the file downloadable from above and the other one with the positions of the objects. About bits:

https://www.pcgamingwiki.com/wiki/Category:Controllers_with_pressure-sensitive_input(s)

QuoteUnlike traditional buttons that are simply digital (0 to 1), pressure-sensitive buttons can detect differences in the amount of force applied to them.
[...]
For example, they can be used to control the acceleration and braking of vehicles,

No need for this in Stunts or my game.

https://gamefaqs.gamespot.com/pc/579127-stunts/reviews/94022

QuoteStunts is easily the best-controlling racing game ever to be released on the PC. The controls are responsive and their layout is perfect. Never once will anyone have to touch the "Controller Configuration" button because the ergonomics of these controls is downright amazing.
#13
Chat - Misc / Re: Your Football Team
Last post by CTG - December 01, 2025, 10:06:54 AM
Quote from: alanrotoi on November 24, 2025, 12:03:01 PMCTG - Györi ETO FC

Still true, although I am not really interested in Hungarian "pro" football anymore. We have Orbán's (Fidesz) regime since 2010 and he is a football maniac dictator of a hypercorrupt country. Therefore, the results of NB1 / NB2 (first and second class) are highly depending on Fidesz' will.

However, my REAL local team is not affected by politics. Bácsa is a villagish suburb of Győr, place of my childhood. Bácsa FC climbed from 7th class to 4th, they are a strong participant of Győr-Moson-Sopron county 1st league for ages.

I live in Budapest since 1997, 4 years in 5th district, 8 years is 11th, 8 years in 14th, 8 years in 17th... My current local team should be Rákosmente KSK (17th district of Budapest, playing in 4th class), but I don't give a f*ck to the local football teams.
#14
Stunts Reverse Engineering / Re: DOS reverse engineering ar...
Last post by llm - December 01, 2025, 08:35:53 AM
QuoteThis project aims to implement all the functionality of the 1995 game Whiplash/Fatal Racing in a way that builds and runs on modern PC

https://github.com/FatalDecomp/ROLLER
Source-code reconstruction: https://github.com/FatalDecomp/ROLLER-matching
#15
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 26, 2025, 10:34:13 AM
Updated game, file simcarstunts-6.2.1.tar.gz:

https://matei.one/idxscr.html#download

Xm0NaD aside, you pointed out a problem which could occur with SDL3 even with a graphical window manager that doesn't have bugs:

https://wiki.libsdl.org/SDL3/SDL_GetWindowSize

QuoteThe window pixel size may differ from its window coordinate size if the window is on a high pixel density display. Use SDL_GetWindowSizeInPixels() or SDL_GetRenderOutputSize() to get the real client area size in pixels.

https://wiki.libsdl.org/SDL3/SDL_CreateWindow

QuoteThe window size is a request and may be different than expected based on the desktop layout and window manager policies. Your application should be prepared to handle a window of any size.

Solved that, but int SDL 2 there are a few differences:

https://wiki.libsdl.org/SDL2/SDL_CreateWindow

QuoteIf the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size in pixels may differ from its size in screen coordinates on platforms with high-DPI support (e.g. iOS and macOS). Use SDL_GetWindowSize() to query the client area's size in screen coordinates,

I didn't create the window with the SDL_WINDOW_ALLOW_HIGHDPI flag, so here I could get the width and height in pixels with SDL_GetWindowSize(). I still have problems with SDL 2 because of some bug(s) in xm0Nad, but I ~solved those too, details in file SDL.txt from the archive mentioned above.
#16
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 24, 2025, 11:50:27 PM
https://xmonad.org/news/2023/10/06/wayland.html

QuoteWe think we now have enough contributions coming in monthly to pay for someone to work with us on it.

Problem is, we have no idea who can do this.
#17
Chat - Misc / Re: Your Football Team
Last post by alanrotoi - November 24, 2025, 12:03:01 PM

AbuRaf70 - Atlético Rafaela
Akoss Poo - Kazincbarcika
Alain - Olympique de Marseille
Alan Rotoi - Racing Club
Alecu - CSM Politehnica Iași
Bonzai Joe - Aarhus GF
Chulk - Gimnasia y Esgrima de La Plata
CTG - Györi ETO FC
Duplode - São Paulo Futebol Clube Paulista
Erik Barros - Sport Club Corinthians
Mingva - FK Atlantas
Shoegazing Leo - Club Athletico Paranaense
Usrin - Szolnoki MÁV FC
#18
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 24, 2025, 11:22:03 AM
Attached file graphics.tar.gz. First set the settings in xmoNAd back to where they were and try version from simcarstunts-6.2.0:

https://matei.one/idxscr.html#download

If the problems still occur, then download file attached here, put files graph2d.c from it in the game source, recompile and see what happens. You can also try with various resolutions in full screen (fullscr=1), with both SDL 3 and SDL 2 (ex.: 960x720).
#19
Stunts Related Programs / Re: SDL 3
Last post by Matei - November 24, 2025, 07:42:28 AM
Those red borders bother me when I try to view a video with MPlayer at full screen, but for the game just leave them:

https://wiki.libsdl.org/SDL3/SDL_GetWindowSizeInPixels

I will post the fixed graphics/forsdl3/graph2d.c file for you to test it (I can't), but I just found out there might be other problems:

https://wiki.libsdl.org/SDL2/SDL_GetWindowSizeInPixels

"This function is available since SDL 2.26.0."

So for SDL 2 I'll have to use this:

https://wiki.libsdl.org/SDL2/SDL_GetWindowSize

So I will also post file graphics/graph2d.c which I also can't test, so you should, because as mentioned above, my problems with SDL 2 in xMoNad are others - the pointer given by SDL_GetWindowSurface() and the size of the window change after the rendering starts (function display()).
#20
Stunts Related Programs / Re: SDL 3
Last post by Duplode - November 24, 2025, 05:03:25 AM
Quote from: Matei on November 23, 2025, 05:03:16 PMWhich version of xMOn@D do you have? I have 0.18.0.

0.18.0 here as well.

Anyway, I found a reasonable workaround for me on the XMonad side: remove the borders of Simcar windows upon window creation. If I were to insist on having the borders, it would also have been possible to fix it by growing the window to account for the border, along the lines of what's described in this issue tracker comment.