Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old July 5, 2016, 09:24   #1
Elfin Jedi
Adept
 
Join Date: Mar 2013
Posts: 102
Elfin Jedi is on a distinguished road
How do I regenerate the monster file?

I can't figure out how to run Angband 4.0.4 with the -p option. I've done lots of google searches, searched this forum, read the modifying the game help files, and tried to run "Angband -p" with my Command Prompt system, but so far I haven't found anything that works.

Last edited by Elfin Jedi; July 5, 2016 at 09:47.
Elfin Jedi is offline   Reply With Quote
Old July 5, 2016, 13:30   #2
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 1,460
Ingwe Ingweron is on a distinguished road
Not sure what you mean by the -p reference, probably because I'm playing on a Mac. However, if you mean what I think you mean by "regenerate" the monster file, i.e., to have a full knowledge monster file, then copy monster.txt from the gamedata directory and put it in your player directory. Rename the copied file as lore.txt and you will have full monster knowledge.
__________________
“We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
― Tom Stoppard, Rosencrantz and Guildenstern are Dead
Ingwe Ingweron is offline   Reply With Quote
Old July 5, 2016, 13:58   #3
Elfin Jedi
Adept
 
Join Date: Mar 2013
Posts: 102
Elfin Jedi is on a distinguished road
No, I am editing the monster file, adding monsters from Unangband, and version 4.0.4's monster file says:

"# 'power' is for power information--level, rarity, power, scaled power and
# experience for killing. The power and scaled power fields are determined
# algorithmically; if any changes are made to monsters, this file should be
# regenerated by running the game with the '-p' option."
Elfin Jedi is offline   Reply With Quote
Old July 5, 2016, 14:16   #4
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,828
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Elfin Jedi View Post
No, I am editing the monster file, adding monsters from Unangband, and version 4.0.4's monster file says:

"# 'power' is for power information--level, rarity, power, scaled power and
# experience for killing. The power and scaled power fields are determined
# algorithmically; if any changes are made to monsters, this file should be
# regenerated by running the game with the '-p' option."
This is now the '-r' option on (non OS X) Unix, and you should add the angband.ini file on Windows and add the line Rebalance=1.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old July 5, 2016, 14:46   #5
Elfin Jedi
Adept
 
Join Date: Mar 2013
Posts: 102
Elfin Jedi is on a distinguished road
Ok, Thanks.

Is the angband.ini file the angband file in the main folder that says its type is configuration settings (contains Graphics=0, Graphics_Nice=0, TileWidth=1, TileHeight=1, etc.)?

If not, where do I get/find it?

Either way is there somewhere I need to add it to?

And if it is does if matter which window's settings I put Rebalance=1 under?
Elfin Jedi is offline   Reply With Quote
Old July 5, 2016, 21:41   #6
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,828
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Elfin Jedi View Post
Ok, Thanks.

Is the angband.ini file the angband file in the main folder that says its type is configuration settings (contains Graphics=0, Graphics_Nice=0, TileWidth=1, TileHeight=1, etc.)?

If not, where do I get/find it?

Either way is there somewhere I need to add it to?

And if it is does if matter which window's settings I put Rebalance=1 under?
Yes that's the one. It should go in the top section, marked [Angband]. Take it out once you've run the game once, or the game will slow down noticeably at startup.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old July 5, 2016, 22:28   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,345
Donated: $40
Pete Mack is on a distinguished road
Oh good. I was just about to ask the same thing. I wanted to bring Azriel back under the name Mandros, with a few other nasty tricks (PASSWALL, S_UNDEAD.)
And monsters that "shimme" in name or description should, you know, shimmer. (Notably Blink Dogs and Shimmering Vortex. Irridescent beetles should shimmer blue, too.) Also, hallucination makes auto-shimmer just a hopeless flag. The game slows badly and becomes horribly distracting.
Pete Mack is offline   Reply With Quote
Old July 7, 2016, 06:56   #8
Elfin Jedi
Adept
 
Join Date: Mar 2013
Posts: 102
Elfin Jedi is on a distinguished road
For me it runs into an assertion failure in mon-make.c at line 910. Expression: race && race->name. Is that because I have added/changed monster races? It does this right after loading or creating a new character. It sounds like I will need to recompile it.
Elfin Jedi is offline   Reply With Quote
Old July 7, 2016, 14:23   #9
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,828
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Elfin Jedi View Post
For me it runs into an assertion failure in mon-make.c at line 910. Expression: race && race->name. Is that because I have added/changed monster races? It does this right after loading or creating a new character. It sounds like I will need to recompile it.
Do all of your new monsters have names set correctly? Maybe you could post your altered monster.txt file for debugging purposes. I don't think recompiling the game will achieve anything since all you've done is edited external data files.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old July 7, 2016, 17:31   #10
Elfin Jedi
Adept
 
Join Date: Mar 2013
Posts: 102
Elfin Jedi is on a distinguished road
I changed some of the monster bases and added some new ones. I am adding the monsters from Unangband. I did change the kobold base to goblin because there will be more goblins. I wonder if that is what it is unhappy about.

I have only reached part way through level 5 so far. It says the file is 265.4 KB and the forum limit is 19.5 KB.
Elfin Jedi is offline   Reply With Quote
Reply

Tags
-p option, monster edit file


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug: can see monster, monster term doesn't show it. Timo Pietilš Vanilla 4 June 10, 2014 11:45
Monster Pits vs. Monster Nests TricksterWolf Vanilla 6 June 20, 2013 21:26
Help editing monster.txt file ShadowTechnology Vanilla 7 June 17, 2013 22:28
where is the save file?? mlevin77 Development 3 March 15, 2012 12:40
Editing the monster.txt file Jothar Hillpeople Vanilla 3 September 4, 2008 21:23


All times are GMT +1. The time now is 05:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.