Skip to main content
Topic: Fatal error occurs when I try to start game (Read 22046 times) previous topic - next topic

Fatal error occurs when I try to start game

Hello, Pak.128.britian has been giving me problems when i try to load it up I get ( FATAL ERROR : hausbauer_ t register_besch () building small_rugby_ground duplicated press any key. Is there a way to fix this...
Thank you.

Re: Fatal error occurs when I try to start game

Reply #1
You've somehow got two copies of that file in your pak directory. Look through there to check.

Re: Fatal error occurs when I try to start game

Reply #2
thank you got some that had s and two after them. But as its finishing I got a new error
(FATAL ERROR: werkzeug_t::init_menu()
wrong icon (16) given for general_tool[29]
PRESS ANY KEY) how do I fix this?
Thank you,

Re: Fatal error occurs when I try to start game

Reply #3
never mind got it to work thank you.

Re: Fatal error occurs when I try to start game

Reply #4
I really hate it when people post a reply like above. I am getting the exact same problem. Any help will be welcome, thanks

btw, I have searched and the only thread with my prob is this

also can I ask if this game uses multi core? I have a i7 and 6GB RAM and was wondering if it will use all of the available capacity

Re: Fatal error occurs when I try to start game

Reply #5
No, there's no multicore support yet as far as I know. And I remember the head developer saying that it's unlikely to happen, since too much in the engine is depending on the timing of other things, etc. that it couldn't be done without a major rewriting of the code...


About the problem:

Many people make the mistake and just copy a newer pakset version over and old version. This is not recommended. Try setting up a fresh folder and put the new pakset version in there. Together with a matching program version (since when the program changes, the paksets are also adjusted to work with these changes) there shouldn't be any errors like this.
  
***** PAK128 Dev Team - semi-retired*****

Re: Fatal error occurs when I try to start game

Reply #6
No, there's no multicore support yet as far as I know.

Simutrans itself can use only one core. But the SDL library will utilize a second core for graphics updates - this only accounts for a few percent of the overall runtime, so most likely it doesn't really matter.

Re: Fatal error occurs when I try to start game

Reply #7
No, there's no multicore support yet as far as I know. And I remember the head developer saying that it's unlikely to happen, since too much in the engine is depending on the timing of other things, etc. that it couldn't be done without a major rewriting of the code...


About the problem:

Many people make the mistake and just copy a newer pakset version over and old version. This is not recommended. Try setting up a fresh folder and put the new pakset version in there. Together with a matching program version (since when the program changes, the paksets are also adjusted to work with these changes) there shouldn't be any errors like this.

thanks guys.

I copied and pasted the pak128 Britain to the folder and kept everything the same. how do i load britain?

Re: Fatal error occurs when I try to start game

Reply #8
If you just copy everything from one folder (where it didn't work) into a new folder (that's at least how I understand what you wrote) that will change nothing. The problem will remain as it was.

Just create a new folder and extract the downloaded zip file (containing the pakset) there, without any older version material. And when you start simutrans (without manually specifiying a particular pakset) it a list of all installed sets to choose from.
  
***** PAK128 Dev Team - semi-retired*****

Re: Fatal error occurs when I try to start game

Reply #9
What I have done is this:


I extracted the freshly downloaded simutrains pack and the pak128 britain and put both of them into the same folder without any changes to anything. when I load the game now it loads the standard game

Re: Fatal error occurs when I try to start game

Reply #10
@iranair787.

Go into the simconf.tab and remove the # from in front of the PAK you want to play.
I may not agree with what you say, but I will defend to the death your right to say it

Thought for the day

 When you are up to your backside in alligators, it is difficult to remind yourself that your initial objective was to drain the swamp.

Re: Fatal error occurs when I try to start game

Reply #11
@iranair787.

Go into the simconf.tab and remove the # from in front of the PAK you want to play.
I don't understand you. Do you mean open the file with notepad and look for pak128 britain? if so, I can't see britain in there anywhere and searching for letters etc within doesn't yield anything

Re: Fatal error occurs when I try to start game

Reply #12
I don't understand you. Do you mean open the file with notepad and look for pak128 britain? if so, I can't see britain in there anywhere and searching for letters etc within doesn't yield anything

When you go into the simuconf.tab there should be a list of all the PAK files you have installed (each PAK has to be in a seperate folder) You may have to physicaly type in #pak_file_path = pak.brittain/ but once the PAK file is installed into it's correct folder Simutrans should find it.



# This simuconf.tab will be read first => we set meaningful defaults here.
#
# load/save the files in the users or the program directory directory? (default: 0 = user directory)
# ATTENTION!
# will be only used if this file is located in the program directory at config/simuconf.tab!
#singleuser_install = 0

# Default pak file path
# which graphics you want to play?
# Nothing means automatic selection
# ATTENTION!
# This will be only used if this file is located in the program directory at config/simuconf.tab!
# and will be overwritten by the settings from simutrans/simuconf.tab in the user directory
#
#pak_file_path = pak/
#pak_file_path = pak.german/
#pak_file_path = pak128/
#pak_file_path = pak.japan/
#pak_file_path = pak.winter/
#pak_file_path = pak.ttd/
I may not agree with what you say, but I will defend to the death your right to say it

Thought for the day

 When you are up to your backside in alligators, it is difficult to remind yourself that your initial objective was to drain the swamp.

 

Re: Fatal error occurs when I try to start game

Reply #13
OK, This is what I have atm:

This simuconf.tab will be read first => we set meaningful defaults here.
#
# load/save the files in the users or the program directory directory? (default: 0 = user directory)
# ATTENTION!
#

will be only used if this file is located in the program directory at config/simuconf.tab!
#singleuser_install = 0

#

Default pak file path
# which graphics you want to play?
# Nothing means automatic selection
# ATTENTION!
# This will

be only used if this file is located in the program directory at config/simuconf.tab!
# and will be overwritten by

the settings from simutrans/simuconf.tab in the user directory
#
#pak_file_path = pak/
#pak_file_path = pak.german/
#pak_file_path = pak128/
#pak_file_path = pak.japan/
#pak_file_path = pak.winter/
#pak_file_path = pak.ttd /
##pak_file_path = pak.brittain/

how would I know its loaded successfully into the game? Sorry, I just started playing yesterday :)

