| 1 |
|
| 2 |
Greetings my friends and welcome to the world of mindless dribble. |
| 3 |
This source code will enable you to spend countless hours staring |
| 4 |
at your computer when you should be doing something more productive, |
| 5 |
anything more productive. |
| 6 |
|
| 7 |
You have a couple of options on how to get the borg running. Be sure |
| 8 |
to copy the file borg.txt into the angband\lib\user directory. On |
| 9 |
my system, borg.txt is in c:\games\ang309\lib\user. |
| 10 |
|
| 11 |
For those using Unix, you need to put it in a different directory. |
| 12 |
The borg.txt file ought to be placed in the directory ~/.angband/Angband/ on Unix systems. |
| 13 |
|
| 14 |
Option one: |
| 15 |
Use the precompiled executable files and replace your |
| 16 |
angband.exe or angband.scr files with the ones with this package. |
| 17 |
1. copy the angband.exe and replace the existing one in your angband |
| 18 |
directory. If using the screensaver, copy and replace the |
| 19 |
angband.scr in your windows directory. |
| 20 |
2. If using screensaver, copy the angband.ini included with the screensaver |
| 21 |
zip file and put that in your windows directory as well. Be sure to |
| 22 |
edit it so it points to the correct location of your angband files. |
| 23 |
(See the notes below) |
| 24 |
|
| 25 |
|
| 26 |
Option two: Compile your own executable file using the borg source |
| 27 |
code provided in this package. Follow the instructions below. |
| 28 |
|
| 29 |
To install and compile this borg, you will need to do the following: |
| 30 |
1. Modify the config.h to uncomment: |
| 31 |
a. the allow_borg line |
| 32 |
b. the score_borg line |
| 33 |
c. the allow_borg_graphics line |
| 34 |
2. Modify the makefile to include the borg1.o (or borg1.obj if windows) |
| 35 |
though borg9.o |
| 36 |
3. Make sure the file borg.txt is located in the \lib\user\ directory. |
| 37 |
Unless you are using unix. Unix users must have it in a specially |
| 38 |
named directory, but I don't remember what it is. |
| 39 |
4. Modify your borg.txt file if you want to run the borg in a particular |
| 40 |
fashion, including continuous play borgs. |
| 41 |
5. Compile |
| 42 |
6. Start the game, load up a character or make new one. |
| 43 |
7. Hit control z, read and ignore the messages, hit z again. |
| 44 |
8. Grab some popcorn and a soda, and watch your mind go numb. |
| 45 |
|
| 46 |
The borg may get stuck in certain situations. He may have a Clock Overflow. |
| 47 |
He may loop buying and selling the same stuff over and over. Believe me |
| 48 |
when I say that these have been addressed. His loops are greatly reduced. |
| 49 |
|
| 50 |
Continuous Play Mode: (option) |
| 51 |
Upon the death of a borg, he will automatically reroll a random character, |
| 52 |
with a random name and start fresh from clevel 1. To enable the Continuous |
| 53 |
Play Mode, turn the game option cheat_live on. To do that enter the |
| 54 |
options by pressing the equal sign (=) then Cheat Options (6). |
| 55 |
|
| 56 |
If you want, you can tell the borg to select a certain race and or class for |
| 57 |
the next one rolled up. You can make these selections from the borg.txt file. |
| 58 |
|
| 59 |
The Continual Play Mode is NOT turned on by default, you will need to |
| 60 |
select it. |
| 61 |
|
| 62 |
This borg is updated frequently. You can get the lastest source |
| 63 |
as well as executables at http://innovapain.com/borg |
| 64 |
|
| 65 |
Have Fun, |
| 66 |
Dr. Andrew White |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
=========================== |
| 71 |
Angband Borg Screen Saver |
| 72 |
=========================== |
| 73 |
|
| 74 |
by Robert Ruehlmann < [email protected] > |
| 75 |
Andrew White < [email protected] > |
| 76 |
|
| 77 |
Uses Andrew P. White's APWBorg. |
| 78 |
(see http://innovapain.com/borg). |
| 79 |
|
| 80 |
|
| 81 |
Description: |
| 82 |
------------ |
| 83 |
|
| 84 |
A screensaver that runs the vanilla Angband Windows version with the |
| 85 |
APW Borg and automatically restarts the Borg when the character dies |
| 86 |
(continuous play mode). |
| 87 |
|
| 88 |
The borg engine is updated frequently, so visit Dr. White's page and |
| 89 |
obtain the most recent version of the borg. You may also down-load |
| 90 |
an up to date executable of the screensaver from that page. |
| 91 |
|
| 92 |
Note that the Angband display is not always dynamic and may not |
| 93 |
protect your monitor from burning-in of images. While this is highly |
| 94 |
unlikely with modern monitors you might want to configure the energy |
| 95 |
saving settings for your monitor so that it turns itself off after |
| 96 |
some time of inactivity. The screensaver will also keep the |
| 97 |
processor and hard-disk busy. Power-saving features that depend on |
| 98 |
inactivity of these parts won't be effective while the screensaver |
| 99 |
is running. You have been warned. |
| 100 |
|
| 101 |
|
| 102 |
Installation: |
| 103 |
------------- |
| 104 |
|
| 105 |
Copy angband.scr and the included angband.ini into your Windows directory. |
| 106 |
|
| 107 |
Make sure you have the Windows version of Angband installed. |
| 108 |
If you don't have it yet, then download it from |
| 109 |
http://rephial.org/ and install it. You will need all the supporting files |
| 110 |
found in the Lib directory. |
| 111 |
|
| 112 |
Open angband.ini with a text-editor and modify "AngbandPath" so that |
| 113 |
it points to the directory where Angband for Windows is |
| 114 |
installed. Note that the path has to end with a backslash ('\'). |
| 115 |
|
| 116 |
The "SaverFile" variable should contain the name of the character you |
| 117 |
want to use for the screensaver. A random character will be |
| 118 |
automatically created if the character doesn't exist yet. Note that |
| 119 |
the savefile will be marked as cheater and won't get an highscore |
| 120 |
entry! |
| 121 |
|
| 122 |
With the changes to the 3.0.9 game code, there is a slight flaw |
| 123 |
in how the borg rolls up the first character for the screensaver. The |
| 124 |
character is rolled but the borg won't engage until the next time the |
| 125 |
screensaver is activated. |
| 126 |
|
| 127 |
It is recommended that you create a normal character using the regular |
| 128 |
version of Angband and setup your term windows the way you like them. |
| 129 |
Then save that file and use that file name as the "SaverFile" for your |
| 130 |
screensaver. |
| 131 |
|
| 132 |
For example, I have these three lines in my angband.ini file. |
| 133 |
[Angband] |
| 134 |
AngbandPath="c:\games\angband-3.0.9\" |
| 135 |
SaverFile="Saver" |
| 136 |
|
| 137 |
Test the screen saver in windows. Select the screensaver in the |
| 138 |
Windows Display Properties and test it! |
| 139 |
|
| 140 |
|
| 141 |
Technical stuff: |
| 142 |
---------------- |
| 143 |
|
| 144 |
The screensaver is basically just a renamed Windows Angband |
| 145 |
executable. The main-win.c file has been heavily modified to allow |
| 146 |
the game to act as screensaver. |
| 147 |
|
| 148 |
"SCORE_BORGS" has been turned on so that normal Borgs (but not Borgs |
| 149 |
used with the continuous play mode turned on like in the |
| 150 |
screensaver!) will get highscore entries. |
| 151 |
|
| 152 |
The screensaver uses the angband.ini of the normal Angband |
| 153 |
installation to determine the screen-layout, as well as the graphics |
| 154 |
and sound settings. |
| 155 |
|
| 156 |
My "ALLOW_BORG_GRAPHICS" code that is included in the APW Borg has |
| 157 |
been turned on, so the Borg runs nicely with the various graphics |
| 158 |
and "view_foo_lite" lighting settings. |
| 159 |
|
| 160 |
The screensaver can be used as normal Angband executable by renaming |
| 161 |
it to angband.exe and replacing the old exe in the Angband |
| 162 |
installation directory with it. |
| 163 |
|
| 164 |
The screensaver tries to be "nice" and only uses processor cycles |
| 165 |
when the processor would be idle otherwise. It shouldn't slow down |
| 166 |
other processes that might be running. |
| 167 |
|
| 168 |
The user can also switch that feature on with the "Options/Low |
| 169 |
priority" menu-entry when using the screensaver as normal Angband |
| 170 |
executable (very useful for running Borgs in the background). |
| 171 |
|
| 172 |
Known problems: |
| 173 |
--------------- |
| 174 |
|
| 175 |
- No preview of the screensaver when in the Windows display |
| 176 |
properties. |
| 177 |
- Password protection doesn't work yet (note that Windows NT seems |
| 178 |
to handle password protection itself, so this might be no problem |
| 179 |
on NT and maybe Windows 2000 machines). |
| 180 |
- Configuration of the screenserver should be possible with a dialog |
| 181 |
instead of an ini-file. |
| 182 |
- Selecting "Show scores" while the Borg is running will probably |
| 183 |
crash the Borg since it can't parse the score-screen. |
| 184 |
- The screensaver probably won't work correctly with other Borgs that |
| 185 |
don't provide a continuous play mode compatible with the APW code. |
| 186 |
- Running the same savefile twice at the same time (for example by |
| 187 |
running a normal game and the screensaver with the same savefile) |
| 188 |
might lead to problems. |
| 189 |
- The size of some info windows can increase when exiting the "pseudo- |
| 190 |
screensaver" mode started from the options menu. |
| 191 |
- The Borg is a very complicated piece of code and contains lots of bugs. |
| 192 |
Expect slowdowns, loops, crashes, and other problems. If you encounter |
| 193 |
a suspect bug, first consult the APWBorg Webpage for a updated screen- |
| 194 |
saver, and check the Daily Log of Changes to see if your bug has been |
| 195 |
fixed. If not, then send the bug and savefile to Dr. White at |
| 196 |
[email protected] |
| 197 |
|
| 198 |
|
| 199 |
Links: |
| 200 |
------ |
| 201 |
|
| 202 |
APW-Borg homepage: |
| 203 |
http://innovapain.com/borg |
| 204 |
|
| 205 |
Angband homepage: |
| 206 |
http://rephial.org/ |
| 207 |
|
| 208 |
|