VOGONS


First post, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

Hi,

I've got a laptop with windows XP on it.

I have tried to use dosbox.
I altered the configuration with autoexec lines.

mount c c:\
SET PATH=C:\WINDOWS;C:\
C:\WINDOWS\MOUSE.COM
C:\WINDOWS\SMARTDRV.EXE /X
c:\WINDOWS\DOSKEY
c:
cd general/war2/w2deluxe

I tried editting the config.sys file in my C:\ to:

DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
FILES=30
BUFFERS=40

I added the following lines to the autoexec.bat file in my C:\ to:

C:\WINDOWS\MOUSE.EXE
C:\WINDOWS\SMARTDRV.EXE /X
C:\WINDOWS\DOSKEY

When I load up warlords 2 deluxe in any profile no screen no VESA or whatever it crashes or in DOSBOX I get a Illegal Call 7.

I'm thinking I need to utilise emm386.exe and himem.sys.

Any pointers on how I can configure my system to make this game work?

(I had previously installed warlords 2 deluxe on my windows 98 desktop and copied the files across to my windows xp using a local network, keeping the file structure the same. I did get it to work on windows 98, by activating the program twice, the second instance worked 😵 )

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 1 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

I changed the DOSBOX config to dynamic and a nigher cycle:

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this higher than your machine can handle is bad!
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.

core=dynamic
cycles=40000
cycleup=500
cycledown=20

Then I got a new error :
Illegal Option

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 2 of 17, by Lofty

User metadata
Rank Member
Rank
Member

VESA is badly supported in Windows XP. Warlords II Deluxe definitely works in DosBox - I can't remember which version - it might have been 0.63 or you might need a more recent CVS version. (check the dosbox forums for how to get a hold of a cvs version). The dynamic core is less stable than the normal core. If it doesn't work with normal, it's very unlikely to work with dynamic.

Reply 3 of 17, by Lofty

User metadata
Rank Member
Rank
Member

btw, 40,000 cycles is very high, unless you have a very fast computer. Increasing cycles will not normally make something work that wasn't working before.

Reply 4 of 17, by Lofty

User metadata
Rank Member
Rank
Member

Oh, and you shouldn't normally need to load dos drivers like mouse.com or smartdrv or doskey when using DosBox, as DosBox pretty much emulates all that stuff internally.

Reply 6 of 17, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

For info on CVS builds of DOSBox, see the link in my signature.

The acronym CVS itself means something like Concurrent Versions System and is a tool that the DOSBox developers use to keep track of the DOSBox source code on sourceforge.net as changes are added to it. Among other things, it lets them keep track of every version of every source file that is checked into the CVS library (in case something breaks). It also makes it easy for hobbyist developers to snag a copy of the very latest source code to make CVS builds of dosbox.exe.

Reply 7 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

I applied the cvs.

And changed the cycle down somewhat.
changed the core to normal.

And I applied the install.exe in warlords and it only gives me the option to exit. I was hoping to look at the configuration. I'm thinking I didn't have enough memory for it to give me ALL the options in the install program of warlords 2.

Any thoughts?

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 8 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

Also noticed that under the new CVS 29th November, that there is no illegal call but the screen is black 🤣 !

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 9 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

I got warlords scenario editor (warscen.exe) to work !

closer...
i reduced the memsize is all...

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 10 of 17, by Lofty

User metadata
Rank Member
Rank
Member

