MODkit 1.1 uncook fail on same file every time

+
MODkit 1.1 uncook fail on same file every time

MODkit version: 1.1
Game version: 1.31 GOTY, Steam, installed on dedicated SSD containing only games
Notes: running in elevated CMD, have tried setting the exe to run as admin, also tried compatibility mode


Every time I attempt to uncook the game files, the process will prematurely terminate upon reaching a certain file. As soon as this file begins being processed, the uncook will stop. For example, one of the errors says that "the file version is invalid (163 > 162), file is from newer version of the engine"

- I have tried many different options/switches in the command line to try to get a different result, but it appears I am unable to circumvent the issue. I have tried unbundle first, then uncook, but this results in error saying the files in the unbundled for are not unbundled.
- I have tried using the -uncookext= switch to limit the file types it processes, but both xbm and w2mesh will cause an error.

I have listed below very short snippets of the CMD output at the point where the error occurs and terminated the uncook. When I try to process the entire content folder, the process will stop at the same file every single time. I then tried tobreak the uncook into several pieces and/or use the -uncookext option to see if I would have more success. As you can see, pretty much every attempt to uncook was met with an error




normal command (wcc_lite uncook -indir="C:\The Witcher 3\content" -outdir="C:\Games\The Witcher 3\Uncooked" -skiperrors -imgfmt=tga)
(the total combined size of the uncooked files from this command is about 8.2GB by the time the error occurs)

