First post, by Alienmojo
It plays fine in a minimized screen... but I am getting no picture in full screen.
It plays fine in a minimized screen... but I am getting no picture in full screen.
Sounds like the old Nvidia palette hold up issue. Try an output that's not surface.
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.
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.
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.
Ok.. I did that. All I saw was the XCOM game, the manual, and the uninstall. There was nothing to edit the configuration.
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.
Very awesome. Thank you so much for your help. I really do appreciate it guys.
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?
notepad
Water flows down the stream
How to ask questions the smart way!
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?
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! 😀
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.
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.
Updated your graphic card drivers to the latest?
wrote: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.
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.
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.
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!
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=falsefullscreen=truefullresolution=1920x1080windowresolution=originaloutput=ddrawautolock=truesensitivity=100waitonerror=truepriority=higher,normalmapperfile=mapper.txtusescancodes=trueframeskip=0aspect=falsescaler=advmame2xcore=autocycles=auto limit 16000cycleup=500cycledown=20@echo offmount c XCOM -freesize 1024c:cd XCOMcall ufocd.batGO.batexit
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, NoREM Options are Case SensitiveREM #### Windows Executable ####REM SplEXE = Split Windows EXE. Required for most options.REM VsW7P = Patch for Vista / Windows 7 to fix blank screenREM Enf0dder = Enable f0dder loader to fix corrupted video.REM EnUFOEx = Enable UFO ExtenderREM SplEXE: N/A, Yes, Noset SplEXE=Yset VsW7P=Yset Enf0dder=Yset EnUFOEx=NREM ##### Game Fixes #####REM FAll = Apply all FixesREM FURou = Fix UFO RoutesREM FDesM = Fix Desert MapREM FXRou = Fix X-Com Base Routes / Spawn pointsREM FATer = Fix Alien Base TerrainREM FMTer = Fix Mountain TerrainREM FUTerain = Fix UFO TerrainREM FExTer = Fix Explosive TerrainREM FLitn = Fix Lightning TerrainREM FTMSwp = Fix TFTD Swaped MapsREM FixTUout = Fix TFTD USO RoutesREM FTIntDis = Fix TFTD Interception ImagesREM FAll: Y, N, Pset FAll=Yset FURou=Yset FDesM=Yset FXRou=Yset FATer=Yset FMTer=Yset FUTer=Yset FExTer=Yset FLitn=Yset FTMSwp=Nset FTURou=Nset FTIntDis=NREM ##### Game Modifications #####REM ### Sound ###REM SG = Original Geoscape Sound EffectsREM ST = Original Tactical Sound Effectsset SG=Yset ST=YREM ### Craft ###REM FasT = Fighter as Transport
REM THP = Transport Hard Pointset FasT=Nset THP=NREM ### Base ###REM DefBas = Defensive Base LayoutREM ImpBas = Improved Starting BaseREM DisBas = Fix Disjointed Base Bugset DefBas=Nset ImpBas=Nset DisBas=YREM ### Equipment ###REM ITank = Improved TankREM IPst = Improved PistolREM IHLsr = Improved Heavy LaserREM IHiEx = Improved High ExplosiveREM IDyeG = Improved Dye GranadaREM IGuass = Improved Gauss DamageREM ReGCl = Remove Gauss ClipREM NewLT = Scott's Alternate Laser and Plasma Modset ITank=Nset IPst=Nset IHLsr=Nset IHiEx=Nset IDyeG=Nset IGau=Nset ReGCl=Nset NewLT=NREM ### Research ###REM ResFix = TFTD Research FixREM CapARes = Captures Alien Researchset ResFix=Nset CapARes=NREM ### Units ###REM UNStat = Unit Name StatsREM UNR = Unit Name RanksREM UNK = Unit Name KillsREM pCSrt = Pre-CombatSortREM ReEqp = Re-Equp UnitsREM EqpFRes = Equipment File ResetREM RemMC = Remove PSI/MC from GameREM MCScr = PSI/MC ScreeningREM ScrTyp = PSI/MC Screening Typeset UNStat=Yset UNR=Yset UNK=Yset pCSrt=Yset ReEqp=Yset EqpFRes=Nset RemMC=Nset MCScr=NREM ScrTyp: Lab, Alwaseset ScrTyp=LabREM ### Battlefield ###REM fDay = Force DaylightREM fNight = Force NightREM BFGorWRnd = BFG or World Map RandomizationREM BFG = BattleField GeneratorREM BFGProm = BFG Prompting for each CombatSortREM BFGRTer = BFG Random Terrain SelectionREM RndWorld = Randomize World map Texturesset FDay=Nset FNight=Nset BFGorWRnd=Yset BFG=Yset BFGProm=Yset BFGRTer=Yset RndWorld=NREM ### Alien Craft Maps ###REM RndAC = Randomize Alien CraftREM RndACFr = Freqency of RandomizationREM RndACSap = Randome Alien Craft ShapesREM KepRndAC = Keep Random Craft Filesset RndAC=YREM RndACFr: Once, Everyset RndACFr=Everyset RndACSap=Yset KepRndAC=YREM ### Misc ###REM XcUMes = Display Autocombat and Research Messagesset XcUMes=Yset 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!
wrote:vga is not a valid value for variable: machine Failed to create hardware surface. Restarting video subsystem with windlb enable […]
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 😀
"# 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=falsefullscreen=truefullresolution=1920x1080windowresolution=originaloutput=openglnbautolock=truesensitivity=100waitonerror=truepriority=higher,normalmapperfile=mapper-0.74.mapusescancodes=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=vgacaptures=capturememsize=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=0aspect=falsescaler=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
cycles=auto limit 16000cycleup=500cycledown=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=falserate=22050blocksize=4096prebuffer=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=intelligentdevice=defaultconfig=[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=sb16sbbase=220irq=7dma=1hdma=5mixer=trueoplmode=autooplrate=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=truegusrate=22050gusbase=240irq1=5irq2=5dma1=3dma2=3ultradir=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=truepcrate=22050tandy=autotandyrate=22050disney=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=autotimed=trueautofire=falseswap34=falsebuttonwrap=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:5000serial1=dummyserial2=dummyserial3=disabledserial4=disabled[dos]# xms -- Enable XMS support.# ems -- Enable EMS support.# umb -- Enable UMB support.# keyboardlayout -- Language code of the keyboard layout (or none).xms=trueems=trueumb=truekeyboardlayout=none[ipx]# ipx -- Enable ipx over UDP/IP emulation.ipx=false[autoexec]# Lines in this section will be run at startup.@echo offmount c XCOM -freesize 1024c:cd XCOMcall ufocd.batGO.batexit
The Long, Long History of TIE Fighter...Coming Soon!