VOGONS


First post, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

It plays fine in a minimized screen... but I am getting no picture in full screen.

Reply 1 of 25, by leileilol

User metadata
Rank l33t++
Rank
l33t++

Sounds like the old Nvidia palette hold up issue. Try an output that's not surface.

apsosig.png
long live PCem

Reply 2 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

Unfortunately I am not too computer literate. I don't even know what that means. I got it on my laptop, windows 7. It is a top of the line laptop... plays WoW better than my desktop even. Just won't play the game in full screen. The small screen is just so small and is driving me nuts. As much as I love the game I never would have bought it having known I would have to re-write some of the code or whatever. One fix-it place told me to go into the .conf extension and rewrite it. However my computer won't even let me open it. I hate being this stupid.

Reply 3 of 25, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You don't have to rewrite code. You have to edit dosbox' configuration file and there is start menu item for that. Click on the Windows button and select show all programs then go to the dosbox group and click on edit configuration or similar. When the text file opens look for the output setting and change that. It's near the top and above is written what settings you can try.

Also when you post for help in a forum don't write everything in caps. This is considered as screaming and rude.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

Ok... will have to try that. Sorry for the caps, but I think I was actually screaming in frustration when I wrote it. j/k Thanks again guys.

Reply 5 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

Ok.. I did that. All I saw was the XCOM game, the manual, and the uninstall. There was nothing to edit the configuration.

Reply 6 of 25, by exofreeze

User metadata
Rank Member
Rank
Member

there is a file called dosbox.conf. That file tells dosbox how to behave and what sort of system to emulate.

The following explains it:
http://www.dosbox.com/wiki/Dosbox.conf

One line in that text file says:
output=surface

If you read that link I sent, you will see that there are several other options, such as ddraw

So try changing that line to say
output=ddraw

Then save the file, and relaunch dosbox.

Dominus's post tells you exactly how to find this file.

Reply 7 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

Very awesome. Thank you so much for your help. I really do appreciate it guys.

Reply 8 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

One quick question. I understand the dosbox.conf thing... but how do you open it? Everytime I try it says to pick a program to open it. Do I have to download a special program?

Reply 10 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

ok.. cool. I had opened it once on notepad before... but wasn't sure if saving it would do anything. So just open it on notepad, then rewrite the stuff, and save it. Is that right?

Reply 11 of 25, by Alienmojo

User metadata
Rank Newbie
Rank
Newbie

ddraw worked!!!!! You guys are freaking amazing!!!!! Thank you sooooooo much. This has been driving me completely nutty. You guys ever make it out to the Kalispell, Montana area let me know cause I'm buying you all beers! 😀

Reply 12 of 25, by Aymish

User metadata
Rank Newbie
Rank
Newbie

I bought the game on Steam and ddraw, opengl, etc does not work, neither does setting full screen to true and inputting a resolution. The screen is still black, and even the loader provided with xcomutil doesn't fix the problem, or the color issues associated with the alternative start-up option available when starting the game through Steam (Windows 7). Ctrl-F10 doesn't cycle color patterns in that mode either. The only dosbox commands that work when running the game in windowed mode, full screen or the alternate color weird method from Steam is Alt+Enter for full screen and windowed mode.

I am playing the game in windowed mode, but I tried asking for help at the Steam forums and they couldn't suggest anything new to try, just kept repeating the ddraw stuff, etc. If I can get it to run in full screen that is great, but right now I do feel kinda cheated by buying the game only to have it not run in full screen and have so many game ending bugs (which xcomutil fixed, but still a lot of work to get a game to run properly).

Activate the nitron lamp.

Reply 13 of 25, by Gamecollector

User metadata
Rank Oldbie
Rank
Oldbie
Aymish wrote:

I bought the game on Steam

Why ask here? Steam have it's own forums and tech support. 😀
The short answer - you need to edit "...\Program Files (x86)\Steam\steamapps\common\x-com ufo defence\dosbox.conf", not the standard one.

