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
The original garage background "bleeds through" a transparent car preview images if RBR QuickRally menu background is fully transparent. Workaround. #8
OS: Win10 (not relevant, the issue is the same in all OS versions)
Plugin version: 1.11.0 (this was the first NGPCarMenu plugin version with support for transparent PNG files)
Problem: If RBR menu background is set to be transparent (rbrAppPath\misc\colors.ini file modification) and PNG car preview image files used via NGPCarMenu plugin also have a transparent background then the original RBR garage image bleeds through car selection menu in QuickRally car selection screen.
Quick-and-dirty workaround: Remove the original garage preview image from RBR and then the game shows just the normal landscape background and custom preview images drawn through NGPCarMenu plugin in QuickRally menu screen. Detailed step by step instructions explained below (how to set RBR menu background transparent and how to remove those original garage images).
How to customize RBR menu background and menu selection line colors? (default is red selection line and black opaque background)
Modify rbrAppPath\misc\colors.ini file and copy the following three lines there (if the file is missing then create the colors.ini file in Notepad). Values are decoded RGBA color codes (red, green, blue, alpha transparent).
If RBR menu background is semi-transparent then QuickRally car selection screen may show the original garage image behind the customized NGPCarMenu car preview images (if these are also transparent). How to hide those original RBR garage images?
Quick-and-dirty solution is to simply remove those original garage images from RBR game files (I will try to see if the same can be done on the fly programmatically, so there wouldn't be need to modify RBR game files. Stay tuned, but for now this brute force method is an easy solution).
Take a backup copy of the original rbrAppPath\Textures\splash.dat file just in case (copy the file as rbrAppPath\Textures\splash.dat.orig)
Extract rbrAppPath\Textures\Splash.dat file to temporary c:\temp\splash\ folder (DATTOOL creates the target temporary folder if it is missing): dattool.exe -e <rbrAppPath>\textures\splash.dat c:\temp\splash\
Remove car_X_1024.dds (X = 0..7) files from the extracted c:\temp\spash\L#\Rally_7\TargetMedia_Develop\Pc\Debug\World\Textures\Splash\ temporary folder.
Re-create the Splash.dat file using the modified content: dattool.exe -c c:\temp\splash <rbrAppPath>\textures\splash.dat
The dattool.exe app was created by Kegetys (www.kegetys.fi) and the tool is supplied with many of those RBR car manager tools (for example RBRCIT tool includes the dattool.exe command in its bin folder).
OS: Win10 (not relevant, the issue is the same in all OS versions) Plugin version: 1.11.0 (this was the first NGPCarMenu plugin version with support for transparent PNG files)
Problem: If RBR menu background is set to be transparent (rbrAppPath\misc\colors.ini file modification) and PNG car preview image files used via NGPCarMenu plugin also have a transparent background then the original RBR garage image bleeds through car selection menu in QuickRally car selection screen.
Quick-and-dirty workaround: Remove the original garage preview image from RBR and then the game shows just the normal landscape background and custom preview images drawn through NGPCarMenu plugin in QuickRally menu screen. Detailed step by step instructions explained below (how to set RBR menu background transparent and how to remove those original garage images).
How to customize RBR menu background and menu selection line colors? (default is red selection line and black opaque background)
If RBR menu background is semi-transparent then QuickRally car selection screen may show the original garage image behind the customized NGPCarMenu car preview images (if these are also transparent). How to hide those original RBR garage images?
dattool.exe -e <rbrAppPath>\textures\splash.dat c:\temp\splash\
dattool.exe -c c:\temp\splash <rbrAppPath>\textures\splash.dat