File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

Many shadertweaks with 3dmigoto see description

Permissions and credits
Changelogs
- description

Mixing need for speed, test drive unlimited and
other more current open world racing games carx street
comes up with a nice formula. Handling is a bit of
an acquired taste but then most race games have
there specific quirks in that regard.

Should note that, to me, there is a lot of
need for speed pro street energy in this game
(need for speed pro was the predecessor of nfs shift)

Most of the tweaks are related to fog density how ever
one specific tweak, altering the race road barriers,
might not be to everybody's taste.
Please see 'further tweaking' to disable if needed.

See screenshots plus settings game for examples.
See 'further tweaking' for altering if needed.


3dmigoto tweaks
- reduce fog density in distance
- reduce bloom and brightness environment
- remove sharpen
- alter car glass windshields avatar add green tint
- alter race road barriers
  stop animation
  highlight orange reduce opacity background band
  reduce specular road

Note: definitely run this game from an SSD it
          uses a lot of streaming of assets aka disk i/o

update 12/02/2025 v1.1
- update of most shader tweaks for v1.4
- all fog related shaders are alterd due to v1.4
  changing the fog shaders see shaderlist for more info
- added reduce blur rear view mirror in cockpitview
  note the blur is used to mask the abscence of cars
  only the head lights are rendered most likely intended
  to reduce gpu usage, by removing the blur
  this becomes more apparent so ....
- added more presence rain puddles
- added reduction over bright headlights
- reduce brightness smoke plumes race checkpoint indicators
- tweaked in game tonemap added slight desaturation on green
- added curve shader*
- added more transparent mini map*
* see 'further tweaking' to disable if needed

- uninstall

remove the following files and folders:

ShaderFixes
ShaderCache
d3dx.ini
d3d11.dll
d3dcompiler_46.dll


- install

Copy the contents of the zip file to the install folder of
carx street, the folder which contains CarX Street.exe.

- optional install

The following instructions are only needed
if you do not like using unverified dll's you can:

download 3dmigoto from
https://github.com/bo3b/3Dmigoto/releases
download version 1.3.16.0 (64bits)) and place the following dlls in the
install dir of carx street:
d3d11.dll
d3dcompiler_46.dll
then copy ShaderCache, ShaderFixes plus d3dx.ini from the zip file to the same dir aka folder.

note: if you choose to use the d3dx.ini contained in the github package
make sure to set (line 248):
hunting=0
the default setting is:
hunting=1
which sets 3dmigoto to a debug mode.

- verify

After running the game the folder ShaderFixes should
gradually (scene and level dependent) contain the .bin versions:

029a57faf9499b6c-ps.bin
02a4c0a67abac68b-ps.bin
0458ea4c29bb72d1-ps.bin
450093fe5323a3d4-ps.bin
4700f407630c2adb-ps_replace.bin
56ccddc821d2946d-ps_replace.bin
5ac89953e3187c48-ps.bin
5b00c33c6d59b9c0-ps.bin
797ef88455197738-ps_replace.bin
83b1bfbaac5626cc-ps.bin
910c8e35bcc40e0f-ps_replace.bin
93ab7118c4aafc8a-ps.bin
aea83b4e4e2e2c94-ps_replace.bin
af8115fca58ee07e-ps_replace.bin
b9f0997930cadf58-ps_replace.bin
cdc7dfd98688b09c-ps.bin
d5e31fd5febae6c7-ps_replace.bin
d822d9f80d5936e2-ps_replace.bin
d9bbea9486c8f944-ps_replace.bin
f93a64f8bf4c1ea7-ps.bin
fe75ceb6d3387184-ps.bin

of:

029a57faf9499b6c-ps.txt
02a4c0a67abac68b-ps.txt
0458ea4c29bb72d1-ps.txt
450093fe5323a3d4-ps.txt
4700f407630c2adb-ps_replace.txt
56ccddc821d2946d-ps_replace.txt
5ac89953e3187c48-ps.txt
5b00c33c6d59b9c0-ps.txt
797ef88455197738-ps_replace.txt
83b1bfbaac5626cc-ps.txt
910c8e35bcc40e0f-ps_replace.txt
93ab7118c4aafc8a-ps.txt
aea83b4e4e2e2c94-ps_replace.txt
af8115fca58ee07e-ps_replace.txt
b9f0997930cadf58-ps_replace.txt
cdc7dfd98688b09c-ps.txt
d5e31fd5febae6c7-ps_replace.txt
d822d9f80d5936e2-ps_replace.txt
d9bbea9486c8f944-ps_replace.txt
f93a64f8bf4c1ea7-ps.txt
fe75ceb6d3387184-ps.txt

This means that the file(s) .txt have been compiled by 3dmigoto (d3d11.dll)

