File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

Tags for this mod

About this mod

Many shadertweaks with 3dmigoto see description

Permissions and credits
- 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.
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

- install

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

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

- 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:

233c9c10a70ae9d1-ps.bin
2c00fa03dbb569ee-ps.bin
2de88ef2d917e1d3-ps.bin
4700f407630c2adb-ps_replace.bin
7dbe6ea774f11f99-ps_replace.bin
86ec3da7686a4ee1-ps_replace.bin
910c8e35bcc40e0f-ps_replace.bin
adba3d932654ca5b-ps.bin
b9f0997930cadf58-ps_replace.bin
c79ccf353450e358-ps.bin
d5e31fd5febae6c7-ps_replace.bin
d822d9f80d5936e2-ps_replace.bin
f4c3871e306bc6cc-ps_replace.bin
f7c8d58900520e1b-ps.bin
fb9ee47f4f7f54e1-ps.bin

of:

233c9c10a70ae9d1-ps.txt
2c00fa03dbb569ee-ps.txt
2de88ef2d917e1d3-ps.txt
4700f407630c2adb-ps_replace.txt
7dbe6ea774f11f99-ps_replace.txt
86ec3da7686a4ee1-ps_replace.txt
910c8e35bcc40e0f-ps_replace.txt
adba3d932654ca5b-ps.txt
b9f0997930cadf58-ps_replace.txt
c79ccf353450e358-ps.txt
d5e31fd5febae6c7-ps_replace.txt
d822d9f80d5936e2-ps_replace.txt
f4c3871e306bc6cc-ps_replace.txt
f7c8d58900520e1b-ps.txt
fb9ee47f4f7f54e1-ps.txt

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

- tested

Tested with version 1.1.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'

D822D9F80D5936E2-PS_REPLACE.TXT
// race road barriers

and if compiled remove:

D822D9F80D5936E2-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

---------- 233C9C10A70AE9D1-PS.TXT
// car glass windshields avatar
//   using 3Dmigoto v1.3.16 on Sun Sep 08 12:55:28 2024
// 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
//movc r1.x, r1.x, r1.y, r1.z
// reduce opacity
// add green tint
// Approximately 0 instruction slots used

---------- 2C00FA03DBB569EE-PS.TXT
// enviroment C buildings landscape baked in fog
//   using 3Dmigoto v1.3.16 on Wed Sep 11 13:48:32 2024
// 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

---------- 2DE88EF2D917E1D3-PS.TXT
// enviroment C buildings distant building baked in fog
//   using 3Dmigoto v1.3.16 on Thu Sep 12 11:57:22 2024
// 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

---------- 4700F407630C2ADB-PS_REPLACE.TXT
// pre computed lut?
// ---- Created with 3Dmigoto v1.3.16 on Wed Sep 11 13:06:57 2024
  // increase brightness

---------- 7DBE6EA774F11F99-PS_REPLACE.TXT
// frame based fx auto exposure?
// removed tweaks darkens todo check again
// ---- Created with 3Dmigoto v1.3.16 on Thu Sep 05 12:16:35 2024

---------- 86EC3DA7686A4EE1-PS_REPLACE.TXT
// odd upside down fx seems to sharpen
// ---- Created with 3Dmigoto v1.3.16 on Sat Sep 07 11:58:36 2024
  // remove sharpen

---------- 910C8E35BCC40E0F-PS_REPLACE.TXT
// frame based fx A
// ---- Created with 3Dmigoto v1.3.16 on Mon Sep 09 11:56:40 2024
  // increase brightness
  // 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

---------- ADBA3D932654CA5B-PS.TXT
// enviroment B buildings landscape baked in fog
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Sep 11 13:40:37 2024
// 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

---------- 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

---------- C79CCF353450E358-PS.TXT
// enviroment A buildings landscape baked in fog
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Wed Sep 11 11:44:09 2024
// reduce specular
//add r1.z, r1.z, l(-0.434000)
//max r1.z, r1.z, r1.x
//mad r1.z, r3.w, 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

---------- D5E31FD5FEBAE6C7-PS_REPLACE.TXT
// frame based fx B
// ---- Created with 3Dmigoto v1.3.16 on Sat Sep 07 11:39:01 2024
  // increase brightness

---------- 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

---------- F4C3871E306BC6CC-PS_REPLACE.TXT
// reduce halo car and street lights
// ---- Created with 3Dmigoto v1.3.16 on Thu Sep 05 13:00:45 2024
  // reduce halo

---------- F7C8D58900520E1B-PS.TXT
// specular road
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Sat Sep 07 12:15:39 2024
// reduce brightness
//mov r13.y, l(7.000000)
// reduce specular road 255 and up
//mad r1.z, r5.y, l(0.323000), l(0.739000)
//add r1.z, r1.z, l(-0.434000)
//max r1.z, r1.z, r1.x
//mad r1.z, r5.x, r1.z, r1.x
//add r1.z, -r1.z, l(1.000000)
// 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
// reduce specular road
//min r0.w, r0.w, l(0.998000)
// Approximately 0 instruction slots used
//////////////////////////////// HLSL Errors ////////////////////////////////
// I:\games\carx street\ShaderFixes\f7c8d58900520e1b-ps_replace.txt(175,18-27): error X3004: undeclared identifier 'raw_buffer'
// I:\games\carx street\ShaderFixes\f7c8d58900520e1b-ps_replace.txt(175,1-28): error X3004: undeclared identifier 'ld_raw_indexable'
/////////////////////////////////////////////////////////////////////////////

---------- FB9EE47F4F7F54E1-PS.TXT
// trees B imposters nearby baked in fog
// Generated by Microsoft (R) D3D Shader Disassembler
//   using 3Dmigoto v1.3.16 on Thu Sep 12 12:06:08 2024
// 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

---------- SHADER.TXT