Just a small (well, not so small, ≈6.7 MB, but those are libraries such as SlimDX and Magick.NET) console app allowing to re-create previews using Custom Showroom from CM.
Also, I’ve made a four presets as an examples, the one called GT5-like has comments.
Arguments:
Usage: CustomPreviewUpdater [presets…] [options...] <car IDs or filters...>
-r, --root AC root folder.
-c, --camera (Default: 3.867643, 1.42359, 4.70381) Camera
position.
-l, --look-at (Default: 0.0, 0.7, 0.5) Look at.
-v, --fov (Default: 30) Field of view.
-a, --align Align car to the center horizontally and then
offset using look-at value.
--bloom (Default: 1) Bloom radius multiplier.
--width (Default: 1022) Previews width.
--height (Default: 575) Previews height.
--ssaa (Default: 4) SSAA multiplier.
--fxaa Enable FXAA.
--msaa Enable MSAA.
--msaa-count (Default: 4) Samples count for MSAA.
--software-downscale Use software downscale, notably slower.
--name (Default: preview.jpg) Names of preview files.
--attempts (Default: 3) Number of attempts if there are
any problems.
--single-thread Do not use separate threads to encode image.
--wireframe Wireframe mode.
--mesh-debug Mesh debug mode.
--suspension-debug Suspension debug mode.
--headlights Enable headlights.
--brakelights Enable brake lights.
--left-door-open Open left door.
--right-door-open Open right door.
--steer Steer front wheels at specified angle.
--mirror Flat mirror at the ground.
--blur-mirror Blur flat mirror (if enabled).
--mirror-reflectiveness Reflectiveness level for flat mirror.
--reflection-multiplier Reflection multiplier for materials.
--sslr Enable local reflections.
--background Background color.
--light Light color.
--light-direction (Default: 0.2, 1.0, 0.8) Light direction.
--shadows Enable shadows.
--pcss Enable smartly blurred shadows.
--ambient-from First ambient color (at the bottom).
--ambient-to Second ambient color (at the top).
--ambient-brightness Ambient multiplier.
--light-brightness Light multiplier.
-w, --without-previews-only (Default: False) Update skins only without
previews.
--filter-test (Default: False) Just list filtered cars and
exit.
--verbose Prints all messages to standard output.
--help Display this help screen.
Hints:
- If AC root folder is not specified, app will try to guess its location from Steam;
- You can use several presets at once — the next ones will overwrite values;
- If you don’t want to overwrite original Kunos previews (for example, for a test), take a look at
--name
argument.
Quality hints:
- For good quality, I recommend to use
--ssaa=4
with --fxaa
. Also, --msaa
could help make it better, but you’ll might encounter some bugs;
- Because copying huge 4088×2300 texture from videomemory to RAM and then downscale it using advanced CPU-based algorithms is too slow, by default app downscales previews using videocard;
- But for the best quality, use
--software-downscale
. It will make processing images about 1.5–2 times slower though. I personally think, --ssaa=4
and --fxaa
is good enough.
Download: