[Mod Request] Kaer Morhen Enhaced Textures

+
[Mod Request] Kaer Morhen Enhaced Textures

Can anyone confirm if the following .tga filese are editable ? cooked\environment\architecture\human\kaer_morhen\kaer_morhen_exterior\exterior_textures or cooked\environment\architecture\human\kaer_morhen\ any tga or mesh filese. Has anyone been able to work with them?
So far i could uncook/extract edit files and pack them in to a mod with a few errors but nothing changes when testing it.

Have been trying for several attempts to make a Kaer Morhen Enhanced Textures Mod but its never working.
 
Just tested, and i have been able to edit said textures and have them show up in game.
Are you sure that you are importing your edited .tga textures into an .xbm format, and then creating a texture cache before packing?
You cant just take your edited .tga files and pack them.
When finished you should have 3 files in your mod's content folder called;

texture.cache
metadata.store
blob0.bundle
 
Thank you for testing it !
I am currently using W3 Oven and imports all mod files automatically.
And i do get in the packed folder texture.cahe metdata.store blob0.bundle

Can you please elaborate a bit what you did and how you managed?
 
I personally dont use any of the pre made modding tools, such as w3 oven.
I use my own workspace that i made myself, and therefore i don't know how helpful i can be.

I run a program called directory opus, which allows me to set up custom buttons, which i have assigned to custom batch scripts.




Here are these batch scripts, which shouldn't be unfamiliar, if you know the modkit commands.

Code:
@leavedoswindowopen
@externalonly
echo on
cd /d D:\ModKit\modkit_tools\bin\x64
call wcc_lite export -depot=D:\ModKit\Workspace\raw_uncooked\ -file={filepath} -out={filepath|ext=tga}

Code:
@externalonly
@leavedoswindowopen
echo on
cd /d D:\ModKit\modkit_tools\bin\x64
call wcc_lite import -depot=D:\ModKit\Workspace\raw_uncooked\ -file={filepath} -out={sourcepath}{file|ext=xbm}

Code:
@leavedoswindowopen
echo on
cd /d D:\ModKit\modkit_tools\bin\x64
call wcc_lite cook -platform=pc -mod="{filepath}" -basedir="{filepath}" -outdir=D:\ModKit\Workspace\mods_cooked\"{file}"
call wcc_lite buildcache textures -basedir="{filepath}" -platform=pc -db=D:\ModKit\Workspace\mods_cooked\{file}\cook.db -out=D:\ModKit\Workspace\mods_finished\mod"{file}"\content\texture.cache
call wcc_lite pack -dir=D:\ModKit\Workspace\mods_cooked\"{file}" -outdir=D:\ModKit\Workspace\mods_finished\mod"{file}"\content\
call wcc_lite metadatastore -path=D:\ModKit\Workspace\mods_finished\mod"{file}"\content\

Where you see {filepath} or {file} is a opus specific variable, that substitutes in the directory/filename/path of what i have selected in the explorer window into the batch script.
You have to be careful, some of the texture file's names can cause problems, unless you put them in quotes.

For example the file:
kaer_morhen_floor_array.texarray.texture_0.xbm

if not put in quotes, wcc_lite will read it as:
kaer_morhen_floor_array.texarray

which is a different file altogether, so it throws an error.


In the end you should have something that looks like this:

Code:
D:\ModKit\Workspace\mods_projects>cd /d D:\ModKit\modkit_tools\bin\x64

D:\ModKit\modkit_tools\bin\x64>call wcc_lite cook -platform=pc -mod=D:\ModKit\Workspace\mods_projects\WallTexture\ -basedir=D:\ModKit\Workspace\mods_projects\WallTexture\ -outdir=D:\ModKit\Workspace\mods_cooked\WallTexture
[2017.06.29 17:48:46][Info][WCC] Starting commandlet 'cook'
[2017.06.29 17:48:46][Info][WCC] ---------------------------------------------------------------
[2017.06.29 17:48:46][Info][WCC] Custom base directory set to 'D:\ModKit\Workspace\mods_projects\WallTexture\'
[2017.06.29 17:48:46][Info][WCC] Found 1 files in mod directory 'D:\ModKit\Workspace\mods_projects\WallTexture\'
[2017.06.29 17:48:46][Info][WCC] Cooker OUTPUT PATH override to 'D:\ModKit\Workspace\mods_cooked\WallTexture\'
[2017.06.29 17:48:46][Info][WCC] Loading cooker data base...
[2017.06.29 17:48:46][Warning][WCC] Failed to load existing cooking data base from 'D:\ModKit\Workspace\mods_cooked\WallTexture\cook.db'. New one will be generated.
[2017.06.29 17:48:46][Info][WCC] Found 1 files in the initial cooking list
Pass 0, cooked 1 files in 0.03s
[2017.06.29 17:48:46][Info][WCC] Cooker data base saved in 0.00s (1 entries, 0.00 MB)
[2017.06.29 17:48:46][Info][WCC] Cooking finished in 0.03s
[2017.06.29 17:48:46][Info][WCC] Cooked 1 files in total
[2017.06.29 17:48:46][Info][WCC] Total loading time: 0.00s
[2017.06.29 17:48:46][Info][WCC] Total saving time: 0.00s
[2017.06.29 17:48:46][Info][WCC] Total cooking time: 0.00s (1 objects)
[2017.06.29 17:48:46][Info][WCC] Per class cooking stats (1 classes):
[2017.06.29 17:48:46][Info][WCC]   0.000s: CBitmapTexture (1 objects)
[2017.06.29 17:48:46][Info][WCC] Cooker data base saved in 0.00s (1 entries, 0.00 MB)
[2017.06.29 17:48:46][Info][WCC] ---------------------------------------------------------------

D:\ModKit\modkit_tools\bin\x64>call wcc_lite buildcache textures -basedir=D:\ModKit\Workspace\mods_projects\WallTexture\ -platform=pc -db=D:\ModKit\Workspace\mods_cooked\WallTexture\cook.db -out=D:\ModKit\Workspace\mods_finished\modWallTexture\content\texture.cache
[2017.06.29 17:49:06][Info][WCC] Starting commandlet 'buildcache'
[2017.06.29 17:49:06][Info][WCC] ---------------------------------------------------------------
[2017.06.29 17:49:06][Info][WCC] Remapped depot directory to 'D:\ModKit\Workspace\mods_projects\WallTexture\'
[2017.06.29 17:49:06][Info][WCC] Loading cooker data base...
[2017.06.29 17:49:06][Info][WCC] Parsing cooker data base...
[2017.06.29 17:49:06][Info][WCC] Parsed 1 existing entries from cooker data base in 0.00s
[2017.06.29 17:49:06][Info][WCC] Found 1 files to process
[2017.06.29 17:49:06][Info][WCC] Processing 'environment\architecture\human\kaer_morhen\kaer_morhen_interior\textures\kaer_morhen_interior_window.xbm'...
[2017.06.29 17:49:06][Info][WCC] Flushing texture cache...
[2017.06.29 17:49:06][Info][WCC] Texture cache closed
[2017.06.29 17:49:06][Info][WCC] ---------------------------------------------------------------

D:\ModKit\modkit_tools\bin\x64>call wcc_lite pack -dir=D:\ModKit\Workspace\mods_cooked\WallTexture -outdir=D:\ModKit\Workspace\mods_finished\modWallTexture\content\
[2017.06.29 17:49:24][Info][WCC] Starting commandlet 'pack'
[2017.06.29 17:49:24][Info][WCC] ---------------------------------------------------------------
[2017.06.29 17:49:24][Info][WCC] Compressing 'environment\architecture\human\kaer_morhen\kaer_morhen_interior\textures\kaer_morhen_interior_window.xbm'...
[2017.06.29 17:49:24][Info][WCC] Bundle 'D:\ModKit\Workspace\mods_finished\modWallTexture\content\blob0.bundle' saved, 1 files, 8.00 KB of data
[2017.06.29 17:49:24][Info][WCC] ---------------------------------------------------------------

D:\ModKit\modkit_tools\bin\x64>call wcc_lite metadatastore -path=D:\ModKit\Workspace\mods_finished\modWallTexture\content\
[2017.06.29 17:49:44][Info][WCC] Starting commandlet 'metadatastore'
[2017.06.29 17:49:44][Info][WCC] ---------------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] Bundle input directory: 'D:\ModKit\Workspace\mods_finished\modWallTexture\content\'
[2017.06.29 17:49:44][Info][WCC] Store output path: 'D:\ModKit\Workspace\mods_finished\modWallTexture\content\metadata.store'
[2017.06.29 17:49:44][Info][WCC] Loaded 1 bundles with 1 entries
[2017.06.29 17:49:44][Info][WCC] Ignored censorship for 0 files
[2017.06.29 17:49:44][Info][WCC] Analyzing buffers....
[2017.06.29 17:49:44][Info][WCC] Number of buffers: 0
[2017.06.29 17:49:44][Info][WCC] Number of files with buffers: 0
[2017.06.29 17:49:44][Info][WCC] Max buffer ID: 0
[2017.06.29 17:49:44][Info][WCC] Exported 0.22 KB of text (discardable)
[2017.06.29 17:49:44][Info][WCC] Exported 1 bundles (0.05 KB)
[2017.06.29 17:49:44][Info][WCC] Exported 1 entries (0.04 KB)
[2017.06.29 17:49:44][Info][WCC] Exported 1 files (0.06 KB)
[2017.06.29 17:49:44][Info][WCC] Created 0 buffers (0.00 KB)
[2017.06.29 17:49:44][Info][WCC] Created 0.08 KB in initialization data
[2017.06.29 17:49:44][Info][WCC]   Bundle blob0.bundle:
[2017.06.29 17:49:44][Info][WCC]     NumEntries: 1
[2017.06.29 17:49:44][Info][WCC]     NumBuffers: 0
[2017.06.29 17:49:44][Info][WCC]     NumResources: 1 (0 owning buffers)
[2017.06.29 17:49:44][Info][WCC]     TotalDataSize: 0.81 KB
[2017.06.29 17:49:44][Info][WCC]     BurstDataSize: 7.66 KB
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -- Per extension stats for normal files
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC]    xbm: 1 files, 0.00 MB -> 0.00 MB (ratio: 0.792)
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -- Compression statistics for xbm
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC]   lz4hc: 1 files, 0.00MB -> 0.00MB (ratio: 0.792)
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -- Per extension stats for buffer files
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] -- Compression statistics for totals
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC]   lz4hc: 1 files, 0.00MB -> 0.00MB (ratio: 0.792)
[2017.06.29 17:49:44][Info][WCC] -------------------------------------------------------
[2017.06.29 17:49:44][Info][WCC] Building the metadata store took 0.1 sec ( 1 bundles, 1 file entries )
[2017.06.29 17:49:44][Info][WCC] ---------------------------------------------------------------

D:\ModKit\modkit_tools\bin\x64>



The way i did it is:

1) Create a new folder for this particular mod, in my "mods_projects" directory.
2) Copy over the .tga file from my uncooked folder into that new folder, with the folder structure.
3) Edit the texture (i use photoshop)
4) Now I in my case i just click the file and chose "Import (.tga)" from that menu.
5) Now i have an .xbm file in that same folder.
6) I click on the folder i created for this mod, at the base of the folder tree, and select, "cook and pack (inc texture cache)"
7) And once that finished i go to my "mods_finished" folder and i'll have a finished mod.
 
Last edited:
Top Bottom