Hmm. You should be able to change the sound config. with install.exe. Are you running it from the installed directory?
I have it set to use SB16 and it works fine. Here's my dosbox.conf if it's any help (mostly it's just default settings though)...

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullfixed -- Don't resize the screen when in fullscreen.
# fullresolution -- What resolution to use for fullscreen, use together with fullfixed.
# output -- What to use for output: surface,overlay,opengl,openglnb,openglhq,ddraw,direct3d.
# hwscale -- Extra scaling of window if the output device supports hardware scaling.
# 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.
# priority -- Priority levels for dosbox: lower,normal,higher,highest.
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# pixelshader -- Pixelshader program to use for resizing: none,point.fx,bilinear.fx,scale2x.fx,2xsai.fx.

fullscreen=false
fulldouble=false
fullfixed=false
fullresolution=1024x768
output=surface
hwscale=1.00
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
pixelshader=none

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=vga
captures=capture
memsize=16

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,advmame2x,advmame3x,advinterp2x,interp2x,tv2x,hq2x.

frameskip=0
aspect=false
scaler=normal2x

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this higher than your machine can handle is bad! (unless timesynched is set)
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.
# timesynched -- Do not emulate more cycles than possible.
# showcycles -- Display the number of emulated cycles in the titlebar (uses some CPU).

core=normal
cycles=10000
cycleup=200
cycledown=200
timesynched=true
showcycles=true

[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.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
# mpu401 -- Enable MPU-401 Emulation.
# intelligent -- Operate in Intelligent mode.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,mt32,none.
# mt32rate -- Sample rate of MT32 emulation
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=true
intelligent=true
device=default
mt32rate=22050
config=

[sblaster]
# type -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# base,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# oplrate -- Sample rate of OPL music emulation.

type=sb16
base=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# base,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# rate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.

gus=true
rate=22050
base=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# Tandysound emulation is present if machine is set to tandy.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandyrate=22050
disney=false

[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.

joysticktype=2axis

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).

xms=true
ems=true
umb=true

[autoexec]
# Lines in this section will be run at startup.

Reply 11 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

I went through my laptop and found a second warlords 2 deluxe installed...I incorrectly assumed that this was from my desktop pc...it wasn't. This was the one I converted with the patches created in 1997.
Found at http://www.heeter.net/warlords/.

So it works somewhat...now it's requesting a cd 🤣 which I left in Australia pcked in a box.
I tried "war2 -ncd", forcing warlords to work without a cd, but alas it still doesn't work 🙁 I get a warlords mesage asking for the cd. I gather I have to mount a D drive that is the cd rom.

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 12 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

Does anyone know how I can fool it into thinking I have the CD or playing it WITHOUT the CD?

I tried editting the config.nt and autoexec.nt files...

Anyone got a CD image of warlords 2 deluxe for download 😉 ???
Or
The files I need that are different from the files that are installed on your hard drive?

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 13 of 17, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Usually when I DOS games requests the CD....it NEEDS the CD, unless of course you manually copied ALL of the files off of the CD. Then you could get away with not needing the CD by mounting the copied directory as a CD drive (assuming that this game works fine with DosBox CD emulation).

CONFIG.NT/AUTOEXEC.NT have nothing to do with DosBox

Finally we don't condone the trading or downloading of copyrighted games. Go to Abandonia or Underdogs to download games but don't mention stuff like that here because it's illegal.

How To Ask Questions The Smart Way
Make your games work offline

Reply 14 of 17, by peterhawkes

User metadata
Rank Newbie
Rank
Newbie

Sorry meant no offence. I had the complete version but my cd and I are separated by 6000 miles 😳

I did find a demo version of warlords 2 deluxe on the warlords 2 encyclopedia site and I copied the root files from that over the top of the copy I had w2.exe..etc but not the folders, and this seemed to work.

I did have my own custom armies and scenarios from when I first had it and now they are reborn. I copied my scenario.dat file and armyset.dat over to the 'data' folder as well.

woohoo...now I can play it !

Peter Hawkes
Warlords 2 Fan
http://www.geocities.com/peterhawkes

Reply 16 of 17, by mwirkk

User metadata
Rank Newbie
Rank
Newbie

That is a good policy. :) I have the same policy on a couple of Y! forums I own/moderate.

However, in this case WL2, as well as WL1, has been made available by SSG/I2/Fawkner as a freeware download on certain of the more loyal fan-sites (e.g. Heeters and Warlorders). I'm not condoning warez. It's just that Steve Fawkner seems to be very appreciative of, and open with, his fans. So, Peter's dl was probably okay. :)

Matt Wirkkala, Seattle

-Mwirkk 😀

Reply 17 of 17, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Interesting.

Do you have any proof of this? Not questioning your honesty but I'm compiling a list of games that have been released as freeware and proof is paramount.

How To Ask Questions The Smart Way
Make your games work offline