- tested

Tested with version 1.4.0 of carx street on
win 7 and win 10(1903) / nvidia 1050gtx ti

- performance

3dmigoto gpu usage 1080p@~60fps
without - clock 1746Mhz gpu usage ~88%
with       - clock 1746Mhz gpu usage ~90%
approximately 2% increase (1050gtx ti on win 7 / win 10(1903))
max gpu: 1772Mhz gpu usage 100%

- further tweaking

If you like you can compare the modified shader, ShaderCache contains
the original shader, to alter values.

The curve shader can be disabled by opening d3dx.ini
in a text editor and altering line 20 from:
include = ShaderFixes\curve.ini
to:
;include = ShaderFixes\curve.ini

To disable specific tweaks remove, by example,
the following shader from the folder 'shaderfixes'

AEA83B4E4E2E2C94-PS_REPLACE.TXT
// reduce opacity hud map left corner bottom

and if compiled remove:

AEA83B4E4E2E2C94-PS_REPLACE.bin

then restart the game.

Most shaders <shadernumber>ps_replace.txt have
a descriptive remark at top of the file (see shader list).

- tips

https://www.pcgamingwiki.com/wiki/carx_street

- shader list


---------- 029A57FAF9499B6C-PS.TXT
// reduce blur rear view mirror in cockpitview
// Generated by Microsoft (R) D3D Shader Disassembler
// reduce blur
//mul r5.w, r5.w, l(6.000000)
//mad r7.xyz, r6.yyyy, r7.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000)
//exp r1.x, r1.x
//min r1.z, r1.z, r3.y
//add r1.z, r1.z, l(-0.434000)
//max r1.z, r1.z, r1.x
//mad r3.xyz, r5.xyzx, r6.xzwx, r3.xyzx
//mad r1.x, r9.x, l(0.750000), l(0.250000)
//mad r0.w, r0.w, r1.w, -cb2[4].z
//max r0.w, r0.w, l(0.000000)
//mul r1.y, r1.y, cb2[4].y
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
//min r1.z, r1.z, l(340282346638528860000000000000000000000.000000)
//mad r1.w, -r1.y, l(0.240226507), l(0.693147182)
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- 02A4C0A67ABAC68B-PS.TXT
// enviroment C buildings landscape baked in fog v1.4
// replaces 2c00fa03dbb569ee-ps
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 10:32:39 2025
  // reduce intensity headlight car avatar
  //mad_sat r16.x, r16.x, l(25.000000), l(0.250000)
// Approximately 0 instruction slots used

---------- 0458EA4C29BB72D1-PS.TXT
// specular road v1.4 replaces f7c8d58900520e1b-ps
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Tue Feb 04 11:18:41 2025

// more presence rain puddles
//mul r6.w, r6.w, l(6.000000)
// reduce brightness
//mov r13.y, l(7.000000)
    // reduce width headlight car avatar
    //mad r21.x, r11.y, l(-0.500000), l(0.500000)
    // reduce light intensity fixtures
    //mov r6.w, l(1.000000)
// reduce brightness road mostly daytime
// reduce specular road 255 and up
//mad r1.z, r4.x, l(0.323000), l(0.739000)
// reduce fog layer distant mountains
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- 450093FE5323A3D4-PS.TXT
// enviroment B buildings landscape baked in fog v1.4
// replaces adba3d932654ca5b-ps
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 10:22:45 2025
// fog layer distant mountains
//exp r1.z, -r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- 4700F407630C2ADB-PS_REPLACE.TXT
// precomputed lut desaturate on green
// ---- Created with 3Dmigoto v1.3.16 on Wed Sep 11 13:06:57 2024
// 3Dmigoto declarations
  // increase brightness
  // desaturate on green

---------- 56CCDDC821D2946D-PS_REPLACE.TXT
// anti aliasing and or blur frame B
// tweaking causes jitter
// ---- Created with 3Dmigoto v1.3.16 on Tue Feb 04 11:12:21 2025

---------- 5AC89953E3187C48-PS.TXT
// reduce smoke plumes race checkpoint indicators
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 10:47:31 2025
// reduce brightness
//add r6.xyz, r6.xyzx, cb6[r3.w + 11].xyzx
// simplify
//min r1.z, r1.z, l(340282346638528860000000000000000000000.000000)
// simplify
//mad r1.w, r2.x, cb7[17].z, cb7[17].w
//max r1.w, r1.w, l(0.000000)
//sqrt r0.z, r1.w
//mul r1.w, r0.z, cb7[12].x
//min r1.w, r1.w, l(0.707106769)
//mul r2.x, r4.w, r0.w
//mad r0.xyz, r0.xyzx, r2.xxxx, r1.xyzx
//mul r0.w, r0.w, r1.w
//add r0.w, r0.w, l(-1.000000)
//mul r0.xyz, r0.wwww, r0.xyzx
//max r0.xyz, r0.xyzx, l(0.000000, 0.000000, 0.000000, 0.000000)
// Approximately 0 instruction slots used

