and this answer who creat this plain..
UPDATED 5th July, 2006
I would like to give thanks to Devilsadvocate from Vogons forum. Most of the information came from a post that Devilsadvocate made. Also thanks to un[skill3d from the same forum for the post about the "main.pac" error. Also to The_Drummer for getting me to update this tutorial.
If you try the tutorial, please post here and let me know if it works for you. If you have problems please post here also, so that I can keep this tutorial up to date with the problems that arise.
Please read all of the tutorial below before attempting this. Try it at your own risk.
1a. Download and install the latest version of DOSBox. Recommended version of DOSBox which are most compatible for playing Z are 0.65, 0.62 and 0.61.
1b. If you get the error message "'mane.lbm' is missing, please insert CD", Download and install DOSBox 0.65 or DOSBox 0.62 instead of using DOSBox 0.63.
2. Where you installed DOSBox there is a file called "dosbox.conf" make a backup of it. [optional]
3. Open notepad and copy the following code
Code:
[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
fullscreen=true
autolock=true
sensitivity=100
waitonerror=true
[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
language=
memsize=128
[render]
# frameskip -- How many frames dosbox skips before drawing one.
# snapdir -- Directory where screenshots get saved.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,advmame2x
frameskip=0
snapdir=snaps
scaler=normal2x
[cpu]
# cycles -- Amount of instructions dosbox tries to emulate each millsecond.
# Setting this higher than your machine can handle is bad!
cycles=11000
[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# wavedir -- Directory where saved sound output goes when you use the
# sound record key-combination, check README file.
nosound=false
rate=22050
blocksize=3500
wavedir=waves
[midi]
# mpu401 -- Enable MPU-401 Emulation.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device.
mpu401=true
device=default
config=
[sblaster]
# sblaster -- Enable the soundblaster emulation.
# base,irq,dma -- The IO/IRQ/DMA address of the soundblaster.
# sbrate -- Sample rate of soundblaster emulation.
# adlib -- Enable the adlib emulation.
# adlibrate -- Sample rate of adlib emulation.
# cms -- Enable the Creative Music System/Gameblaster emulation.
# Enabling both the adlib and cms might give conflicts!
# cmsrate -- Sample rate of cms emulation.
sblaster=true
base=220
irq=7
dma=1
sbrate=22050
adlib=true
adlibrate=22050
cms=false
cmsrate=22050
[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy 3-Voice emulation.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.
pcspeaker=true
pcrate=22050
tandy=true
tandyrate=22050
disney=true
[bios]
# Nothing to setup yet!
[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# dpmi -- Enable builtin DPMI host support.
# This might help in getting some games to work, but might crash others.
# So be sure to try both settings.
xms=true
ems=true
dpmi=true
[modem]
# modem -- Enable virtual modem emulation.
# comport -- COM Port modem is connected to.
# listenport -- TCP Port the momdem listens on for incoming connections.
modem=true
comport=2
listenport=23
[ipx]
ipx=true
[autoexec]
# Lines in this section will be run at startup.
mount C C:\Games\z
mount E C:\Games\Z\CD -t cdrom
C:
4. In notepad, paste the text. Go to "Save As" and change the "Save As Type" to "All Files". Name the file "dosbox.conf" without the quote marks. Save this file to where you have installed DOSBox to and click "YES" to overwrite the original file.
5. Install Z onto your hard drive. I've installed Z to C:\Games\z
6. Copy all of the files that are on the Z CD to the hard drive in it's own folder. I've copied mine to C:\Games\Z\CD
7. Make a shortcut of the "dosbox.exe" to the destop and change the icon to the Z.ico that is where you installed the Z game. [this is optional]
8a. Start DOSBox from the shortcut on the desktop and at the prompt type Z and press enter and the game should load.
9a. If you get an error saying that the file "main.pac" is missing, open the "z.bat" file from the game folder into notepad. It should look like this.
Code:
@Echo Please Wait - Loading ......
@ZED.EXE /CD:X %1 %2 %3 %4 %5
9b. If your "z.bat" has the /yesuv like it does below, then delete the /yesuv text so that it looks like the code above.
Code:
@Echo Please Wait - Loading ......
@ZED.EXE /CD:X /yesuv %1 %2 %3 %4 %5
9c. Open the "dosbox.conf" file with notepad from where you installed Dosbox. At the bottom of the file, It should look like this.
Code:
[autoexec]
# Lines in this section will be run at startup.
mount C C:\Games\z
mount X C:\Games\Z\CD -t cdrom
C:
10. Change the letter X in both the "z.bat" and "dosbox.config" to the letter of your CD/DVD drive. IMPORTANT. Both of the X's must be the same otherwise you will still get the "main.pac" file is missing error message. If you have more than 1 CD/DVD drive, try them all. Overwrite both files if you have changed anything.
11. If the game play is too slow or too fast, just press "CTRL F11" to slow the game down or "CTRL F12" to speed the game up. Press these until you get the speed that you like and don't press "CTRL F11" or "CTRL F12" again.
12. Quit the game. If you can't see the desktop, press the "Windows" key if you have one.
13. There should be a dos window open with "CPU:XXXXX cycles" where X is a number. Everytime you pressed the "CTRL F11" or "CTRL F12" it is displayed here. Go to the last "CPU:XXXXX cycles" that is displayed at the bottom of the list. Write down the numbers that are displayed in the last entry. Mine is "11066"
14. Open the "dosbox.conf" file with notepad.
15. Go down to where you see this.
Code:
[cpu]
# cycles -- Amount of instructions dosbox tries to emulate each millsecond.
# Setting this higher than your machine can handle is bad!
cycles=11000
16. Change the numbers after the = to the same numbers that you wrote down. Mine would look like this.
Code:
[cpu]
# cycles -- Amount of instructions dosbox tries to emulate each millsecond.
# Setting this higher than your machine can handle is bad!
cycles=11066
17. Save the file.
You should not have to press the "CTRL F11" or "CTRL F12" again to change the speed of the game.
18. Now start DOSBox and the game should load.
19. If you don't have sound, download this and install. http://sourceforge.net/projects/vdmsound/
Hopefully this will get the game working for you on Windows XP.
Bruce
Last edited by KISSMAD on Fri, 04.May.2007, 20:09, edited 5 times in total.