Then you don't want to play ETS2.
> It's amazing to see a game with the roads of half continent
As someone else noted, the road network is only an approximation of the highways. Each city is essentially the same layout with slightly different buildings to make it look like the namesake city (outside the drivable world, basically a 3D skybox).
The AI vehicles are quite stupid. I've had them suddenly brake in front of me, or merge into the trailer from behind. Oh, and you get penalised for this (ticket & damage repair costs).
Apart from the PS of trucks, there's virtually no difference between them. Want a basic Volvo? It'll haul trailers. Want the top of the line Volvo Globetrotter with sleeping cabin? It'll haul trailers. Oh, and you still need to stop at the designated rest areas to sleep, even though you have a bloody sleeping compartment in the Globetrotter!
You have to follow all the laws, all the time. Speeding? That's a ticket. Running a red light? Ticket. Bumping another car? Ticket!
I wish they would include an arcade or "god mode" so you could actually have fun.
/rant
Can anyone comment on how this is actually obtaining the video output from ETS2?
Is there some way you can feed the output of an OpenGL application into this? Or is it just capturing the desktop area where ETS2 is running?
In Windows, it's done by grabbing the handle of the window with the "Prism3D" classname.
This then goes to the hwnd2mat function[1], which does `GetDC`[2] to get the device content and then creates a bitmap with `CreateCompatibleBitmap`[3].
---
On Linux[4], it's done by grabbing the screen with `XOpenDisplay` and the current window with `DefaultRootWindow`. It then uses `XGetImage` and memcpys the result into the vector of pixels.
Note that the `main` function in the Windows and Linux version is slightly different to accommodate the difference in how these images are grabbed.
[1] https://github.com/bethesirius/ChosunTruck/blob/master/windo...
[2] https://msdn.microsoft.com/en-us/library/windows/desktop/dd1...
[3] https://msdn.microsoft.com/en-us/library/windows/desktop/dd1...
[4] https://github.com/bethesirius/ChosunTruck/blob/master/linux...
> I wish they would include an arcade or "god mode" so you could actually have fun.
They do. Look in settings, you can disable vehicle offenses (so no fines for running red light, crashing, speeding) and you can disable traffic too (might need a mod, i dont recall)
When it comes to the city layouts, the DLCs for Scandinavia and France have better and different layouts than the main game.
I have, but it's been about 6 months since I played. Maybe they've updated it to add additional options.
I also haven't installed any mods, so perhaps this could be enabled via additional mods.
I'm sure the issue here is that it is "more common than the real world", but you could replace "AI vehicles" with "other drivers" and that would be a valid real-world complaint.
..and then, like with the bots that supposedly roamed No Man's Sky's development, ensuring no random variables came out with anything rude or inappopriate, make bots like that here to check the merged output isn't quirking too much :)
Also, active on Twitter: https://twitter.com/outerradev
It's amazing to see a game with the roads of half continent. I've been playing driving games for so many years that I become fed up with all the grinding (licenses, career path, races blocked by other races, etc) so I'm not buying those games any more. I want all the cars, all the roads, no traffic, no police, only driving. I could pay an extra for that. I wish there is something like Euro Truck with only roads, some fast car and curated lists of interesting road to drive on.
And kudos to the authors of ChosunTruck, obviously.