[Warning] Cannot find Central Directory Record in pak error on export to engine

#1
[Warning] Cannot find Central Directory Record in pak.This is either not a pak file, or a pak file without Central Directory. It does not mean that the data is permanently lost, but it may be severely damaged. Please repair the file with external tools, there may be enough information left to recover the file completely. [Warning] Could not open file in binary mode for reading [Assert] [File=D:/jk/gamesdk_release/Code/Sandbox/EditorQt/GameExporter.cpp] [Warning] Export failed! Cannot open Pak file assets/levels/sciencesimulator_new/level.pak for writing.

any help would be much appreciated.
i have attached a log file below








<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:40> [Error] Failed To Load Animation DBA 'animations/animals/birds/pigeon/pigeon.dba' for model 'objects/characters/animals/birds/pigeon/pigeon_lf.chr'. Reason: Failed to open file 'animations/animals/birds/pigeon/pigeon.dba'
<08:06:40> 5 animation-assets loaded (total assets: 1546)
<08:06:40> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:40> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Init vehicle: swat_van1 (swat_van)
<08:06:41> Loading CGA objects/vehicles/swat_van/swat_van.cga
<08:06:41> Loading CGA objects/vehicles/swat_van/swat_van_damaged.cga
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:41> Loading CGA objects/prototype/elevatordoors/animatedelevatordoors.cga
<08:06:41> [Warning] Failed to load CGA-Object [File=objects/prototype/elevatordoors/animatedelevatordoors.cga]
<08:06:42> ---- End: Activating Mission Mission0 (29 seconds)
<08:06:42> ---- Start: Load Level Shader Cache
<08:06:42> ---- End: Load Level Shader Cache (0 seconds)
<08:06:42> ---- Start: Post Load
<08:06:42> ---- End: Post Load (0 seconds)
<08:06:42> [Warning] Physicalized object has material (Science Simulator/planets/Ganimede/gan4:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2424
<08:06:42> [Warning] Physicalized object has material (Materials/planets/jupiter:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Jupiterbig
<08:06:42> [Warning] Physicalized object has material (Materials/Enceleadusplumes:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer388
<08:06:42> [Warning] Physicalized object has material (Science Simulator/socialscientists/pintrest:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2184
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/ganimede1:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2207
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/gan4:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer1768
<08:06:42> [Warning] Physicalized object has material (Materials/planets/neptune:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+moon4
<08:06:42> [Warning] Physicalized object has material (Materials/planets/mercury:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+mercury
<08:06:42> [Warning] Physicalized object has material (Materials/encel_full:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2128
<08:06:42> [Warning] Physicalized object has material (Materials/Titanfull:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2132
<08:06:42> [Warning] Physicalized object has material (Materials/planets/mars:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+mars
<08:06:42> [Warning] Physicalized object has material (Science Simulator/socialscientists/twitter:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2200
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/panel8:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer1770
<08:06:42> [Warning] Physicalized object has material (Materials/planets/saturn:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+saturn2
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/panel7:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer1778
<08:06:42> [Warning] Physicalized object has material (Objects/social scientist/instagram:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2183
<08:06:42> [Warning] Physicalized object has material (Materials/yinyang:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2496
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/panel5:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2222
<08:06:42> [Warning] Physicalized object has material (Materials/planets/moon:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+earth3
<08:06:42> [Warning] Physicalized object has material (Materials/planets/uranus:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Sun4
<08:06:42> [Warning] Physicalized object has material (Materials/planets/sun:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+solarSun2
<08:06:42> [Warning] Physicalized object has material (Materials/planets/earth:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+earth
<08:06:42> [Warning] Physicalized object has material (Science Simulator/planets/Ganimede/gan3:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2426
<08:06:42> [Warning] Physicalized object has material (Science Simulator/planets/Ganimede/gan2:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2423
<08:06:42> [Warning] Physicalized object has material (Materials/planets/titan:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+moon6
<08:06:42> [Warning] Physicalized object has material (Science Simulator/planets/Ganimede/gan1:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2425
<08:06:42> [Warning] Physicalized object has material (Materials/planets/venus:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+venus3
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/gan6:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2212
<08:06:42> [Warning] Physicalized object has material (Science Simulator/socialscientists/youtube:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2199
<08:06:42> [Warning] Physicalized object has material (Objects/social scientist/indiegogo:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2182
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/panel6:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer10
<08:06:42> [Warning] Physicalized object has material (Materials/planets/pluto:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+pluto
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/gan3:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2217
<08:06:42> [Warning] Physicalized object has material (Materials/encel_surface:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2592
<08:06:42> [Warning] Physicalized object has material (Objects/social scientist/steam:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2176
<08:06:42> [Warning] Physicalized object has material (Materials/enceleadus:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2131
<08:06:42> [Warning] Physicalized object has material (Objects/social scientist/facebook:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer1683
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/ganimede2:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2015
<08:06:42> [Warning] Physicalized object has material (Objects/social scientist/patreon:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2170
<08:06:42> [Warning] Physicalized object has material (Default:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer435
<08:06:42> [Warning] Physicalized object has material (Materials/encel_plumes2:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2591
<08:06:42> [Warning] Physicalized object has material (TV:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+hubble3
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/panel4:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2227
<08:06:42> [Warning] Physicalized object has material (Objects/social scientist/kickstarter]:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer1686
<08:06:42> [Warning] Physicalized object has material (glass2:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer266
<08:06:42> [Warning] Physicalized object has material (Materials/titansummer:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer2129
<08:06:42> [Warning] Physicalized object has material (Science Simulator/panels/gan2:1) with invalid surface type. crylink://Editor/exec?cmd1=general.select_and_go_to_object+Designer38
<08:06:42> [LevelLoadTime] Level assets/levels/sciencesimulator_new loaded in 30 seconds
<08:06:42> ---- End: Load Entity Archetypes Database (29 seconds)
<08:06:42> SetGlobalState 1->9 'LEVEL_LOAD_PREPARE'->'LEVEL_LOAD_TEXTURES' 33.7 seconds
<08:06:42> -- Presort shaders by states...
<08:06:42> --- 565 Resources, 275 Resource groups.
<08:06:42> Requesting textures precache ...
<08:06:42> -- Precaching textures...
<08:06:42> [Warning] Texture does not exist [File=Materials/black.dds]
<08:06:42> [Warning] Texture does not exist [File=materials/black.dds]
<08:06:43> [Warning] Texture does not exist [File=materials/dds/red.dds]
<08:06:43> [Warning] Texture does not exist [File=materials/dds/red.dds]
<08:06:43> Precaching progress: 1
<08:06:45> Precaching progress: 2
<08:06:46> [Warning] Normal map should have '_ddn' suffix in filename [File=Materials/mooncar/MMSEV_Bump_v1s.dds]
<08:06:47> Precaching progress: 3
<08:06:47> [Warning] Texture does not exist [File=Objects/floorplan/pbs_reference/gloss0_ddna.dds]
<08:06:47> [Warning] Texture does not exist [File=objects/floorplan/pbs_reference/gloss0_ddna.dds]
<08:06:47> [Warning] Texture does not have alpha channel [File=Objects/floorplan/pbs_reference/gloss0_ddna.dds]
<08:06:47> [Warning] Texture does not have alpha channel [File=objects/floorplan/pbs_reference/gloss0_ddna.dds]
<08:06:47> [Warning] Normal map should have '_ddn' suffix in filename [File=Objects/nasa assets/Cassini/foil_n.dds]
<08:06:47> [Warning] Normal map should have '_ddn' suffix in filename [File=Objects/nasa assets/Mars Global Surveyor/foil_antenna_n.dds]
<08:06:47> [Warning] Normal map should have '_ddn' suffix in filename [File=Objects/nasa assets/Mars Global Surveyor/foil_n.dds]
<08:06:48> Precaching progress: 4
<08:06:48> [Warning] Normal map should have '_ddn' suffix in filename [File=Objects/nasa assets/MSL2/tex_03_n.dds]
<08:06:48> [Warning] Normal map should have '_ddn' suffix in filename [File=Objects/nasa assets/pioneer/box.dds]
<08:06:48> [Warning] Normal map should have '_ddn' suffix in filename [File=Objects/nasa assets/pioneer/foil_silver_ramp.dds]
<08:06:48> Precaching progress: 5
<08:06:50> Precaching progress: 6
<08:06:50> Precaching progress: 7
<08:06:50> Precaching progress: 8
<08:06:50> Precaching progress: 9
<08:06:50> [Warning] Texture does not exist [File=Textures/Voyager_tex_01.dds]
<08:06:50> [Warning] Texture does not exist [File=textures/voyager_tex_01.dds]
<08:06:50> Precaching textures done in 8.06 seconds
<08:06:50> Textures precache done.
<08:06:50> SetGlobalState 9->10 'LEVEL_LOAD_TEXTURES'->'LEVEL_LOAD_END' 8.1 seconds
<08:06:50> File access time during level loading: 7.79 seconds
<08:06:50> CAIManager: navigation world monitor state: StartedAndPaused -> StartedPausedAndResumePending
<08:06:51> SetGlobalState 10->13 'LEVEL_LOAD_END'->'RUNNING' 0.1 seconds
<08:06:51> -----------------------------------------------------------
<08:06:51> Successfully opened document Assets/levels/sciencesimulator_new/
<08:06:51> Level loading time: 41.92 seconds
<08:06:51> -----------------------------------------------------------
<08:06:51> Returned:
<08:06:51> Loading RGB Layer Tile: TilePos=(0, 0) MemUsage=0.0MB
<08:07:25> CAIManager: navigation world monitor state: StartedPausedAndResumePending -> Stopped
<08:07:25> CAIManager: navigation world monitor state: Stopped -> Started
<08:07:25> Player 'Dude' (64 64 34) has finally changed stance from -1 'Null' to 0 'Stand'
<08:07:33> NavMesh generation background thread started
<08:07:35> NavMesh generation background thread stopped
<08:07:52> ui_action.actionExport_to_Engine
<08:07:52> [Warning] Cannot find Central Directory Record in pak. This is either not a pak file, or a pak file without Central Directory. It does not mean that the data is permanently lost, but it may be severely damaged. Please repair the file with external tools, there may be enough information left to recover the file completely.
<08:07:52> [Warning] Could not open file in binary mode for reading
<08:07:52> [Assert] [File=D:/jk/gamesdk_release/Code/Sandbox/EditorQt/GameExporter.cpp]
<08:07:52> [Warning] Export failed! Cannot open Pak file assets/levels/sciencesimulator_new/level.pak for writing.
<08:07:52> Returned:
<08:12:13> ui_action.actionShow_Log_File
<08:12:13> Returned:

Re: [Warning] Cannot find Central Directory Record in pak error on export to engine

#2
Hi there,

This could mean that your level.pak file has been corrupted somehow, are you able to open this file with 7Zip?
assets/levels/sciencesimulator_new/level.pak

If you are, you could try creating a new zip with the same contents and see if this helps.

Make sure the project directory is writeable and your windows user account has the correct permissions.
Uniflare
CRYENGINE Community Coordinator
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Who is online

Users browsing this forum: No registered users and 1 guest