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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Full Conversion Crash
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#1
Full Conversion Crash

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!

.....

Amnesia: Ricky's Horror - Full Conversion
(This post was last modified: 05-03-2011, 05:50 AM by ricky horror.)
05-03-2011, 12:05 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Full Conversion Crash

Resources = "config/rh_resources.cfg"

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

05-03-2011, 12:08 AM
Website Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#3
RE: Full Conversion Crash

(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

Amnesia: Ricky's Horror - Full Conversion
05-03-2011, 12:38 AM
Find
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#4
RE: Full Conversion Crash

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/"

05-03-2011, 01:11 AM
Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#5
RE: Full Conversion Crash

(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

Amnesia: Ricky's Horror - Full Conversion
05-03-2011, 01:33 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#6
RE: Full Conversion Crash

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

05-03-2011, 01:44 AM
Website Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#7
RE: Full Conversion Crash

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

-------- 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!

Amnesia: Ricky's Horror - Full Conversion
05-03-2011, 02:00 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#8
RE: Full Conversion Crash

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

05-03-2011, 03:43 AM
Website Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#9
RE: Full Conversion Crash

(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:

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

Back to:

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? :/


Attached Files
.png   main menu.png (Size: 375.81 KB / Downloads: 98)

Amnesia: Ricky's Horror - Full Conversion
(This post was last modified: 05-03-2011, 04:05 AM by ricky horror.)
05-03-2011, 04:02 AM
Find




Users browsing this thread: 1 Guest(s)