Page 1 of 1

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

PostPosted: Monday, 20th February 2012, 12:36
by applepie
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

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

PostPosted: Monday, 20th February 2012, 14:28
by TehDruid
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.

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

PostPosted: Monday, 20th February 2012, 17:08
by applepie
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

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

PostPosted: Monday, 20th February 2012, 19:49
by galehar
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.

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

PostPosted: Tuesday, 21st February 2012, 02:03
by applepie
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.

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

PostPosted: Tuesday, 21st February 2012, 02:12
by applepie
I just want to be able to sort my inventory so it's easier to work with.

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

PostPosted: Tuesday, 21st February 2012, 15:32
by galehar
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?

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

PostPosted: Tuesday, 21st February 2012, 18:54
by applepie
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.

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

PostPosted: Wednesday, 22nd February 2012, 04:17
by rchandra
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.

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

PostPosted: Wednesday, 14th March 2012, 13:00
by Delumintuh
Thanks galehar. I was having the same problem, and that solved it.