Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editor Crashing
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#11
RE: Editor Crashing

(04-28-2012, 11:03 PM)Strembitsky Wrote: Where is the LevelEditor.log? Also, I recently turned my CS into an FC. I don't use Steam or Desura.

Should be in Documents/HPL2.

I don't think a FC can ruin the level editor unless perhaps the core libraries or resources were messed with. I would probably consider backing up your stories and running the Amnesia installer again (uninstalling Amnesia first shouldn't be required unless the installer is really "picky"), then reinstalling the HPL2 suite.

Tutorials: From Noob to Pro
04-29-2012, 04:22 AM
Website Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#12
RE: Editor Crashing

--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
  Vendor: ATI Technologies Inc.
  Renderer: ATI Radeon HD 4800 Series
  Version: 3.3.11318 Compatibility Profile Context
  Max texture image units: 16
  Max texture coord units: 16
  Max user clip planes: 8
  Two sided stencil: 1
  Vertex Buffer Object: 1
  Anisotropic filtering: 1
  Max Anisotropic degree: 16
  Multisampling: 1
  Texture compression: 1
  Texture compression S3TC: 1
  Auto generate MipMaps: 1
  Render to texture: 1
  Max draw buffers: 8
  Max color render targets: 8
  Packed depth-stencil: 1
  Texture float: 1
  GLSL Version: 3.30
  ShaderModel 2: 1
  ShaderModel 3: 1
  ShaderModel 4: 1
  OGL ATIFragmentShader: 1
Adding engine materials
Initializing DevIL
  Vendor String: Abysmal Software
  Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006
  Version Number: 168
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
  Available OpenAL devices:
   0. Generic Software on Headphones (Realtek High Definition Audio)(OpenAL default)
   1. Generic Software on Realtek HDMI Output (Realtek High Definition Audio)
   2. Generic Software on Realtek Digital Output(RCA) (Realtek High Definition Audio)
   3. Generic Software on Speakers (Realtek High Definition Audio)
  Trying to open device 'Generic Software on Headphones (Realtek High Definition Audio)'... Success!
  Number of mono sources: 32
  Streaming setup: 2 Buffers x 524288 bytes each
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
Failed parsing of XML document resources.cfg in line 1, column 1
ERROR: Couldn't load XML file 'resources.cfg'!
-----------------------------------------------------
LevelEditor Build ID: 20100917115131
-----------------------------------------------------
ERROR: Couldn't load skin file ''!
Created Entity Loader
Added object type: Compound <Compound>
Added object type: Light <BoxLight>
Added object type: Light <PointLight>
Added object type: Light <SpotLight>
Added object type: Billboard <Billboard>
Added object type: Particle System <ParticleSystem>
Added object type: Sound <Sound>
Added object type: Static Object <StaticObject>
Added object type: Entity <Entity> StaticProp
Added object type: Entity <Entity> CommentaryIcon
Added object type: Entity <Entity> Object,Static
Added object type: Entity <Entity> Object,Grab
Added object type: Entity <Entity> Object,Push
Added object type: Entity <Entity> Object,Slide
Added object type: Entity <Entity> SwingDoor
Added object type: Entity <Entity> Lever
Added object type: Entity <Entity> Wheel
Added object type: Entity <Entity> MultiSlider
Added object type: Entity <Entity> Lamp
Added object type: Entity <Entity> Button
Added object type: Entity <Entity> Photocell
Added object type: Entity <Entity> MoveObject
Added object type: Entity <Entity> Item,Puzzle
Added object type: Entity <Entity> Item,Coins
Added object type: Entity <Entity> Item,Note
Added object type: Entity <Entity> Item,Diary
Added object type: Entity <Entity> Item,Lantern
Added object type: Entity <Entity> Item,Health
Added object type: Entity <Entity> Item,Sanity
Added object type: Entity <Entity> Item,LampOil
Added object type: Entity <Entity> Item,Tinderbox
Added object type: Entity <Entity> Item,HandObject
Added object type: Entity <Entity> Chest
Added object type: Entity <Entity> OilBarrel
Added object type: Entity <Entity> EmotionStone
Added object type: Entity <Entity> NPC
Added object type: Entity <Entity> LevelDoor
Added object type: Entity <Entity> CritterBug
Added object type: Entity <Entity> CritterSpider
Added object type: Entity <Entity> Enemy_Grunt
Added object type: Entity <Entity> Enemy_WaterLurker
Added object type: Entity <Entity> PlayerHands
Added object type: Entity <Entity> HandObject
Added object type: Area <Area> Script
Added object type: Area <Area> PosNode
Added object type: Area <Area> Flashback
Added object type: Area <Area> Sign
Added object type: Area <Area> SlimeDamage
Added object type: Area <Area> Examine
Added object type: Area <Area> Insanity
Added object type: Area <Area> Ladder
Added object type: Area <Area> Liquid
Added object type: Area <Area> Sticky
Added object type: Area <Area> Rope
Added object type: Area <Area> PathNode
Added object type: Area <Area> PlayerStart
Added object type: Primitive <Plane>
Added object type: Decal <Decal>
Added object type: FogArea <FogArea>

