Comment on ConfigurationFile in corsix-th

75 views
Skip to first unread message

cors...@googlecode.com

unread,
Nov 16, 2010, 12:48:56 PM11/16/10
to corsix-t...@googlegroups.com
Comment by DjNemesis:

Hi guys, I cannot get the audio_mp3 command to work. Have tried the
following:

audio_mp3 = [[J:\Games\Hospital\Music\]]

but get the following error: I've tried without the \%s.mp3 tail, but I
get an error

An error has occured while running the callback handler.
A stack trace is included below and the handler has been disconnected.
J:\Games\CorsixTH Beta 4.2\Lua\audio.lua:384: Could not load music
file 'C:\Music\test.mp3' (Module format not recognised)
Stack traceback:
[C]: in function 'yield'
J:\Games\CorsixTH Beta 4.2\Lua\app.lua:490: in function <J:\Games\CorsixTH
Beta 4.2\Lua\app.lua:485>

or audio_mp3 = [[J:\Games\Hospital\Music\%s.mp3]]

which gives me: "NOTICE: Audio system loaded, but found no background
tracks" even though there are mp3's (and only MP3's, no other file types)
in the folder specified.

For more information:
http://code.google.com/p/corsix-th/wiki/ConfigurationFile

cors...@googlecode.com

unread,
Nov 16, 2010, 12:52:57 PM11/16/10
to corsix-t...@googlegroups.com
Comment by DjNemesis:

Btw, the folder destinations should actually be double bracketed but for
some reason the wiki markup changed them to single brackets.

cors...@googlecode.com

unread,
Nov 16, 2010, 12:56:58 PM11/16/10
to corsix-t...@googlegroups.com
Comment by edvin.li...@gmail.com:

Is the SMPEG.dll library in the CorsixTH folder?

cors...@googlecode.com

unread,
Nov 16, 2010, 1:01:00 PM11/16/10
to corsix-t...@googlegroups.com
Comment by DjNemesis:

Sorry re-post my comment due to accidental delete:

Hi Roujin, As per my comment on one of your videos, I cannot get the

audio_mp3 command to work. Have tried the following:

audio_mp3 = [[J:\Games\Hospital\Music\]]

but get the following error:

An error has occured while running the callback handler. A stack trace is

included below and the handler has been disconnected. J:\Games\CorsixTH
Beta 4.2\Lua\audio.lua:384: Could not load music file 'C:\Music\test.mp3'
(Module format not recognised) Stack traceback: C: in function 'yield'
J:\Games\CorsixTH Beta 4.2\Lua\app.lua:490: in function <J:\Games\CorsixTH
Beta 4.2\Lua\app.lua:485>

or audio_mp3 = [[J:\Games\Hospital\Music\%s.mp3]]

which gives me: "NOTICE: Audio system loaded, but found no background
tracks" even though there are mp3's (and only MP3's, no other file types)
in the folder specified.

For more information:
http://code.google.com/p/corsix-th/wiki/ConfigurationFile

cors...@googlecode.com

unread,
Nov 16, 2010, 1:05:02 PM11/16/10
to corsix-t...@googlegroups.com
Comment by DjNemesis:

Hi Edvin, yes smpeg.dll is in the CorsixTH folder (located in root folder,
not in any sub directories).

cors...@googlecode.com

unread,
Nov 16, 2010, 1:09:04 PM11/16/10
to corsix-t...@googlegroups.com
Comment by DjNemesis:

Hi Edvin, yes smpeg.dll is in the CorsixTH folder (located in root folder,
not in any sub directories).

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

Also, sorry re-post my comment due to accidental delete:

Hi guys, I cannot get the audio_mp3 command to work. Have tried the
following:

audio_mp3 = [J:\Games\Hospital\Music\?]

but get the following error:

An error has occured while running the callback handler. A stack trace is

