Why don't changes in init.txt have any effect?


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Lair Larrikin

Posts: 18

Joined: Monday, 20th February 2012, 12:32

Post Monday, 20th February 2012, 12:36

Why don't changes in init.txt have any effect?

Afaict, the init.txt file is where I should go to make changes to settings for behavior in the game.
But nothing I do seems to have any effect at all.

Is there some step something I am missing?

I am using a win7 64 machine
no other mods to the game


ty

applepie
User avatar

Eringya's Employee

Posts: 1783

Joined: Friday, 7th October 2011, 19:24

Location: Athens, Greece

Post Monday, 20th February 2012, 14:28

Re: Why don't changes in init.txt have any effect?

You have to remove any #'s that precede the stuff you're configuring, if any. A # means the line following it is a comment and not part of the code.

ex.

# chunks_autopickup = false

has to be turned into

chunks_autopickup = false

to have an effect.
MuCK;
  Code:
612 | D:1      | Xom revived you
614 | D:1      | Xom revived you
614 | D:1      | Slain by a gnoll

For this message the author TehDruid has received thanks:
applepie

Lair Larrikin

Posts: 18

Joined: Monday, 20th February 2012, 12:32

Post Monday, 20th February 2012, 17:08

Re: Why don't changes in init.txt have any effect?

Thanks.

Even though I have uncommented the lines, there doesn't seem to be any impact on the sort order for my inventory. Not on existing characters nor on newly made ones.

sort_menus = inv: true : art, basename, qualname, fullname, qty, equipped, freshness, charged, curse

I wasn't sure if I had to do something to the game or in the game to get it to work.
It seems like it says it loads the init file when it loads the game. It doesn't seem like I would have to do something beside edit the file and then start the game.
But that doesn't seem to be working, so there's something I am missing.

hmm
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Monday, 20th February 2012, 19:49

Re: Why don't changes in init.txt have any effect?

Did you use the installer? If so, I think you need to copy the init.txt from the installed directory to the settings directory (next to saves) then edit it. Or use the zip so that everything is in the same dir.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

For this message the author galehar has received thanks:
applepie

Lair Larrikin

Posts: 18

Joined: Monday, 20th February 2012, 12:32

Post Tuesday, 21st February 2012, 02:03

Re: Why don't changes in init.txt have any effect?

Can we re-start this the other way round instead of trying to chase a bug?


What are the specific steps to being able to edit and use the init.txt file as it seems I should be able to?
It's not as straight forward as it seems to me.

Lair Larrikin

Posts: 18

Joined: Monday, 20th February 2012, 12:32

Post Tuesday, 21st February 2012, 02:12

Re: Why don't changes in init.txt have any effect?

I just want to be able to sort my inventory so it's easier to work with.
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Tuesday, 21st February 2012, 15:32

Re: Why don't changes in init.txt have any effect?

applepie wrote:Can we re-start this the other way round instead of trying to chase a bug?


What are the specific steps to being able to edit and use the init.txt file as it seems I should be able to?
It's not as straight forward as it seems to me.

I'm not trying to chase bugs, I'm just telling you how it works. Now, did you use the installer? Do you know where your savefiles are?
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

For this message the author galehar has received thanks:
applepie

Lair Larrikin

Posts: 18

Joined: Monday, 20th February 2012, 12:32

Post Tuesday, 21st February 2012, 18:54

Re: Why don't changes in init.txt have any effect?

I just meant that it may be quicker, easier, and more productive to merely start with what's the right way to do things rather than try to figure out which wrong thing I did.

There's no reason why I can't just wipe the folder and start again.

Thank you for your time.
User avatar

Vestibule Violator

Posts: 1509

Joined: Wednesday, 21st September 2011, 01:10

Location: St. John's, NL, Canada

Post Wednesday, 22nd February 2012, 04:17

Re: Why don't changes in init.txt have any effect?

on my windows 7-x64:
in crawl 0.9, using the installer:
navigate to installed directory (d:\program files (x86)\crawl for me)
go into settings, init.txt should be there, open it in your favourite editor

in crawl 0.10, using the zip:
navigate to installed directory (d:\games\stone_soup-tiles-0.10 for me)
go into settings, init.txt should be there, open it in your favourite editor

So you don't need to do anything special, if you're trying to edit and it's not working than something has gone wrong, either with your method or your installation.

edit: try changing some other simpler options like show_gold_turns. if that has an effect then perhaps there is an error in the formatting for that sort option.
Won all race/bg, unwon (online): Nem* Hep Uka
Favourites: 15-rune Trog, OgNe/OgIE/OgSu (usually Ash), Ds, Ru, SpEn, Ce of Chei, Qaz

For this message the author rchandra has received thanks:
applepie

Dungeon Dilettante

Posts: 1

Joined: Wednesday, 14th March 2012, 12:58

Post Wednesday, 14th March 2012, 13:00

Re: Why don't changes in init.txt have any effect?

Thanks galehar. I was having the same problem, and that solved it.

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 19 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.