mika-n / NGPCarMenu

Custom "Select Car in-game menu" for Richard Burns Rally (RBR v1.02 SSE) game. The plugin supports custom car preview images (the real RBR 3D rendered custom car images), car specs from NGP physics model (engine, transmission, FIA category, year, etc), longer car menu names (up to 30 chars in a menu) and even more chars in the car specs window. New car preview images are created through in-game menu of the plugin.
37 stars 4 forks source link

Triple screen #3

Open ctbr63 opened 4 years ago

ctbr63 commented 4 years ago

Hi Version 1.02 works fine with my triple screen setup. There is only one small isse. The text about 3D car models and author is shown in the list of cars, see attached screenshot.

One idea for improvement, I would be nice if the plugin stored the skin that was used to create the preview and if the skin have been changed created a new preview.

Thankyou for creating this plugin!

NGPCarMenu_triple_screen

mika-n commented 4 years ago

Aah. Okey. The placement of the "3D Model" info box indeed is a clumsy calculation at the moment. The coordinate system of RBR is a bit weird because the game is internally 640x480. FixUp plugin aspect ratio fix may also add a twist here. Therefore coordinates of in-game objects don't follow the native "pixel by pixel" coordinates (those follow DX9 "world coordinates"). I could not quite figure out how to properly re-map in-game coordinates to a real 2D screen coordinates or vice-versa.

As a quick-and-dirty solution I will add INI property to tweak the placement of 3D model info box. Then there is at least a self-service workaround if the existing "automagical" coordinate re-map calculation fails to do the job until better re-map formula is found.

The next version will have this "self-service bug fix" feature, so keep eye on the releases.

mika-n commented 4 years ago

One idea for improvement, I would be nice if the plugin stored the skin that was used to create the preview and if the skin have been changed created a new preview.

Indeed. Nice idea. However, I have to think about and test are there any potential problems if the new preview is re-generated automatically when the game is launched or "Select Car" menu shown. The replay logic does make it a bit problematic because it takes back to main menu... Let's see how it goes..... Minimun would be to show a notification text if there are changes and a preview is missing.

mika-n commented 4 years ago

V1.03 fixes (workarounds) the "3D model into textbox" location issue.

The default location is now a bit better (may not be perfect in all resolutions), but a new Car3DModelInfoPosition ini file entry makes it possible to tweak the location (it can be placed even on top of the car preview image if someone wants to place it at, for example, bottom left corner).