I’m trying to cook my game ahead of distribution. It looks like only maps are getting cooked and not upk files. I need the upk files too. I have tried listing all of my upks in both my game’s Engine.ini [Engine.PackagesToAlwaysCook] section and in the bat file I use to cook packages.
Here is the command in the bat file.
Win64\RPGTacGame.exe CookPackages -platform=PC HimekoSutoriContent.upk HimekoSutoriContentNew.upk HimekoSutoriContent3.upk RPGTacParticles.upk RPGTacCity2.upk Prefabs.upk RPGTacCaves.upk RPGTacCaves2.upk RPGTacCaves3.upk RPGTacContent.upk RPGTacMenu.upk RPGTacRocks.upk RPGTacInteriors.upk RPGTacInteriors2.upk RPGTacMenu.upk RPGTacWorld2.upk RPGTacWorldMountains.upk SobelEdgeContent.upk HimekoSutoriMusic.upk HimekoSutoriMusic2.upk HimekoSutoriMusic3.upk HimekoSutoriMusic4.upk HimekoSutoriMusic5.upk HimekoSutoriMusic6.upk HimekoSutoriMusic7.upk Sounds.upk Sounds2.upk Sounds3.upk SoundClassesAndModes.upk EditorLandscapeResources.upk EditorMaterials.upk EditorMeshes.upk EditorResources.upk EditorShellMaterials.upk Engine_Lights.upk Engine_MI_Shaders.upk EngineApexResources.upk EngineBuildings.upk EngineMaterials.upk EngineDebugMaterials.upk EngineMeshes.upk EngineProduction.upk EngineResources.upk EngineSounds.upk EngineVolumetrics.upk MapTemplateIndex.upk MapTemplates.upk MaterialTemplates.upk MobileEngineMaterials.upk MobileResources.upk NodeBuddies.upk HS_Legal.umap HS_StartMenu.umap HS_GameOver.umap HS_Squad_01.umap HS_Squad_02.umap HS_Squad_03.umap HS_Squad_04.umap HS_Squad_05.umap HS_Squad_06.umap HS_Squad_07.umap HS_Squad_08.umap HS_Squad_09.umap HS_Squad_10.umap HS_Squad_11.umap HS_Squad_12.umap HS_Squad_13.umap HS_Squad_14.umap HS_Squad_15.umap HS_Squad_16.umap HS_Squad_17.umap HS_Squad_18.umap HS_Squad_19.umap HS_Squad_20.umap RPGTacEntry.umap RPGTacSquadMain.umap Beta_AcademyTower.umap Beta_Base.umap Beta_Battlefield_Beach01.umap Beta_Battlefield_Beach01day.umap Beta_Battlefield_Cave01.umap Beta_Battlefield_Forest01.umap Beta_Battlefield_Forest01day.umap Beta_Battlefield_Forest01night.umap Beta_SunriseFalls.umap Beta_SunriseFalls_Daytime.umap Beta_SunriseFalls_Intro.umap Beta_SunriseFalls_MarketFight.umap Beta_SunriseFalls_Night.umap Beta_SunriseFalls_Slimes.umap Beta_World_01.umap -final_release -full
And this is in my RPGTacEngine.ini file:
[Engine.PackagesToAlwaysCook]
+SeekFreePackage=HimekoSutoriContent.upk
+SeekFreePackage=HimekoSutoriContentNew.upk
+SeekFreePackage=HimekoSutoriContent3.upk
+SeekFreePackage=RPGTacParticles.upk
+SeekFreePackage=RPGTacCity2.upk
+SeekFreePackage=Prefabs.upk
+SeekFreePackage=RPGTacCaves.upk
+SeekFreePackage=RPGTacCaves2.upk
+SeekFreePackage=RPGTacCaves3.upk
+SeekFreePackage=RPGTacContent.upk
+SeekFreePackage=RPGTacMenu.upk
+SeekFreePackage=RPGTacRocks.upk
+SeekFreePackage=RPGTacInteriors.upk
+SeekFreePackage=RPGTacInteriors2.upk
+SeekFreePackage=RPGTacMenu.upk
+SeekFreePackage=RPGTacWorld2.upk
+SeekFreePackage=RPGTacWorldMountains.upk
+SeekFreePackage=SobelEdgeContent.upk
+SeekFreePackage=HimekoSutoriMusic.upk
+SeekFreePackage=HimekoSutoriMusic2.upk
+SeekFreePackage=HimekoSutoriMusic3.upk
+SeekFreePackage=HimekoSutoriMusic4.upk
+SeekFreePackage=HimekoSutoriMusic5.upk
+SeekFreePackage=HimekoSutoriMusic6.upk
+SeekFreePackage=HimekoSutoriMusic7.upk
+SeekFreePackage=Sounds.upk
+SeekFreePackage=Sounds2.upk
+SeekFreePackage=Sounds3.upk
+SeekFreePackage=SoundClassesAndModes.upk
+SeekFreePackage=EditorLandscapeResources
+SeekFreePackage=EditorMaterials
+SeekFreePackage=EditorMeshes
+SeekFreePackage=EditorResources
+SeekFreePackage=EditorShellMaterials
+SeekFreePackage=Engine_Lights
+SeekFreePackage=Engine_MI_Shaders
+SeekFreePackage=EngineApexResources
+SeekFreePackage=EngineBuildings
+SeekFreePackage=EngineMaterials
+SeekFreePackage=EngineDebugMaterials
+SeekFreePackage=EngineMeshes
+SeekFreePackage=EngineProduction
+SeekFreePackage=EngineResources
+SeekFreePackage=EngineSounds
+SeekFreePackage=EngineVolumetrics
+SeekFreePackage=MapTemplateIndex
+SeekFreePackage=MapTemplates
+SeekFreePackage=MaterialTemplates
+SeekFreePackage=MobileEngineMaterials
+SeekFreePackage=MobileResources
+SeekFreePackage=NodeBuddies
And here is the log that tells me that these upk files should be getting cooked.
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\HimekoSutoriContent.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\HimekoSutoriContentNew.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\HimekoSutoriContent3.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacParticles.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacCity2.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\Prefabs.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacCaves.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacCaves2.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacCaves3.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacContent.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacMenu.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacRocks.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacInteriors.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacInteriors2.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacMenu.upk for cooking...
[0032.90] Log: Adding package ..\..\RPGTacGame\Content\RPGTacWorld2.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\RPGTacWorldMountains.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\SobelEdgeContent.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic2.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic3.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic4.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic5.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic6.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\HimekoSutoriMusic7.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\Sounds.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\Sounds2.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\INT\Sounds3.upk for cooking...
[0032.91] Log: Adding package ..\..\RPGTacGame\Content\Sounds\SoundClassesAndModes.upk for cooking...
But then I check the CookedPC directory and none of my upk files are there.
When I start the game with -seekfreeloading there’s a lot of content missing. And when I don’t use -seekfreeloading, the game won’t start at all, telling me instead that scripts need to be rebuilt, and then it fails because it can’t find the UnrealScript files.
Anyone know how I should cook all of the content I want cooked?