Code:
[2016.10.02 02:41:09][Warning][Core] File version is invalid (163 > 162), file is from newer version of the engine.
[2016.10.02 02:41:09][Warning][WCC] Failed to load contents from file 'C:\Games\The Witcher 3\Uncooked\characters\models\crowd_npc\background_crowd\novigrad_citizen_poor_01\model\novigrad_citizen_poor_01_a01.xbm'!
[2016.10.02 02:41:09][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 3632



-uncookext=xbm
(the size of the uncooked files from using this option is about 8.5GB when the error occurs)

Code:
[2016.10.02 02:41:09][Info][WCC] Uncooking file 'C:\Games\The Witcher 3\XBM Only\characters\models\crowd_npc\background_crowd\novigrad_citizen_poor_01\model\novigrad_citizen_poor_01_a01.xbm'...
[2016.10.02 02:41:09][Warning][WCC] Failed to load contents from file 'C:\Games\The Witcher 3\XBM Only\characters\models\crowd_npc\background_crowd\novigrad_citizen_poor_01\model\novigrad_citizen_poor_01_a01.xbm'!
[2016.10.02 02:41:09][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 3632



-uncookext=w2mesh
(the size of the uncooked files from using this option is about 3.4GB when the error occurs)

Code:
[2016.10.02 02:52:23][Info][WCC] Uncooking file 'C:\Games\The Witcher 3\W2mesh Only\characters\models\crowd_npc\skellige_fisherman\shoes\model\s_01_mb__skellige_fisherman.w2mesh'...
[2016.10.02 02:52:23][Warning][WCC] Failed to load contents from file 'C:\Games\The Witcher 3\W2mesh Only\characters\models\crowd_npc\skellige_fisherman\shoes\model\s_01_mb__skellige_fisherman.w2mesh'!
[2016.10.02 02:52:23][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 7452

I also decided to try to uncook each individual 'content_x' folder at a time (i.e. content\content0\, content\content8\), rather than trying to uncook the entire content\ folder and all the content folders contained within it. Doing them one-by one did allow me to uncook more of the game, but there is still A LOT of the game files I am missing. When combining all of the uncook files from each separate content_x folder, the total combined size was approx. 18GB.

Content0


Code:
[2016.10.02 01:51:15][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked0\quests\generic_quests\skellige\quest_files\mh202_nekker_warrior\entities\model\mh202_corpse_01_censored.w2mesh'...
[2016.10.02 01:51:15][Info][WCC] Created fallback file 'quests\generic_quests\skellige\quest_files\mh202_nekker_warrior\entities\model\mh202_corpse_01_n01.xbm'
[2016.10.02 01:51:15][Info][WCC] Created fallback file 'quests\generic_quests\skellige\quest_files\mh202_nekker_warrior\entities\model\mh202_corpse_01_d01.xbm'
[2016.10.02 01:51:15][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked0\characters\models\common\man_average\body\model\man_average__a01.xbm'...
[2016.10.02 01:51:15][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked0\characters\models\common\man_average\body\model\man_average__a01.xbm'!
[2016.10.02 01:51:15][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 8012



Content1


Code:
[2016.10.02 01:56:11][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked1\environment\decorations\light_sources\coal\coal_small.w2mesh'...
[2016.10.02 01:56:11][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked1\environment\decorations\light_sources\hanging_lamp\hanging_lamp.w2mesh'...
[2016.10.02 01:56:11][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked1\environment\decorations\light_sources\hanging_lamp\hanging_lamp.w2mesh'!
[2016.10.02 01:56:11][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 6252



Content2


Code:
[2016.10.02 01:59:07][Info][WCC] Created fallback file 'environment\decorations\light_sources\candles\textures\ob_candle01_n.xbm'
[2016.10.02 01:59:07][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked2\environment\decorations\light_sources\hanging_lamp\hanging_lamp_small_holder.w2mesh'...
[2016.10.02 01:59:07][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked2\environment\decorations\light_sources\hanging_lamp\hanging_lamp_small_holder.w2mesh'!
[2016.10.02 01:59:07][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 4016



Content3


Code:
[2016.10.02 02:05:11][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked3\environment\blockout_base\box_wood.w2mesh'...
[2016.10.02 02:05:11][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked3\environment\blockout_base\box_wood.w2mesh'!
[2016.10.02 02:05:11][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 2460



Content4


Code:
[2016.10.02 02:08:53][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked4\environment\decorations\decoration_sets\traders\traders_cloth\generic_cloth_b.w2mesh'...
[2016.10.02 02:08:53][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked4\environment\decorations\decoration_sets\traders\traders_cloth\generic_cloth_b.w2mesh'!
[2016.10.02 02:08:53][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 9980



Content5


Code:
[2016.10.02 02:11:43][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked5\characters\models\common\textures\eyes\eyelashes__n01.xbm'...
[2016.10.02 02:11:43][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked5\characters\models\common\textures\eyes\eyelashes__n01.xbm'!
[2016.10.02 02:11:43][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked5\characters\models\common\textures\runes\rune_noises.texarray'...
[2016.10.02 02:11:43][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked5\characters\models\common\textures\runes\rune_noises.texarray'!
[2016.10.02 02:11:44][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 6084



Content6

NONE - uncook of 'content6' went from start to finish without issues
==============================================================================


Content7


Code:
[2016.10.02 02:15:08][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\bathhouse_assets\textures\bathhouse_assets_n.xbm'...
[2016.10.02 02:15:08][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\bathhouse_assets\textures\bathhouse_assets_n.xbm'!
[2016.10.02 02:15:08][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\brothel_furniture\brothel_lanterns\textures\brothel_lanterns_red_mask.xbm'...
[2016.10.02 02:15:08][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\brothel_furniture\brothel_lanterns\textures\brothel_lanterns_red_mask.xbm'!
[2016.10.02 02:15:08][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\containers\bags\textures\sack.xbm'...
[2016.10.02 02:15:08][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\containers\bags\textures\sack.xbm'!
[2016.10.02 02:15:08][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\containers\bags\textures\sack_n.xbm'...
[2016.10.02 02:15:08][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\containers\bags\textures\sack_n.xbm'!
[2016.10.02 02:15:08][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\corpses\human_corpses\novigrad_dwarf\model\novigrad_dwarf_corps_08.w2mesh'...
[2016.10.02 02:15:08][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked7\environment\decorations\corpses\human_corpses\novigrad_dwarf\model\novigrad_dwarf_corps_08.w2mesh'!
[2016.10.02 02:15:08][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 6976



Content8

NONE - uncook of 'content8' went from start to finish without issues
==============================================================================



Content9

NONE - uncook of 'content9' went from start to finish without issues
==============================================================================



Content10


Code:
[2016.10.02 02:18:57][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_coal.xbm'...
[2016.10.02 02:18:57][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_coal.xbm'!
[2016.10.02 02:18:57][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_coal_n.xbm'...
[2016.10.02 02:18:57][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_coal_n.xbm'!
[2016.10.02 02:18:57][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_plank.xbm'...
[2016.10.02 02:18:57][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_plank.xbm'!
[2016.10.02 02:18:57][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_plank_n.xbm'...
[2016.10.02 02:18:57][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked10\environment\decorations\light_sources\campfire\burned_plank_n.xbm'!
[2016.10.02 02:18:57][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked10\environment\shaders\special\night_lights\interior_array.texarray'...
[2016.10.02 02:18:57][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked10\environment\shaders\special\night_lights\interior_array.texarray'!
[2016.10.02 02:18:57][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 6692



Content11




NONE - uncook of 'content11' went from start to finish without issues
==============================================================================



Content12


Code:
[2016.10.02 02:21:59][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\hangman\model\i_01_hangman_a_01.xbm'...
[2016.10.02 02:21:59][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\hangman\model\i_01_hangman_a_01.xbm'!
[2016.10.02 02:21:59][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\hangman\model\i_01_hangman_d_01.xbm'...
[2016.10.02 02:21:59][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\hangman\model\i_01_hangman_d_01.xbm'!
[2016.10.02 02:21:59][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\hangman\model\i_01_hangman_n_01.xbm'...
[2016.10.02 02:21:59][Warning][WCC] Failed to find cached texture for file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\hangman\model\i_01_hangman_n_01.xbm'!
[2016.10.02 02:21:59][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\nilfgaard_soldiers\model\corpse_01_nilfgaard_soldier.w2mesh'...
[2016.10.02 02:21:59][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked12\environment\decorations\corpses\human_corpses\nilfgaard_soldiers\model\corpse_01_nilfgaard_soldier.w2mesh'!
[2016.10.02 02:21:59][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 9520



Patch0


Code:
[2016.10.02 02:25:21][Warning][WCC] Failed to find texture caches in 'C:\The Witcher 3\content\patch0\'!
[2016.10.02 02:25:21][Error][WCC] No bundle files found in 'C:\The Witcher 3\content\patch0\'!
[2016.10.02 02:25:21][Error][WCC] No unbundled files found in 'C:\The Witcher 3\content\patch0\'!



Patch1


Code:
[2016.10.02 02:24:40][Info][WCC] Uncooking file 'C:\Games\Witcher 3\Uncooked_Patch1\characters\models\crowd_npc\background_crowd\novigrad_child_boy_01\model\novigrad_child_boy_01_d01.xbm'...
[2016.10.02 02:24:40][Warning][WCC] Failed to load contents from file 'C:\Games\Witcher 3\Uncooked_Patch1\characters\models\crowd_npc\background_crowd\novigrad_child_boy_01\model\novigrad_child_boy_01_d01.xbm'!
[2016.10.02 02:24:40][Error][Exception] Red Engine Crash Log
--------------------------------------
Build: 3.0.BUILD_VERSION_FULL  P4CL: CL_INTERNAL  Stream: STREAM_NAME P4_SHELF [ Compiled Oct 16 2015 ]
User: MRW
Crash reason: EXCEPTION_ACCESS_VIOLATION (3221225477), Error reading location 0x00000054
Crashed Thread:
Thread ID: 9204


Any help?
 
ModKit is broken now
We should have that thread pinned I guess :)
You still can do some modding stuff but you can't uncook the game if you update it to 1.30+

sigh...
all that effort compiling my error messages OCD style.. lol

ok so.. is there any outlook on it being 'fixed'? also which thread are you referring to?

(also, i didnt update.. i just bought the game for the first time.. guess i waited too long.. its the first non-bethesda open world action rpg ive ventured to play and make mods for .. not off to a good start; oh well)
 
Last edited:
sigh...
all that effort compiling my error messages OCD style.. lol

ok so.. is there any outlook on it being 'fixed'? also which thread are you referring to?

(also, i didnt update.. i just bought the game for the first time.. guess i waited too long.. its the first non-bethesda open world action rpg ive ventured to play and make mods for .. not off to a good start; oh well)

It's being "worked on", but imo, they just dont really care anymore. Mod support never was their strongest territory. They're too busy with that gwent game.... :|
 
Click where he wrote 'Modkit is broken now', it links to the thread. :)

lol.. didnt see the link it blends in a little bit with the background. thx :

It's being "worked on", but imo, they just dont really care anymore. Mod support never was their strongest territory. They're too busy with that gwent game.... :|
bummer.. I wish there was a way to downgrade my version... thx for the insight
 
Thank you for posting this -- it's the exact same issue I've been having.

I've had the game for a while, but on my second replay I started to get ideas for mods, only to start learning how to do it to end up frustrated. At least I now know for sure it is NOT on my end -- small comfort, but it is a bit of knowledge.

It is a shame that the folks of CDPR really don't care about this enough. I think they are great company, but I cannot avoid but feel a little disappointed...
 
It is a shame that the folks of CDPR really don't care about this enough. I think they are great company, but I cannot avoid but feel a little disappointed...

the sad thing is that it most likely would take like 1 day to do it, had they cared.
But w/e, if you roll back, to like 1.22, stuff should work fine
 
You are probably right. Unfortunately, I don't think I have a choice with the Steam copy of the game (which is what I have). And besides, otherwise I am liking version 1.31. :/

Heck, if I had the game engine and/or the code (or at least a part of it) for the Mod Kit I could patch it with a HEX editor on my own. But without it, I may still be able to do it, but I DO have a job, and not enough time
 
the sad thing is that it most likely would take like 1 day to do it, had they cared.
But w/e, if you roll back, to like 1.22, stuff should work fine
cant roll back on steam version, unfortunately (no, i dont want to debate the pros and cons of steam vs gog, lol)
 
Top Bottom