Last edited by Gamecollector on 2012-09-20, 21:18. Edited 3 times in total.

Reply 15 of 25, by Aymish

User metadata
Rank Newbie
Rank
Newbie
Gamecollector wrote:
Aymish wrote:

I bought the game on Steam

Why ask here? Steam have it's own forums and tech support. 😀
The short answer - you need to edit "...\Program Files (x86)\Steam\steamapps\common\x-com ufo defence\dosbox.conf", not the standard one.

Aymish wrote:

I tried asking for help at the Steam forums and they couldn't suggest anything new to try, just kept repeating the ddraw stuff, etc.

I asked there, and that is the only dosbox.conf I edited. There is no dosbox folder under start, all programs. They just kept repeating to use ddraw, which doesn't work.

Dominus wrote:

Updated your graphic card drivers to the latest?

Yes.

EDIT:

The game is becoming more work than it's worth even at the $5 dollar price tag, since xcomutil doesn't fix all of the bugs in the game. The 80 item limit ruined a save. I will just focus on the new game and leave this dinosaur alone. Thanks for the help everyone.

Activate the nitron lamp.

Reply 16 of 25, by AceJoel96

User metadata
Rank Newbie
Rank
Newbie

I'm having issues with getting Xcom to run without graphical glitches and failed shut downs, and with Xcom Util. I have the Steam version, but it has problems running at all, and still has the same set of color glitches. Rather than repeat it, here's a link to the Steam thread that offers no direct fixes. I've tried asking the current developer of XcomUtil for a fix without response.
http://forums.steampowered.com/forums/showpos … 8&postcount=250

The Long, Long History of TIE Fighter...Coming Soon!

Reply 17 of 25, by AceJoel96

User metadata
Rank Newbie
Rank
Newbie

Here's the post I put on Steam, which has yet to be answered by anyone on any forum.
I have Win7 x64. I have vcredist_x86 already installed. I downloaded the Steam version. Prior to any other steps, I started the game and didn't see any palette glitches. I could not figure out how to close out of the game aside from a hard shut with Task Manager, or how to access the main menu.

I downloaded Dosbox 0.74 and placed it in common\XCom UFO Defense. My dosbox config is edited to read:

#fulldouble=false 

fullscreen=true
fullresolution=1920x1080
windowresolution=original
output=ddraw
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

frameskip=0
aspect=false
scaler=advmame2x

core=auto
cycles=auto limit 16000
cycleup=500
cycledown=20

@echo off
mount c XCOM -freesize 1024
c:
cd XCOM
call ufocd.bat
GO.bat
exit

I ran XcuSetup.bat bat from \common\XCom UFO Defense\XCOM. My setup reads as follows from the LastOp.bat file:

REM ##############################
REM ##### Last Used Options ######
REM ##############################

REM Unless listed, valid options(case sensitive): Yes, No
REM Options are Case Sensitive

REM #### Windows Executable ####

REM SplEXE = Split Windows EXE. Required for most options.
REM VsW7P = Patch for Vista / Windows 7 to fix blank screen
REM Enf0dder = Enable f0dder loader to fix corrupted video.
REM EnUFOEx = Enable UFO Extender

REM SplEXE: N/A, Yes, No
set SplEXE=Y
set VsW7P=Y
set Enf0dder=Y
set EnUFOEx=N

REM ##### Game Fixes #####

REM FAll = Apply all Fixes
REM FURou = Fix UFO Routes
REM FDesM = Fix Desert Map
REM FXRou = Fix X-Com Base Routes / Spawn points
REM FATer = Fix Alien Base Terrain
REM FMTer = Fix Mountain Terrain
REM FUTerain = Fix UFO Terrain
REM FExTer = Fix Explosive Terrain
REM FLitn = Fix Lightning Terrain
REM FTMSwp = Fix TFTD Swaped Maps
REM FixTUout = Fix TFTD USO Routes
REM FTIntDis = Fix TFTD Interception Images