---------- 5B00C33C6D59B9C0-PS.TXT
// enviroment C buildings distant building baked in fog v1.4
// replaces 2de88ef2d917e1d3-ps
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 11:24:40 2025
// fog layer distant mountains
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- 67B40EEBD41E049E-PS.TXT
// reduce fog and brightness water planes rivers and ocean
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Sun Feb 09 10:58:04 2025
// reduce brightness
//mov r14.y, l(7.000000)
// reduce fog
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- 83B1BFBAAC5626CC-PS.TXT
// enviroment A buildings landscape baked in fog v1.4
// replaces c79ccf353450e358-ps
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 10:14:54 2025
// reduce specular
//add r1.z, r1.z, l(-0.434000)
//max r1.z, r1.z, r1.x
//mad r1.z, r4.x, r1.z, r1.x
//add r1.z, -r1.z, l(1.000000)
// fog layer distant mountains
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// increase light distant object
// Approximately 0 instruction slots used

---------- 910C8E35BCC40E0F-PS_REPLACE.TXT
// frame based fx A
// ---- Created with 3Dmigoto v1.3.16 on Mon Sep 09 11:56:40 2024
  // increase brightness
  //r3.xyz = r3.xyz;
  // dampen brightness depth based shifts gamma
  //r2.w = r2.w;
  // shift whitepoint little wiggle room def 1.1 fog dependent
  //r3.xyzw = g_sWhiteBalanceBuffer.Sample(samplerg_sWhiteBalanceBuffer_s, float2(0,0)).xyzw;
  // dampen highlights
  // regulates contrast

---------- 93AB7118C4AAFC8A-PS.TXT
// car glass windshields avatar v1.4
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Tue Feb 04 11:03:12 2025
// reduce fog denstiy?
//exp r1.y, -r1.x
//add r1.y, -r1.y, l(1.000000)
//div r1.y, r1.y, r1.x
// killer switch might be to much
// reduce opacity
// add green tint
// Approximately 0 instruction slots used

---------- AEA83B4E4E2E2C94-PS_REPLACE.TXT
// reduce opacity hud map left corner bottom
// ---- Created with 3Dmigoto v1.3.16 on Thu Feb 06 11:57:39 2025
  // reduce opacity

---------- AF8115FCA58EE07E-PS_REPLACE.TXT
// anti aliasing and or blur frame B
// ---- Created with 3Dmigoto v1.3.16 on Tue Feb 04 11:09:04 2025
  //r1.xyzw = t1.Load(r0.xyz).xyzw;
  //r0.x = cmp(r1.x == 0.000000);
  o0.w = 0;//r0.x ? 0 : 1;

---------- B9F0997930CADF58-PS_REPLACE.TXT
// bloom and tonemap?
// ---- Created with 3Dmigoto v1.3.16 on Thu Sep 05 12:05:12 2024
  // reduce bloom and brightness

---------- CDC7DFD98688B09C-PS.TXT
// trees A baked in fog v1.4 replaces
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Thu Feb 06 10:57:22 2025
// fog layer distant mountains
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- D822D9F80D5936E2-PS_REPLACE.TXT
// race road barriers
// ---- Created with 3Dmigoto v1.3.16 on Mon Sep 09 11:25:36 2024
  // stop animation
  //r0.x = cb1[1].y * cb0[8].x;
  r0.x = 1;//cb1[1].x * r0.x;
  //r0.xyz = r0.xyz * 10*float3(0.1,0.01,1);
  // highlight orange
  // reduce opacity background band

---------- D9BBEA9486C8F944-PS_REPLACE.TXT
// reduce halo car and street lights v1.4
// replaces f4c3871e306bc6cc-ps_replace
// ---- Created with 3Dmigoto v1.3.16 on Wed Feb 05 10:37:03 2025
  // reduce halo

---------- F93A64F8BF4C1EA7-PS.TXT
// trees B baked in fog v1.4 replaces fb9ee47f4f7f54e1-ps
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 10:05:11 2025
// fog layer distant mountains
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- FE75CEB6D3387184-PS.TXT
// street furniture, armetures, etc.
// reduce fog not completly sure about this one
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Feb 05 11:04:46 2025
// fog layer distant mountains
//exp r1.z, -r1.y
//add r1.z, -r1.z, l(1.000000)
//div r1.z, r1.z, r1.y
// killer switch might be to much
//movc r1.y, r1.y, r1.z, r1.w
// Approximately 0 instruction slots used

---------- SHADERLIST.TXT