Frictional Games Forum (read-only)
Full Conversion Crash - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Full Conversion Crash (/thread-7772.html)



Full Conversion Crash - ricky horror - 05-03-2011

For some reason, my full conversion keeps crashing on load. :/ No idea why.
I've added the code to my main_init.cfg file named rh_main_init.cfg

Could that have something to do with it? If not, then what would/could it be?

Many thanks!

Code:
.....



RE: Full Conversion Crash - Tanshaydar - 05-03-2011

Resources = "config/rh_resources.cfg"

Is 'rh_resources.cfg' file is in 'config' folder?


RE: Full Conversion Crash - ricky horror - 05-03-2011

(05-03-2011, 12:08 AM)Tanshaydar Wrote: Resources = "config/rh_resources.cfg"

Is 'rh_resources.cfg' file is in 'config' folder?

Yes, I've replaced a few of the folders with some of my own, so I had to make my own resources.cfg. So I made a copy of it, out it in config, and renamed it to rh_resources.cfg


RE: Full Conversion Crash - Russ Money - 05-03-2011

DefaultBaseLanguage = "rh_base_english.lang"
DefaultGameLanguage = "english.lang"

The base language should be the default

Make a new folder in config, mine was named:
lang_lc

In that folder put your english.lang file that you made for your custom story. Then change the path to something like this:

BaseLanguageFolder = "config/"
GameLanguageFolder = "config/lang_lc/"


RE: Full Conversion Crash - ricky horror - 05-03-2011

(05-03-2011, 01:11 AM)Russ Money Wrote: DefaultBaseLanguage = "rh_base_english.lang"
DefaultGameLanguage = "english.lang"

The base language should be the default

I've tried removing that, still crashes :/
Plus, you can make your own base_english.lang and tell it to use yours instead, that's how you customize the menu options

(05-03-2011, 01:11 AM)Russ Money Wrote: Make a new folder in config, mine was named:
lang_lc

In that folder put your english.lang file that you made for your custom story. Then change the path to something like this:

BaseLanguageFolder = "config/"
GameLanguageFolder = "config/lang_lc/"

I already have that

BaseLanguageFolder = "config/"
GameLanguageFolder = "config/rh_lang/"

That was shown in the code above


RE: Full Conversion Crash - Tanshaydar - 05-03-2011

Can you post your hpl.log, that usually helps me.


RE: Full Conversion Crash - ricky horror - 05-03-2011

(05-03-2011, 01:44 AM)Tanshaydar Wrote: Can you post your hpl.log, that usually helps me.

Code:
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100816193538

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
  Available OpenAL devices:
   0-Generic Software on Cirrus Logic HD Audio(OpenAL default)
  Trying to open device 'Generic Software on Cirrus Logic HD 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
--------------------------------------------------------
Cache out of date! Reloading collada file 'models/player/hands/animations/hands_lantern_draw.dae_anim'
Cache out of date! Reloading collada file 'models/player/hands/animations/hands_lantern_holster.dae_anim'
Cache out of date! Reloading collada file 'models/player/hands/animations/hands_lantern_idle.dae_anim'
--------------------------------------------------------

Exiting Gui Module
--------------------------------------------------------
Deleting all sets
Deleting all skins
Deleting all gfx elements
Deleting all materials
--------------------------------------------------------

Exiting Generate Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Scene Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Input Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Sound Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Resources Module
--------------------------------------------------------
Done with fonts
Done with scripts
Done with particles
Done with sounds
Done with meshes
Done with materials
Done with Gpu programs
Done with images
Destroyed all textures
Done with sound entities
Done with animations
Done with ent files
All resources deleted
--------------------------------------------------------

Exiting Physics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting System Module
--------------------------------------------------------
--------------------------------------------------------

Deleting game setup provided by user
- Deleting lowlevel stuff.
  Physics
  Sound
  Input
  Resources
  System
  Graphics
  Haptic
HPL Exit was successful!



RE: Full Conversion Crash - Tanshaydar - 05-03-2011

This is the one in your RickysHorror folder, isn't it?


RE: Full Conversion Crash - ricky horror - 05-03-2011

(05-03-2011, 03:43 AM)Tanshaydar Wrote: This is the one in your RickysHorror folder, isn't it?

I got it fixed :/

I had to change:

Code:
BaseLanguageFolder = "config/"        
    GameLanguageFolder = "config/rh_lang/"

Back to:

Code:
BaseLanguageFolder = "config/"        
    GameLanguageFolder = "config/lang_main/"

Then place my english.lang into the lang_main folder and change the name to rh_english.lang. Lastly, tell my rh_main_init.cfg that the DefaultGameLanguage was now rh_english.lang. For some reason it'll crash if I change the GameLanguageFolder. x_x
I do have one last question though! x_x

How come no matter how much I edit <CATEGORY Name="MainMenu"> in my rh_base_english.lang, the main menu won't change any of it's options to my custom named one? :/