included below and the handler has been disconnected. J:\Games\CorsixTH
Beta 4.2\Lua\audio.lua:384: Could not load music file 'C:\Music\test.mp3'
(Module format not recognised) Stack traceback: C: in function 'yield'
J:\Games\CorsixTH Beta 4.2\Lua\app.lua:490: in function <J:\Games\CorsixTH
Beta 4.2\Lua\app.lua:485>

or audio_mp3 = [J:\Games\Hospital\Music\%s.mp3?]

which gives me: "NOTICE: Audio system loaded, but found no background
tracks" even though there are mp3's (and only MP3's, no other file types)
in the folder specified.

For more information:
http://code.google.com/p/corsix-th/wiki/ConfigurationFile

cors...@googlecode.com

unread,
May 16, 2011, 7:43:20 AM5/16/11
to corsix-t...@googlegroups.com
Comment by z3de...@hotmail.com:

Hi there. Is there a way to skip level just like the old game using command
line?

For more information:
https://code.google.com/p/corsix-th/wiki/ConfigurationFile

cors...@googlecode.com

unread,
May 16, 2011, 11:25:18 AM5/16/11
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

You can select any level in debug mode.
See Configuration Options and Location of Configuration File above
Then in the game use the debug menu to change the level

cors...@googlecode.com

unread,
Sep 15, 2011, 8:18:55 AM9/15/11
to corsix-t...@googlegroups.com

cors...@googlecode.com

unread,
Dec 13, 2011, 7:57:01 PM12/13/11
to corsix-t...@googlegroups.com
Comment by mauricio...@gmail.com:

How do i get the "debug mode"??

cors...@googlecode.com

unread,
Dec 14, 2011, 3:53:59 AM12/14/11
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

Look in the config file for the line with debug and change false to true
The config sits close to where the saves are in windows, not sure where on
other systems, but I think it tells you in this wiki somewhere

cors...@googlecode.com

unread,
Sep 10, 2012, 11:45:23 AM9/10/12
to corsix-t...@googlegroups.com
Comment by pass...@gmx.de:

i am using windows XP SP3. I can´t find andy config.txt on
Windows-partition or in installdirectory!? How can i change the path to the
original theme hospital?

cors...@googlecode.com

unread,
Sep 10, 2012, 3:07:46 PM9/10/12
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

by default windows hides this folder. If you can get windows to show all
files (folder options I think) then search for config.txt. It is in
something like documents and setting then users - sorry I can't access an
XP machine at the moment.
The game should ask where these files are if it can't find them, are you
wanting to move the folder?

cors...@googlecode.com

unread,
Sep 10, 2012, 3:08:47 PM9/10/12
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

the path is actually above here

C:\Documents and Settings\$(User)\Application Data\CorsixTH\config.txt
substitue $(user) for whatever your login name is for windows

cors...@googlecode.com

unread,
Nov 30, 2012, 11:29:18 AM11/30/12
to corsix-t...@googlegroups.com
Comment by ace.de.k...@gmail.com:

Is there a way to open your old savegames with this patch?

cors...@googlecode.com

unread,
Nov 30, 2012, 11:47:11 AM11/30/12
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

what patch?

cors...@googlecode.com

unread,
Dec 2, 2012, 9:55:00 AM12/2/12
to corsix-t...@googlegroups.com
Comment by baker.st...@gmail.com:

audio_channels is put in the same box as audio_frequency and
audio_buffer_size, but it's not really described. It has two valid values,
1 for mono or 2 for stereo. It is ultimately passed to Mix_OpenAudio:
http://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer_11.html

cors...@googlecode.com

unread,
Feb 12, 2013, 2:07:57 PM2/12/13
to corsix-t...@googlegroups.com
Comment by lthenigm...@gmail.com:

I can't use mp3 ingame, there is no SMPEG.dll into corsix folder and so
there is no music!

cors...@googlecode.com

unread,
Feb 12, 2013, 3:12:41 PM2/12/13
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

The last issue was resolved in IRC by using the 32bit version

cors...@googlecode.com