REM FAll: Y, N, P
set FAll=Y
set FURou=Y
set FDesM=Y
set FXRou=Y
set FATer=Y
set FMTer=Y
set FUTer=Y
set FExTer=Y
set FLitn=Y
set FTMSwp=N
set FTURou=N
set FTIntDis=N

REM ##### Game Modifications #####

REM ### Sound ###
REM SG = Original Geoscape Sound Effects
REM ST = Original Tactical Sound Effects

set SG=Y
set ST=Y

REM ### Craft ###
REM FasT = Fighter as Transport
Show last 98 lines
REM THP = Transport Hard Point

set FasT=N
set THP=N

REM ### Base ###
REM DefBas = Defensive Base Layout
REM ImpBas = Improved Starting Base
REM DisBas = Fix Disjointed Base Bug

set DefBas=N
set ImpBas=N
set DisBas=Y

REM ### Equipment ###
REM ITank = Improved Tank
REM IPst = Improved Pistol
REM IHLsr = Improved Heavy Laser
REM IHiEx = Improved High Explosive
REM IDyeG = Improved Dye Granada
REM IGuass = Improved Gauss Damage
REM ReGCl = Remove Gauss Clip
REM NewLT = Scott's Alternate Laser and Plasma Mod

set ITank=N
set IPst=N
set IHLsr=N
set IHiEx=N
set IDyeG=N
set IGau=N
set ReGCl=N
set NewLT=N

REM ### Research ###
REM ResFix = TFTD Research Fix
REM CapARes = Captures Alien Research

set ResFix=N
set CapARes=N

REM ### Units ###
REM UNStat = Unit Name Stats
REM UNR = Unit Name Ranks
REM UNK = Unit Name Kills
REM pCSrt = Pre-CombatSort
REM ReEqp = Re-Equp Units
REM EqpFRes = Equipment File Reset
REM RemMC = Remove PSI/MC from Game
REM MCScr = PSI/MC Screening
REM ScrTyp = PSI/MC Screening Type

set UNStat=Y
set UNR=Y
set UNK=Y
set pCSrt=Y
set ReEqp=Y
set EqpFRes=N
set RemMC=N
set MCScr=N
REM ScrTyp: Lab, Alwase
set ScrTyp=Lab

REM ### Battlefield ###
REM fDay = Force Daylight
REM fNight = Force Night
REM BFGorWRnd = BFG or World Map Randomization
REM BFG = BattleField Generator
REM BFGProm = BFG Prompting for each CombatSort
REM BFGRTer = BFG Random Terrain Selection
REM RndWorld = Randomize World map Textures

set FDay=N
set FNight=N

set BFGorWRnd=Y
set BFG=Y
set BFGProm=Y
set BFGRTer=Y
set RndWorld=N

REM ### Alien Craft Maps ###
REM RndAC = Randomize Alien Craft
REM RndACFr = Freqency of Randomization
REM RndACSap = Randome Alien Craft Shapes
REM KepRndAC = Keep Random Craft Files

set RndAC=Y
REM RndACFr: Once, Every
set RndACFr=Every
set RndACSap=Y
set KepRndAC=Y

REM ### Misc ###
REM XcUMes = Display Autocombat and Research Messages

set XcUMes=Y
set Ad=N

When I start Xcom up from Steam, it goes to the XcomUtil prompt. I hit 2, and the game goes to a blank screen and nothing else happens, in spite of the f0dder mod. Starting the game from common\XCom UFO Defense using DOSBox gives the same result. With either case, I must bring up Task Manager to end both programs. With the Steam version, it lags even more as Windows tries to find a way to fix it. The DOSBox status window reads on exit,
Code:
vga is not a valid value for variable: machine
Failed to create hardware surface.
Restarting video subsystem with windlb enabled.
Placing DOSBox in common\XCom UFO Defense\XCOM and trying to start it up results in DOSBox opening and shutting down immediately.

