Feb 13, 2009 Sigmund hits you. DUNGEON CRAWL STONE SOUP ITT Jeph Jacques's comics discussion forums. I figured out through the saves trick you can give hacked weapons/items made in wizard mode to legit chars. I AM UNSTOPPABLE. Being a Spriggan Assassin is overpowered in the first third of the dungeon enough, but the religious abilities go.
On my Linux computer, I have created a new directory in Home called games and placed the linux shell script (regen.sh) and its icon in there. I believe it is important for the name of the directory to have no spaces.
One must either chmod the two relevant crawl directories in order to permit file copies and deletions or else grant root permissions for this script, because otherwise Linux denies permission to the many file copies. I'm not well-versed on this sort of thing. I used to give my launcher root permissions via 'sudo /regen.sh', but my current method is to chmod the two crawl directories, because that eliminates the need to enter the root password every time one plays. On my Windows XP computer, regen.bat is stored in c: games. Crawl and its files are installed to c: games crawl. For Windows, these are also the default assumptions made by regen.bat. If your setup is the same, then you should encounter no difficulty.
Otherwise, the batch will attempt to self-adjust its assumptions-it has some primitive intelligence, not much-but if that doesn't work, regen.bat will tell you so, and at that point you will have to edit the variables relating to pathnames. By design, few pathnames are hardcoded, meaning the batch should be relatively easy to modify. Linux has a built-in capability of accepting a single keypress for input and overall a far more robust scripting language than Windows.
Batch programming in Windows, however, remains in the Stone Age. It is a wonder I ever programmed the Windows batch at all. For Windows users, improved functionality is possible with the old utility, which permits the user to press a single key for input rather than a key followed by the Enter key. Choose32.exe should be placed in the dir containing the crawl subdirectory. On my system, that is c: games. You can substitute some other keyboard input utility if you prefer, modifying the batch accordingly, or you can skip this option altogether.
I have coded the batch so that it will continue working in the old way for users that are leery about downloading and installing an.exe file. Release Notes:. 1/14/2013 Update: I have successfully ported regen.bat to Linux! Many improvements made between Jan. 13 & Jan.14th to the Linux script, which does however require root permission in order to shift files around.
Through trial and error, I have found that sudo is the thing, not kdesudo, which is for graphical programs. Kdesudo will cause errors. There is no way I know of getting around the permission requirement other than disabling the security altogether on one's system. I'm not quite confident enough to second-guess the Linux developers on that score. I'd rather just play along according to their rules. Update: Colorized the text, added for the first time a free public domain icon, reorganized the main menu, and fixed several bugs throughout the mods menu. Fixed a little bug that had broken the 'edit batch file' option.
Added a little colorizing trick that had occurred to me. Improved the efficiency of the Install-New-Crawl option.
Fixed the broken macro mod. Added polychromatic effect to mod menu. Fixed a little issue with install-new-crawl. So many variables now, and of course batch language won't help me in keeping track of them.
I tried tweaking this file, but it couldn't get it working right. Jeez,.bat files are old-school. But why use c## when good old dos is right there.? If you make this automatically backup my character into the Saves directory, that'd be handy.! This one doesn't seem to do that, it just keeps an old copy of my character and keeps backing that up.
Or am I getting it wrong? Thanks for your awesome website. Just found Dungeon Crawl (I'm a huge Rogue/Larn/iLarn/iRogue fan), and it's a shocker that the iPhone app is not made yet. The 2 Rogue-likes on iPhone are. Not very good.
Wanna make your millions?) rekzkarz.com PS: It's not accident that Diablo was a great game. The formula is all here - and Dungeon Crawl has that & more. The only thing I think Dungeon Crawl is missing is.
'very simple to make' user created content. PPS: Please respond on my blog or whatnot. I'm so glad to see all of your content on this game, excellent job, this is one of the best games ever made, and is virtually unknown to most everyone I know.
That being said. Using this method the game is still impossible. Try examining the files the game gives you, one for each dungeon level, one for your character with inventory included in it i believe, it's been awhile. The levels are interchangeable from game to game, and they include everything on the ground.
So, get an experienced character that's stuck, go up to level 3, let's say, drop all of your awesome gear, save, exit. Copy file for level 3, then change the name to a different, new character. Go back to game, start new character with this name, on level three, all of the goodies will be there(this should work for all levels that havent yet been identified.
Not sure about deleting and replacing), i suggest 3 simply because it's early on and easy to get to. I've gotten lots of fun tricks to work, got bored before i could save one of each thing i neede to beat the game, but if someone has enough time, it'd be amazing to post a file with lots of neat stuff on the ground. One of each is infinite of each if you have enough freetime. I'm looking for strength +1 potions and the like. You can find one in a game, then simply load your saved level, drop it off there, and resave. If someone posted one, another person could put a character there, add to it, and repost!
I don't know about you, but I've always wanted to beat this game, one way or another. I've had maxed out weapons and armor using this trick, and still have died a million times. Anyone interested? That sounds interesting. There are many varieties of cheating at Crawl. I have specialized only in one, the simplest and most obvious method.
For my part, I have not been motivated to attempt anything other than protecting favorite characters from sudden death by surprise monsters and traps. When using regen.bat, one's odds of winning the game increase substantially, and that's enough for me. When I first started playing, I relied upon regen.bat a great deal. Nowadays, I sometimes play games where my character does not get killed at all. It does not bother me that other people assume I use the cheat file because I'm lame and cannot win without it. I am playing the game for my own enjoyment.
Others are welcome to think whatever they want. It is possible to hit a key by accident in Crawl and die as a direct result.
Regen.bat protects against that as well as random glitches. Havent tried your batch file yet, but it sounds like it would save me a lot of copy and pasting of save files. The game's exceedingly thick, so i've just concentrated my efforts on one specific class/species at a time. So far i've had the most luck with troll berserkers, but i still am quite short of making it to the orb. I've come to terms with my acceptance of cheating in this game, as it's still the most challenging game i've played when i'm cheating, and the cheating itself has become part of the game to me. Like a puzzle that affects gameplay.
Looks like Blogger lost another comment. I don't see it, even though I approved it. This is what vaughn said: 'i hear ya. Havent tried your batch file yet, but it sounds like it would save me a lot of copy and pasting of save files. The game's exceedingly thick, so i've just concentrated my efforts on one specific class/species at a time. So far i've had the most luck with troll berserkers, but i still am quite short of making it to the orb. I've come to terms with my acceptance of cheating in this game, as it's still the most challenging game i've played when i'm cheating, and the cheating itself has become part of the game to me.
Like a puzzle that affects gameplay.' This is something that the purists don't get. Cheating enhances gameplay. It does not detract. It changes the game and makes the game more fun. Troll Beserkers are very powerful in the beginning and don't need any weapon either. To debug a batch file, set ECHO ON as the first line in the batch file in order to display each command.
ECHO OFF is a command that turns off the display of batch commands-this is only for batch files that are thought to be problem-free. Add a number of PAUSE statements at strategic points throughout the batch, to give you a chance to observe the system display. If you find anything amiss, share your information here. This batch works on my system without any problem. But I am willing to tweak it to help others. Igor, just checking back in. I saw the new 'winrar' version of your regen.bat.
I don't need that, I kinda like the cycling of the bat file (I turned echo on to watch the copying). Well, I still haven't won - it's not so much b/c I can't, b/c I probably could. It's more I get impatient with one character 'type' and want to try another. Ah yes, the story of my life. (How did my relationship issues pop up in Dungeon Crawl!?!?) Anyway, whenever I do play, I.must. use your cheat b/c otherwise I'd die continuously in a stream of dying. Frankly, I think it's funny that this is called 'Cheating' in a roguelike, but most video games have a 'save' option.
Heck, it's not like the game becomes a cakewalk b/c of save/restore. It's still a hard strategic challenge!
My fav 'trick' is to get hungry & just eat corpses. I always wished I could use a fireball or flame wand to cook the meat, y'know? Surprised no one's thought of that. Freakin' raw dungeon rat (or elf/orc) just sounds nasty, y'know? But cooked - probably tastes like chicken! HA rekzkarz.com. Not sure what you mean by the 'Winrar version' of regen.bat?
The new version of regen.bat caters to players like you that tire of one character and want to try another. The main change is the addition of choose32.exe, which remains optional, but allows the user to delete all saves, replay, or quit.
There is no way in Windows XP to poll user input in a batch file, so a third party app had to be used. I had been reluctant for a long time to do that, but the benefits for me outweigh the downside. My Demonspawn summoner eats corpses too.
In fact, that is a necessary component of any diet save for Spriggans, who may starve. Real food should be reserved for emergency. It would be nice if it could be cooked, an added bonus for Fire Elementalists and Red Dracons. After dying, I prefer resuming at the very place I died, rather than at the beginning where I was doing well and had no problems. I prefer to save and quit just before descending a level.
That way, if I die on the next level, the next time I play, the level will be regenerated with new and different monsters, map, and treasure. I anticipate that my functionality will be co-opted by the dev team one day, but until that day comes, I will continue using and developing regen.bat. I'm glad that you and others use it as well. Hey I just made your batch file on my computer and had a difficult time getting it working. I don't know if I'm using the wrong version of crawl (0.6.0-0) but I had no file in my saves directory with a.chr extension. I finally got it to work by just making a file called 1.chr which finally got the normalsave subroutine to run and copy my game.
Was I doing something wrong? Will this work? It seems to have worked so far but I don't want to lose my 50000 turn char and have been using brand new ones just in case. Thanks for your work! Kelli and Simon, there are now several flavors of the Crawl package available for download: with Installer, without, Tiles and Console both, Tiles only, Console only, or Mac OS.
I use the Windows Tiles only download, without installer. I do not intend to test all of the downloads, but welcome helpful comments from users that prefer other flavors. I tested regen.bat against the official 7.1 Stone Soup Windows Tiles (no Install) on July 25th, 2010, using my autoinstall batch file to do the installation. I did not notice any change in the save directory. However, I did make some changes to my autoinstall batch. Simon, your suggestion points to a potential fix for the Installer version, if it behaves differently.
Another possible fix would be to mod settings init.txt, appending this line: savedir = c: games crawl saves If someone would like to test Simon's fix, mine, or their own against the Installer version, then I would be happy to add a successful patch to regen.bat, if it remains compatible with the non-Installer version. Drop a comment here. Version control is another option. One positive about it is that the method can be used in other games.
I prefer my batch because it has a couple of additional features just for Crawl. I think I like working on the batch better than playing the actual game.
I find that I get bored with it, especially in the later levels. But I've been playing Crawl for years. Had a good laugh recently when I read the guy on Usenet who said I need to quit save-scumming so I can learn more about the game. That was pretty funny. Talk about clueless.
Works for me with v0.8. If it doesn't work for you, it may have something to do with the use of the Installer, which the dev team could possibly have changed. I don't use the Installer anymore, and if pathnames have been altered, then that could present a problem to the batch.
Someone needs to verify this and post a comment with any information. I suggest that you debug it, if you are determined to get it to work. As batches go, it is pretty easy to debug. At critical points within the logic, insert into the batch enough lines to display (ECHO) the values of variables, PAUSE-ing afterward, to verify that the variables (such as pathnames) are correct.
If they are incorrect, then find out why and come back and share any information. Batch files are bound to the OS in which they are created. Every batch command and even the assumed file structure is Windows-specific. Therefore, the prognosis for a Mac user is poor.
At best, my batch file serves as a model for another programmer to adapt for the Mac OS. However, if you are running Crawl using a Windows32 emulator, as may be the case, then that would improve the prognosis and only minor modifications may be necessary.
But I cannot help you, because I am ignorant of the Mac OS, although some of my non-techie friends own Macs, and I have a sincere regard for that brand. I'm shooting in the dark, as I use Windows XP. In order to support Win 7, and I am willing to do so, I need someone to be in close and persistent contact, or else submit a patch, and I will amend the batch accordingly. The lazy route would be to simply disable the lines that check for.8 by transforming them into REMark statements by prefacing them with the command: rem followed by one or multiple spaces. Numerous examples of non-executing remarks are strewn throughout the batch. But of course this helps no one else besides the individual user.
In version 0.7 (may have been 0.8 not sure) I used to have a really enjoyable trick where I would drop all my equipment in the temple and make a spare copy of the file called 'temple.01b'. Then, in future games, I would copy over my 'temple.01b' file so that I had all the old character's equipment. I found this really enjoyable as I could make progress from player to player, and it felt realistic and non-cheating as I imagined each player was on the same team and would share equipment:) Do you reckon there's a similar way to achieve this in 0.9? I would love to be able to copy individual level files between games.
The (!) delete option deletes all saves and start afresh. In the newest version of regen.bat, this option shows up if regen.bat detects a save, but is hidden otherwise. Note that regen.bat assumes one save, not many. Regen.bat does not support 'alternates' or deleting only one save but not others.
One possible solution would be to code a subroutine to accept an input field from the user, so that the batch might be instructed as to which save to delete. That is not something I will work on at this time, but anyone who does may share their patch here. It is an interesting idea. At present, I play with one save at a time and have done so for years. If I want to play a different character I just let the other one die. Anonymous said. Hey Igor, I just installed your Batchfile in the appropriate folder Win 7).
Starting the game vie regen.bat works. But after saving the game and restarting, the regen.bat says that the save data can't be found in the mentioned folder ( games crawl backupsaves). The regen.bat itself didn't create these folders, so I manually created them at games crawl as well as in the win7-specific roaming-folders. But regen.bat doesn't create save-files after saving and exitting.
Could the administration rights be the problem? Regards Sven. With Windows 7, I am not at all sure what is going on, because I haven't gotten around yet to installing Win 7 on my answering machine, due to shipping delays during the holiday season and other things.
Also, since I am now using Linux on my htpc, desktop and laptop, it not likely I will do much batch programming on Windows 7. If you wish to be of service to the Dungeon Crawl community, please post your solution and/or any insight into the issue here. If you develop a specific patch, post it here. I need some help here.
Anonymous said. I have been playing roguelikes since Moria, and though my passion for the genre has never declined, my love of the community and those it creates has dimmed considerably; I find there are many people within said community who defend bad decisions as simply bad, and refuse to update with the times.
In addition to the extremely odd attitude on savescumming, there is also the fact that so many roguelikes today include the concept of 'score' and 'winning'. I.know. if I am doing well by how far I have delved and my equipment, knowledge, etc - I do not need the accolades of the 'community' to tell me that.
I have no desire to interact with said community or past yasv, and was looking for a more convenient method of scumming then copying saves. For me, scumming makes me a far better player, as it allows me a familiarity with the variables and possibilities that would take a great deal more time if playing the way people spout as correct. So cheers and thank you very kindly for helping me, and likely many others out! And I think my new-years is somewhat similar to yours, aha; but so it goes.
I am cautiously optimistic for the new year, though. Maybe all the tea. I am not usually this verbose, tishe - but even if I don't comment much, I think I will watch this space. You have very interesting comments and thoughts. All the best!
Yes, I have been playing roguelikes myself since the original Rogue (on the original IBM-PC that used to be 4.77 Mhz, not Ghz!) and the greatest roguelike that ever was until DCSS, Larn, which failed to get updated. I don't pay any mind to what 'some' say about 'cheating'. They fret over someone posting scores derived from cheating, and how it might make them look, when they didn't cheat. The point of a solitary game is to have fun, and if cheating makes it more fun, then cheating is the right way, as one is not competing against other human beings.only the computer, which is a good sport.
The online tournaments sort out the best players, if such a thing matters. Good luck and I am glad to note your implication that the batch file works OK on your system (not sure whether XP or Windows 7/8).
As for me, I've moved to Linux, so for the time being, am playing without. I've got to get some tea going this morning. That's what was missing yesterday.
Thank you for this script. Working very well and saves me the hassle of tracking my save files. I can freely experiment without loosing my character on which I have worked so hard.
By the way, it is very difficult to find this script through your blog. I heard repeated mentions in your posts but found it only by chance by searching for something unrelated on DCSS. Please include a permanent download link somewhere on your blog so that more people benefit. P.S - I am using Linux so you can imagine how glad I am that someone for once made an effort to support this platform.
Thanks for the praise, but there is a link, on the right-hand side, in the 'Topics' box. I think I need to alter the color of the Topics box so that it stands out a little more. The whole blog just looks like one color at the moment.
I will work on that this morning. Maybe change the Topics box from black to, say, dark green.
Yes, Linux is all I ever use anymore. The Windows batch file works fine too for Windows, but I will probably not be making any more changes on it. I love Linux because one can customize the operating system, it is FREE, and it seems a lot safer from malware, although not immune obviously. I think that all home users, around the world, should be using Linux instead of Windows. I can't count the number of people that pay me to reinstall Windows due to malware infection. I think the script file prints a little helpful hint about getting things going in Linux. You do have to enter commands on the command line to change the permissions for some crawl directories.
The script does not necessarily have to run with root privileges, but if it does then that also solves the problem. I don't play on Linux nowadaze so can't be of further assistance with the Linux script. One guy wrote in to gripe about the scipt as used in Open Suse.
But he expected me to do all the work and wasn't willing to lift a finger. I expect rather someone fix the problem, debug and send me the newly fixed script. Igor not do work of the free variety all the time-only when on sabbatical. Sabbatical over. Bildorf said. Hi, I know next to nothing about programming. I used to play Crawl when anybody could manually save scum by going into the 'saves' folder or whatever it was and making a copy that you could rename after dying.
That way, you could play the same character many different ways, like a choose-your-own-adventure book, worshiping different gods without renouncing any of them, etc. From what I understand, the batch doesn't let you do this because it just takes your last save point, right? Just thought I'd ask in case I was missing another opportunity. The script and batch files were labors of love for me, things I worked on that were just as fun as playing Crawl and maybe more so. Of course I went whole hog to 'show off' and be as elaborate as I could be.
In doing so, I learned more about script writing but mainly just had fun. If you want to program your own scripts, do so and have a ball! I will probably not post further updates, because I've quit using the batch file. I have arrived at a state of mind where I am OK with perma-death. Linux articles linux distro reviews: and linux slideshow & music: some of my favorite things news: & (uk).
Favorite authors:, jane austen, stephen king, robert heinlein, & news show: comedy:, drama:, drag: favorite rupaul drag performer: dance: supernatural:, seasons 1-4 only! Pet peeve: american versions of uk shows. Documentaries:, top chef, nova, history channel planet: earth. Take good care of it.
Animal: endowed with social intelligence is a jewel of a companion. But dogs are better for the outdoors. Blog: comic: browser: I'm open-minded about browsers. Even firefox add-ons: highly recommended are, currently installed OSes: Linux Mint Cinnamon, Windows 7, and Windows 10. Which is better, windows or linux:, because the free software is easier to use, safer and more secure, has fewer problems and is readily customized to the user's preferences. Persuading long-time Windows users to try something different is easier said than done, however.
Favorite desktop: a toss-up between xfce & kde. Each has its own charms.
What turned me on to kde was the elegance of k3b & dolphin. Xfce on the other hand is lean and mean, yet nice enough to get things done. Kde is elegance. Favorite linux utility distros: &, useful for both windows & linux users alike. Gparted is a partition utility, while clonezilla clones drives. Both are indispensable.
Answering machine program:, which lamentably lacks a linux version. Only because of call clerk (& to a lesser extent acdsee) do i keep a windows system alive. Linux image management and editing: For managing only, I have found nothing better than. However, is easier to use and more powerful as an image editor. Windows antivirus: no-nonsense, fast and free windows security essentials windows media player: is my choice on windows for videos only. Linux mint media player: is versatile, but is faster linux video driver installation documentation: the best guide to installing ati's closed-source driver is found.
It is better to avoid AMD altogether, because the closed-source driver is prone to problems in Linux. I buy nothing but Intel.
Games: and (windows, mac & linux editions available), linux text editor: windows text editor: is the best choice for programmers and ordinary mortals alike windows and linux ftp client: favorite site for IP checkin'.boc, boc, booooack! Fave technical web site: i learned a lot at. Thankee fo muh edumacation other sites:party: food: candy: lindt 90% cocoa chocolate bars for medicinal purposes. Any lower percentage is just too sweet drugs: the single life is not for me, so how about food substitute: for medicinal purposes beverage: herbal, black or green tea brewed in a teapot from tea leaves either loose or in teabags. No expensive, new-fangled gadgetry in tea, please. Igor can be emailed at zeebazu at gmail.com.
The Liberal Philosophy as I Understand It: Toward the environment, conservation for future, wiser generations of human beings. For individuals, more freedom from intrusion and interference. Citizens of a republic really should be free rather than just hearing lip service about freedom. For businesses, more government oversight and regulation to keep them from taking advantage of their employees, customers, taxpayers, and even their own shareholders. Business criminals would sell us all down the river if it made them a nickel. Toward other peoples of the world, peace, mature behavior, cultural exchange, and trade. Some may need strong medicine to eliminate their infection by morally bankrupt military dictatorships.
With respect to science and education, a receptive ear and vast resources. In the past we were ignorant. In the present we are a little less ignorant. For there to be a future, we must become wise.
Knowledge is the only way forward. Per scientiam ad justitiam.