ANh0r / GI_Textures

Character textures for Genshin. Used in Melon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文 | English

GI Textures

A collection of Genshin Character Texture files for modding.

Guide

Method 1 (recommended for testing)

  1. Download any texture you want to modify
  2. Open in GIMP
  3. Select main layer, right click and select add layer mask

select add layer mask

  1. Choose Transfer layer's alpha channel and add mask.

  1. Use the bucket fill tool and click on the canvas. Make sure fill colour is white, and opacity is 1-2%
  2. Switch from Mask back to picture in Layers tab, and then switch over from Layers tab to Channels tab.
  3. Hide the Alpha channel and deselect Alpha channel

Make sure Alpha channel is not selected as shown below

Make Sure Alpha is not selected

  1. Now you can edit the image.
  2. Export the edited image as png, or overwrite the existing file.
  3. Load texture into genshin using ModelChanger or Scripts

Method 2 (better for deploying and lightmap)

Setting up SpecialK

  1. Download SpecialK Global Injector (SKIF) here
  2. Run SpecialK as admin (Important)
  3. Add Genshin to Game Library
  4. Start Genshin from SpecialK launcher (note: it might take a few tries to succesfully inject SpecialK)
  5. Press ctrl + shift + backspace to open SpecialK menu
  6. Change sRGB bypass from Passthrough to Strip

enter image description here

  1. Open 'Render Mod Tools' to see all textures for dumping.

Making textures

Since SpecialK uses .dds format, GIMP could not be used. We will use "Paint .NET" instead

  1. Download Paint .NET here
  2. Download and install the following plugins: DDS File Type Plus and Modify Channels
  3. Follow this guide to dump any game texture that you want to modify. Jump to Get Textures section of the guide.
  4. Modify textures to your likings, save files in the corresponding formats below and make sure to turn on 'Generate Mip Map'

Diffuse textures --> BC7 (sRGB, DX 11+)

Lightmaps --> BC7 (Linear, DX 11+)

  1. Continue following this guide once you have finished editing your textures.

Important notes (pls read)

  1. If you use Method 1, ModelChanger/UnityExplorer does not currently support replacing lightmaps. Only Method 2 will be able to replace lightmaps.
  2. SpecialK can be loaded simultaneously with Melon. There should be no conflicts.
  3. SpecialK is better than UnityExplorer at changing textures, however SpecialK cannot import models.
  4. SpecialK is more suited for deploying textures since it requires restart of game to load new changes to textures while UnityExplorer doesn't.
  5. SpecialK automatically replaces textures, therefore teleporting to a waypoint does not affect modded textures.
  6. SpecialK uses .dds format instead of png

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Character textures for Genshin. Used in Melon

License:GNU General Public License v3.0