unread,
Apr 11, 2013, 11:11:38 AM4/11/13
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

@ julie.de.bailliencourt,
CorsixTH cannot open the saves from Theme Hospital, they are in a different
format.

cors...@googlecode.com

unread,
Jun 20, 2013, 8:08:18 PM6/20/13
to corsix-t...@googlegroups.com
Comment by Wolfwood...@aol.com:

Could someone possibly update the config wiki with information on:
----
#popn[28].Month.Change
#quake_control[0].StartMonth.EndMonth.Severity
----
In particular i was concerned on how to turn off earthquakes, and do not
understand how the quake control works. it seems earthquake is on without
it being explicitly put in, which is a bit of a pain on custom levels.

cors...@googlecode.com

unread,
Jun 21, 2013, 3:59:50 AM6/21/13
to corsix-t...@googlegroups.com
Comment by maartenp...@hotmail.nl:

@Westwood These values are from the level files, there's no option to turn
earthquakes off. It's a part of TH and also a part of CorsixTH. But maybe
you could make an issue with a better explaination about your ''ideas.''

cors...@googlecode.com

unread,
Jun 21, 2013, 8:57:38 AM6/21/13
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

@Westwood.
In the code there is this comment
-- we are currently on in maps which have information for earthquakes in
them
This would suggest that if you were to remove lines that start
#quake_control you won't get any earthquakes. I have not tried this, but
in the campaign the earlier levels don't have quakes and they also don't
have lines that start #quake_control either.

Worth a try?

cors...@googlecode.com

unread,
Jun 22, 2013, 2:18:10 AM6/22/13
to corsix-t...@googlegroups.com
Comment by Wolfwood...@aol.com:

@Maartenp

I made an issue now, however i would still like clarity on these two values
#quake_control[]
#popn[].Month.Change

These values can be found in the finisham level for comparison.

cors...@googlecode.com

unread,
Jun 22, 2013, 2:22:31 AM6/22/13
to corsix-t...@googlegroups.com
Comment by Wolfwood...@aol.com:

@Maartenp

I made an issue now, however i would still like clarity on these two values
#quake_control #popn.Month.Change

These values can be found in the finisham level for comparison.

@mark

Unfortunately, the #quake_control command doesn't come up in the .level
file for the map i'm using. (It is based on example.level)

cors...@googlecode.com

unread,
Jun 22, 2013, 11:18:04 AM6/22/13
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

@Wolfwood (where did westwood come from?)
If that is the case then you should not get an earthquake should you? see
Issue 1653, Edvin seems to be confirming what I said above; earthquakes are
determined by #quake_control, so if the line is not in the level file you
should not get any quakes.

Are you saying you can still get quakes when this line is not there i.e. if
based on example.level?

cors...@googlecode.com

unread,
Jun 22, 2013, 11:54:58 AM6/22/13
to corsix-t...@googlegroups.com
Comment by maartenp...@hotmail.nl:

Sorry, Westwood is the company behind the C&C-series, which I play a lot;
wolfwood and westwood are not very different. :)

cors...@googlecode.com

unread,
Aug 18, 2013, 9:42:47 PM8/18/13
to corsix-t...@googlegroups.com
Comment by Him....@gmail.com:

I cannot find it on mac os X...

cors...@googlecode.com

unread,
Aug 19, 2013, 4:15:48 AM8/19/13
to corsix-t...@googlegroups.com
Comment by mark.l1...@hotmail.co.uk:

and ${XDG_CONFIG_HOME}/CorsixTH/config.txt or
~/.config/CorsixTH/config.txt does not work?

cors...@googlecode.com

unread,
Jul 5, 2015, 7:04:44 PM7/5/15
to corsix-t...@googlegroups.com
Comment by sahesaox...@gmail.com:

It scipt what? Please explain to me, because I want to learn
http://goo.gl/IpuXEf | http://goo.gl/BLHev4
Reply all
Reply to author
Forward
0 new messages