custom "Color correction" settings?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Tkdmaster
Posts: 21
Joined: Sat, 4. Feb 17, 04:13
x4

custom "Color correction" settings?

Post by Tkdmaster »

So i'm assuming since they went to vulkan and made it so we can't use reshade, etc, is why they added the Color Correction options in the Graphics ssettings menu. does anyone know how we can go about adding in our own setups to this? I'm colorblind, and thus typically use a Reshade/sweetfx setup to make things easier for me to see, without thos esetitngs certain things are very difficult to deal with!
hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Re: custom "Color correction" settings?

Post by hhr »

Add your presets, in my opinion, while it is impossible. File names are hard-coded in the executable. But we can change any of the existing presets, they are in the catalog ...\assets\textures\regionluts\ and are named so: test-photo-lut, test-desat1-lut, test-desat2-lut, test-experimental-lut.

We can do this (original; something like Digital Vibrance; posterization):

Image Image Image
  1. this is original LUT-table without corrections, save as lut_normal.png:
    Image
  2. take a screenshot in the game and add this LUT table to it:

    Code: Select all

    magick composite lut-normal.png screenshot.png screenshot_with_lut.png
  3. edit screenshot_with_lut.png in any graphick editor, make color correcion, change levels, etc.
  4. cut modified LUT-table and break into 32 parts, the future levels of the volume-texture:

    Code: Select all

    magick convert screenshot_with_lut.png -crop 1024x32+0+0 +repage -crop 32x32 +repage lut_level.png
  5. create a text list of these levels

    Code: Select all

    dir /b lut_level-*.png > lut.list
  6. convert to DDS volume texture:

    Code: Select all

    nvdxt.exe -volumeMap -list lut.list -nomipmap -u8888 -output test-experimental-lut.dds
  7. copy test-experimental-lut.dds in ...\assets\textures\regionluts\, add command option -prefersinglefiles, run.
GrafVanRotz
Posts: 7
Joined: Wed, 15. Jul 15, 18:53
x4

Re: custom "Color correction" settings?

Post by GrafVanRotz »

@hhr

It is possible to change the awful color palette to another more realistic looking colors?
Specially red, green, purple!
Thx
Balmung
Posts: 9
Joined: Tue, 4. Dec 18, 06:58
x4

Re: custom "Color correction" settings?

Post by Balmung »

@hhr: what Tools did you use for that? NVidia Tool Kit or something?
hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Re: custom "Color correction" settings?

Post by hhr »

Balmung wrote: Thu, 6. Dec 18, 17:26what Tools did you use for that?
nvdxt — https://developer.nvidia.com/gameworksd ... ities-8-31 (DDS Utilities 8.31)
Imagemagick — https://www.imagemagick.org/script/download.php#windows (ImageMagick-7.0.8-15-Q16-x64-dll)
GrafVanRotz wrote: Thu, 6. Dec 18, 17:05It is possible to change the awful color palette to another more realistic looking colors?
Specially red, green, purple!
You can read about use of LUT-tables here - Using Lookup Tables (LUTs) for Color Grading, How to Use 3D LUTs in Photoshop

if in brief, if you can make the desired image in the graphical editor, then yes, you can change palette as you wish.
Balmung
Posts: 9
Joined: Tue, 4. Dec 18, 06:58
x4

Re: custom "Color correction" settings?

Post by Balmung »

Very usefull, thx.
hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Re: custom "Color correction" settings?

Post by hhr »

Tkdmaster wrote: Thu, 6. Dec 18, 04:37I'm colorblind
I did not find any specialized software, but I was told that there are extensions for Chrome, in which you can adjust the color scheme to improve the legibility of colors.
1) https://chrome.google.com/webstore/deta ... mpekpfnkih
2) https://chrome.google.com/webstore/deta ... lmfececool

Tthe idea is to open a screenshot from step 2 in the browser, using the extension to configure the image. Then take another screenshot from the browser (point to point) and use it in step 4.
Tkdmaster
Posts: 21
Joined: Sat, 4. Feb 17, 04:13
x4

Re: custom "Color correction" settings?

Post by Tkdmaster »

hhr wrote: Sat, 8. Dec 18, 22:06
Tkdmaster wrote: Thu, 6. Dec 18, 04:37I'm colorblind
I did not find any specialized software, but I was told that there are extensions for Chrome, in which you can adjust the color scheme to improve the legibility of colors.
1) https://chrome.google.com/webstore/deta ... mpekpfnkih
2) https://chrome.google.com/webstore/deta ... lmfececool

Tthe idea is to open a screenshot from step 2 in the browser, using the extension to configure the image. Then take another screenshot from the browser (point to point) and use it in step 4.
thanks for your -very- indepth response to this! Sadly, this is all far over my head and what i'm comfortabe making on my own, especially since its making all these custom color things, that I honestly can't even see to begin with. I will just have to wait till someone comes along to make some of these for the community.

again though, thank you for posting all the information you have on the subject!

Return to “X4: Foundations - Scripts and Modding”