The Nightmares v1.0 - Dreadful Fires WIP
(This post was last modified: 04-29-2012, 04:31 AM by Strembitsky.)
04-29-2012, 04:30 AM
Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#13
RE: Editor Crashing

Quote:ERROR: Couldn't load skin file ''!

This links back to the GUI file we saw earlier. That's a cpp file, so you can open it with Notepad. Is there code in there, or does it look like the computer suddenly took a dump in there somwhere?


Noob scripting tutorial: From Noob to Pro

04-29-2012, 04:55 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#14
RE: Editor Crashing

Looks like your resources.cfg file is messed up.

(04-29-2012, 04:55 AM)Cranky Old Man Wrote: This links back to the GUI file we saw earlier. That's a cpp file, so you can open it with Notepad. Is there code in there, or does it look like the computer suddenly took a dump in there somwhere?

While the error message references a C++ file, that file doesn't exist on the system. It is shown merely for debugging purposes for whoever has the source code of Amnesia. Amnesia is not open source and so doesn't ship with its source code.

Tutorials: From Noob to Pro
04-29-2012, 05:03 AM
Website Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#15
RE: Editor Crashing

(04-29-2012, 05:03 AM)Your Computer Wrote: Looks like your resources.cfg file is messed up.

(04-29-2012, 04:55 AM)Cranky Old Man Wrote: This links back to the GUI file we saw earlier. That's a cpp file, so you can open it with Notepad. Is there code in there, or does it look like the computer suddenly took a dump in there somwhere?

While the error message references a C++ file, that file doesn't exist on the system. It is shown merely for debugging purposes for whoever has the source code of Amnesia. Amnesia is not open source and so doesn't ship with its source code.
In that case, things became a lot easier: He can just attach/list his resources.cfg here.



Noob scripting tutorial: From Noob to Pro

04-29-2012, 05:09 AM
Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#16
RE: Editor Crashing

I might have accidentally moved resources.cfg into my test_mod folder instead of copying it. Where do I find resources.cfg to confirm this?

The Nightmares v1.0 - Dreadful Fires WIP
04-29-2012, 03:38 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#17
RE: Editor Crashing

(04-29-2012, 03:38 PM)Strembitsky Wrote: Where do I find resources.cfg to confirm this?

redist folder.

Tutorials: From Noob to Pro
04-29-2012, 04:05 PM
Website Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#18
RE: Editor Crashing

Yep, it's not there. Could someone give me a default resources.cfg that I can put in there?

The Nightmares v1.0 - Dreadful Fires WIP
04-29-2012, 04:22 PM
Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#19
RE: Editor Crashing

(04-29-2012, 04:22 PM)Strembitsky Wrote: Yep, it's not there. Could someone give me a default resources.cfg that I can put in there?
You accidentally your whole resource.cfg? :O

Here:

<Resources>
  <Directory Path="/_temp" AddSubDirs="true" />
  <Directory Path="/fonts" AddSubDirs="false" />
  <Directory Path="/maps" AddSubDirs="true" />
  <Directory Path="/textures" AddSubDirs="true" />
  <Directory Path="/models" AddSubDirs="true" />
  <Directory Path="/gui" AddSubDirs="true" />
  <Directory Path="/static_objects" AddSubDirs="true" />
  <Directory Path="/sounds" AddSubDirs="true" />
  <Directory Path="/main_menu" AddSubDirs="true" />
  <Directory Path="/shaders" AddSubDirs="true" />
  <Directory Path="/lights" AddSubDirs="true" />
  <Directory Path="/billboards" AddSubDirs="true" />
  <Directory Path="/entities" AddSubDirs="true" />
  <Directory Path="/graphics" AddSubDirs="true" />
  <Directory Path="/viewer" AddSubDirs="true" />
  <Directory Path="/particles" AddSubDirs="true" />
  <Directory Path="/models" AddSubDirs="true" />
  <Directory Path="/music" AddSubDirs="true" />
  <Directory Path="/flashbacks" AddSubDirs="true" />
  <Directory Path="/textures" AddSubDirs="true" />    
  <Directory Path="/misc" AddSubDirs="true" />
  <Directory Path="/commentary" AddSubDirs="true" />
  <Directory Path="/custom_stories" AddSubDirs="true" />
</Resources>

Edit:
I can't guarantee that it will work on the Steam version of the game, though. Hopefully it will.


Noob scripting tutorial: From Noob to Pro

(This post was last modified: 04-29-2012, 04:38 PM by Cranky Old Man.)
04-29-2012, 04:35 PM
Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#20
RE: Editor Crashing

Thanks a lot, my editor can open now.

The Nightmares v1.0 - Dreadful Fires WIP
04-29-2012, 04:50 PM
Find




Users browsing this thread: 2 Guest(s)