Re: Fatal error occurs when I try to start game

Reply #14
Just remove the ## from in front of PAK Britain and if it installed correctly it should load automatically when you start a new game.
I may not agree with what you say, but I will defend to the death your right to say it

Thought for the day

 When you are up to your backside in alligators, it is difficult to remind yourself that your initial objective was to drain the swamp.

Re: Fatal error occurs when I try to start game

Reply #15
Regarding to Multicore support: Threading is only used to copy the internal screen to the real screen. Following a convoi with fast forward can give you 60% load one a dual core. More support for threading is not possible. SImutrans (and related games) are of the cl**** of "not really suited for multicore"-problems.


Re: Fatal error occurs when I try to start game

Reply #17
What I have done is this:


I extracted the freshly downloaded simutrains pack and the pak128 britain and put both of them into the same folder without any changes to anything. when I load the game now it loads the standard game

I suspect you extracted the files to the wrong place: move pakBritan102-5-xx/simutrans/pak128.Britain to the simutrans directory (two levels up in the directory structure). You should then have the directory pak128.Britain in the simutrans directory - right besides the directory pak, which contains pak64 graphics.


Parsley, sage, rosemary, and maggikraut.

Re: Fatal error occurs when I try to start game

Reply #18
I suspect you extracted the files to the wrong place: move pakBritan102-5-xx/simutrans/pak128.Britain to the simutrans directory (two levels up in the directory structure). You should then have the directory pak128.Britain in the simutrans directory - right besides the directory pak, which contains pak64 graphics.
Well the folder you see named pak128britain_1-0-5_0-102, inside it has all of the original files from britain. thats just been put directly into the main simutrains folder as you can see. are you saying I should put that folder into the folder called pak?

Re: Fatal error occurs when I try to start game

Reply #19
OK couple of things here:

When you download the zip file of pak128.Britain, there should be a simutrans folder inside it, and a pak128.Britain folder inside that, and inside that, all the .pak files and some other things you need.

What you need to do to get it to work is make sure that the pak128.Britain folder is a folder inside the simutrans folder on your computer - the one with your simutrans exe in (i.e. not just extracting the whole thing to pak128britain_1-0-5...).  So, check that you have inside your simutrans folder the simutrans exe and the pak128.Britain folder, and inside the pak128.Britain folder there are all the .pak files.

Then it's time for what Colin is talking about - so insert this line into your simuconf.tab:

pak_file_path = pak128.Britain/

Note the lack of "#" at the beginning of the line, and also that the folder is called pak128.Britain/ not pak.brittain/ (the line in simuconf.tab should be the same as the folder name.

Finally then, run simutrans exe and pak128.Britain should load automatically (****uming you have followed all the right instructions).

Re: Fatal error occurs when I try to start game

Reply #20
OK couple of things here:

When you download the zip file of pak128.Britain, there should be a simutrans folder inside it, and a pak128.Britain folder inside that, and inside that, all the .pak files and some other things you need.

What you need to do to get it to work is make sure that the pak128.Britain folder is a folder inside the simutrans folder on your computer - the one with your simutrans exe in (i.e. not just extracting the whole thing to pak128britain_1-0-5...).  So, check that you have inside your simutrans folder the simutrans exe and the pak128.Britain folder, and inside the pak128.Britain folder there are all the .pak files.

Then it's time for what Colin is talking about - so insert this line into your simuconf.tab:

pak_file_path = pak128.Britain/

Note the lack of "#" at the beginning of the line, and also that the folder is called pak128.Britain/ not pak.brittain/ (the line in simuconf.tab should be the same as the folder name.

Finally then, run simutrans exe and pak128.Britain should load automatically (****uming you have followed all the right instructions).


thanks, I'll try that when I get back home :)

Re: Fatal error occurs when I try to start game

Reply #21
And make sure you change the right simuconf.tab - there's up to 3 of them after all...
  
***** PAK128 Dev Team - semi-retired*****


Re: Fatal error occurs when I try to start game

Reply #23
IIRC the one you need to change is in simutrans/config/ (yes, confusingly there are more than one config folders!)

Re: Fatal error occurs when I try to start game

Reply #24
works now, thanks guys! :D