Since the Steam launch method failed, I tried starting it up from RunXcom.bat. The game launches with incorrect colors, as McZeroNG mentioned. The problem with displaying the glitches is that this is being done outside of the Steam overlay, so using Steam as a screencapture utility isn't possible, and using other screen capture techniques does not display the contents of the game at all, or displays the game imagery as it should be displayed, without the color artifacts; however when the game is in runtime, the palette is still glitched. I tried editing it to mapperfile=mapper-0.74.map, which was part of several other fixes required to run a different game from DOSBox, but did not help in this instance.

Starting the game from any other shortcut results in the same graphical glitches and shut-down problem.

Please help with the three issues I mentioned (blank screen, color glitches, and inability to shut down).

The Long, Long History of TIE Fighter...Coming Soon!

Reply 18 of 25, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie
AceJoel96 wrote:
vga is not a valid value for variable: machine Failed to create hardware surface. Restarting video subsystem with windlb enable […]
Show full quote

vga is not a valid value for variable: machine
Failed to create hardware surface.
Restarting video subsystem with windlb enabled.
Placing DOSBox in common\XCom UFO Defense\XCOM and trying to start it up results in DOSBox opening and shutting down immediately.

DosBox is not lying: VGA is not a valid value for variable: machine.
For 0.74:

#           Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.

I see no VGA there...do you?
Also, try different outputs...you don't list what your video specs are (related to "failed to create hardware surface")...but, even if your video card is a POS...install the latest drivers 😀

Reply 19 of 25, by AceJoel96

User metadata
Rank Newbie
Rank
Newbie

"# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga."
I switched it to vgaonly after copying the following config file to this thread. It goes to a blank screen after choosing option 2, play X-COM. The DOSBox status window reads:
SHELL:Redirect output to nul
//the above message repeats several times
SHELL:Redirect output to scrap.txt
//more output to nul messages
SHELL:Redirect output to xcomutil.log
//repeats twice

I have an AMD 4870. My video card drivers are up to date.

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# 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: lowest,lower,normal,higher,highest,pause (when not focussed).
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
#fulldouble=false

fullscreen=true
fullresolution=1920x1080
windowresolution=original
output=openglnb
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-0.74.map
usescancodes=true

[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,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=vga
captures=capture
memsize=32

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,hq2x,hq3x,
# 2xsai,super2xsai,supereagle,advinterp2x,advinterp3x,
# tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.

frameskip=0
aspect=false
scaler=none

[cpu]
# core -- CPU Core used in emulation: normal,simple,dynamic,auto.
# auto switches from normal to dynamic if appropriate.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this value too high results in sound dropouts and lags.
# You can also let DOSBox guess the correct value by setting it to max.
# The default setting (auto) switches to max if appropriate.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.

core=auto
Show last 137 lines
cycles=auto limit 16000
cycleup=500
cycledown=20

[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=4096
prebuffer=14

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# 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. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,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.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- 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
gusrate=22050
gusbase=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.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
# joysticktype -- Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks), 4axis,
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# timed -- enable timed intervals for axis. (false is old style behaviour).
# autofire -- continuously fires as long as you keep the button pressed.
# swap34 -- swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap -- enable button wrapping at the number of emulated buttons.

joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, nullmodem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameter for all types is irq.
# for directserial: realport (required), rxdelay (optional).
# for modem: listenport (optional).
# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
# transparent, port, inhsocket (all optional).
# Example: serial1=modem listenport:5000

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

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support.
# keyboardlayout -- Language code of the keyboard layout (or none).

xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.
@echo off
mount c XCOM -freesize 1024
c:
cd XCOM
call ufocd.bat
GO.bat
exit

The Long, Long History of TIE Fighter...Coming Soon!