News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Fatal error occurs when I try to start game

Started by OliverNo11, August 02, 2009, 01:26:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OliverNo11

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.

kierongreen

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

OliverNo11

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,

OliverNo11


iranair787

#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

DirrrtyDirk

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

Spike

Quote from: DirrrtyDirk on November 25, 2009, 03:20:33 PM
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.

iranair787

Quote from: DirrrtyDirk on November 25, 2009, 03:20:33 PM
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?

DirrrtyDirk

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

iranair787

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

Colin

@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.

iranair787

Quote from: Colin on November 25, 2009, 07:05:51 PM
@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

Colin

#12
Quote from: iranair787 on November 25, 2009, 07:10:52 PM
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.

iranair787

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

Colin

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.

prissi

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 class of "not really suited for multicore"-problems.

iranair787

Quote from: Colin on November 25, 2009, 09:10:47 PM
Just remove the ## from in front of PAK Britain and if it installed correctly it should load automatically when you start a new game.
nope, doesnt load up.

Dwachs

Quote from: iranair787 on November 25, 2009, 05:42:51 PM
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.

iranair787

Quote from: Dwachs on November 26, 2009, 09:09:13 AM
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?

The Hood

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 (assuming you have followed all the right instructions).

iranair787

Quote from: The Hood on November 26, 2009, 10:05:43 AM
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 (assuming you have followed all the right instructions).


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

DirrrtyDirk

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

iranair787

Quote from: DirrrtyDirk on November 26, 2009, 10:13:17 AM
And make sure you change the right simuconf.tab - there's up to 3 of them after all...
I changed the one in the config folder

The Hood

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

iranair787