home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 4
/
AUCD4.iso
/
_aacade
/
website
/
features
/
diyoff.002
< prev
next >
Wrap
Text File
|
1998-08-27
|
7KB
|
217 lines
Installing DIY once you've got everything you need (revision 1.00)
==================================================
By Graham of Acorn Arcade - www.acornarcade.com
You should have:
- SparkFS loaded
- Longfiles from Jason Tribbeck will also help.
- A directory on your hard disc containing:
- cc1/zip
- clib/zip
- DIY/zip
- DIYupdt3/zip
- doomsrc/zip
- drlink/spk/gz
- gccmain/zip
- make/absolute
- patch/absolute
- patch1/zip
- sockets/arc
- unixlib37b/spk/gz
If anything there is missing, get back to the web page and download it!
1. Create a new directory somewhere called 'GCC' this will be called <gccdir>
from this point on.
2. Open gccmain/zip
3. Copy gccmain/zip.!gcc to <gccdir>
4. If you have a pre-RISC OS 3.7 machine, copy gccmain/zip.CallASWI.CallASWI
to $.!Boot.Resources.!System.Modules
5. Close gccmain/zip and open cc1/zip
6. Copy cc1/zip.!gcc to <gccdir> (over the top of the first)
7. Close cc1/zip and open clib/zip
8. Copy cc1/zip.!clib to <gccdir>
9. Close clib/zip and open patch1/zip
10. Copy patch1/zip.!gcc to <gccdir> (over the top of the first)
11. Close patch1/zip and drop unixlib37b/spk/gz onto the SparkFS icon
12. A new archive called 'unixlib300' will be created and opened.
13. Copy unixlib300.!UnixLib37 to <gccdir>
14. Close unixlib300 and drop drlink/spk/gz onto the SparkFS icon
15. A new archive called 'drlink/s00' will be created and opened.
16. Copy drlink/s00.Drlink to $.!Boot.Library
17. Close drlink/s00 and open sockets.arc
18. Shift doubleclick on <gccdir>.!clib and create a new directory within it
called 'sockets'
19. Copy the contents of sockets.arc to <gccdir>.!clib.sockets
20. Close <gccdir>.!clib and sockets.arc
21. Set the type of make/absolute to 'Absolute'
22. Rename it 'Make'
23. Copy it to $.!Boot.Library
24. Shift doubleclick on <gccdir>.!UnixLib37
25. Load <gccdir>.!UnixLib37.!Run into a text editor
26. Change the line reading
'Set Unix$Path <Obey$Dir>.src.Clib.'
to
'Set Unix$Path <C$Path>
And save the file. Close it.
27. Close <gccdir>.!UnixLib37
*** You now have a fully installed copy of GCC ***
- Open DIY/zip and copy the DoomItYs directory to somewhere on your HD.
- Set type of patch/absolute to 'Absolute', rename as 'Patch' and copy to
!Boot.Library
- Open doomsrc/zip and copy linuxdoom-1/10/src/ to the DoomItYs directory.
- Drag linuxdoom-1/10/src/ to SparkFS. A directory display of a new archive
called linuxdoo00 will open. Close this.
- Delete DoomItYs.linuxdoom-1/10/src/
- Create a new directory in DoomItYs called 'psource'
- Doubleclick on DoomItYs.!Patch
- Enter the full pathname of linuxdoo00.
- Enter the full pathname of psource.
- Type 'y' (lower case is important)
- !Patch will now produce a complete set of RISC OS sources for DOOM.
- Delete linuxdoo00.
- Open DIYupdt3/zip and copy the DoomItYs directory in it over the top of your
own DoomItYs directory.
- Create a new directory: psource.newdoom
- Run DoomItYs.!Update
- Enter the full pathname of psource.doom
- Enter the full pathname of psource.newdoom
- The sources will be updated to include all the latest features. Please note
that the original patched source (psource.doom) should be retained as it is
the base to which future updates are applied.
- You can now make the following changes to improve things if you have a
Risc PC:
1. load psource.newdoom.h.doomdef into a text editor, search for the
line
/*#define FULL_NEW_FEATURES*/
and replace with
#define FULL_NEW_FEATURES
Note that doing this makes the game incompatible with pre-M3
versions. This should not be a problem for most people.
2. load psource.newdoom.h.ROsupport into a text editor, and below the
first line, add the line:
#define BUFFERED_KEYBOARD
Some people with slower machines are wary of using this as it makes
movement triggered by a keypress happen, even if it takes a
noticable amount of time to respond.
3. load psource.newdoom.c.i_video into a text editor, search for the
line:
/*#define HARDWARE_GAMMA*/
and replace with
#define HARDWARE_GAMMA
This improves the display greatly on Risc PC/A7000's but wil not
work on earlier machines.
4. also find the line:
#define LINEAR_COLOURMAP_LIGHT
(just above HARDWARE_GAMMA) and change the number after it to:
0x1500
5. load psource.newdoom.s.arm_plot32 into a text editor, locate the
line beginning:
fuzz_darken equ
and change the number after it to:
0x15
- Double click on the following, one after the other, closing the directories
that open as you do so:
<gccdir>.!UnixLib37
<gccdir>.!gcc
<gccdir>.!clib
- Load psource.newdoom.h.doomdef into a text editor such as Zap.
- Find "LD_PIXEL_DEPTH" (it's midway through the file)
- Set the number after it depending on how many colours you want to use:
256 colours: LD_PIXEL_DEPTH 3
32,000 : LD_PIXEL_DEPTH 4
16 million : LD_PIXEL_DEPTH 5
- Save the file and close it.
- Change the Currently Selected Directory to psource.newdoom (the basic way
to do this is to press F12 and type:
*dir <full pathname of psource.newdoom>.
- Press F12 and type, depending on how many colours you set before:
256 colours: *make -r !RunImage
32,000 : *make -r !RunImageH
16 million : *make -r !RunImageT
- DOOM will then compile. If you get an error before compilation has gone
very far, you may not have allocated enough memory. Go back to the desktop
and change the 'next' and 'free' slots in the Task Manager (click on the
Acorn icon on the icon bar) so there is at least 2048K in each. If you have
an older machine, this may need to be as high as 4MB.
Once finished (it will take around 30 mins) copy
the !RunImage file which has appeared in psource.doom into the !Doom
application in DoomItYs.
- Open !Doom.!Run
- If you have a Risc PC or A7000, find the line reading
run Doom:!SetMode -mode13 -frames3 -resx320 -resy256
Now, change the -resx and -resy settings to the resolution you want to
play in. I recommend 320x200 or 320x256 for ARM3/6/7 users and 640x480 for
strongARM users. Also remove the -mode13 bit.
If you are using 32,000 colours, add "-high" to the end of this line, and if
you are using 16 million colours, add "-true".
- Change the line
set DOOMWADDIR <Obey$Dir>.WAD
to
set DOOMWADDIR <full pathname of where you keep your DOOM wads>
- Save the file.
- Ensure your WAD files are named as follows:
DOOM Shareware: DOOM1/WAD
DOOM Retail : DOOM/WAD
Ultimate DOOM : DOOMU/WAD
DOOM 2 : DOOM2/WAD
It is now ready to play. Doubleclick on !Doom.
All the best,
Graham
© Graham Crockford and Alasdair Bailey, 1998