UFO: Afterlight

UFO: Afterlight

UFO: Afterlight v1.7 file:,\core\BasicOglWnd.cpp line:207 wglChooseixelFormatARB() failed!
I have faced the issue when running UFO Afterlight. I have found a solution to that. Maybe you should be able to fix your problem too and play UFO.


I have successfully able to play the game following these steps. You can also try to follow.

1. Open steam client and right click on game "UFO Afterlight" and click on "Properties". A new window will appear.
2. Click on "Local Files" tab.
3. Click on "Browse Local Files..." button.
4. Double click on "UFOApp.exe" file. (Maybe you need to be in Windows 8, if you cannot find that file then re-download UFO from steam to get the latest)
5. Your game should run.

If you are having screen resolution problem, or cannot go back to main menu from options then follow these steps:

1. Run your game for the first time. If you are unable to find the button to go to main menu then press ALT+F4(ALT key with function 4 button) button to quit the game and run the game again.
2. Create a new game named "Test" then exit the game.
3. Now go to the folder where your game is installed (see previous steps if you are unsure).
4. Go to the "Profiles" folder.
5. Then go to "Test" folder which indicates the profile name you have just created.
6. Open the Options.cfg file using Notepad.
7. find the word
GKEY 12 "resolution_x" INT
in that file and change the resolution(x coordinate) of your computer on that line.
8. find the word
GKEY 12 "resolution_y" INT
in that file and change the resolution(x coordinate) of your computer on that line.
9. You should make sure that specified resolution is matched with your computer's resolution.
10. Save the file and run "UFOApp.exe" again.
11. Now create a new profile with your name which will also follow the previous profile's (Test) options.
12. Start playing.

Hit like if you find this post useful. Thanks.
< >
115/23 megjegyzés mutatása
Correction:
8. find the word
GKEY 12 "resolution_y" INT
in that file and change the resolution(y coordinate) of your computer on that line.
Thanks for your post but I don't see this step : 6. Open the Options.cfg file using Notepad.
When you create a user profile, Options.cfg should be there inside the folder of that profile. If you still cannot find it, run the game first, create profile, start playing, then exit game(if needed press alt+F4). Then search the file again.
Legutóbb szerkesztette: Prisom; 2016. ápr. 5., 10:48
Correction:
2. Create a new profile named "Test" then exit the game.
This DOES SOLVE the issue for Intel HD 2500 GPU chips, after all these years. Thanks, Wasiq, for this post.

I'll mention a few other key things that may not be clear from Wasiq's post for those of you trying this.

1) If you bought UFO: Afterlight on Steam long ago, you probably have two entries in your game list for UFO: Afterlight (provided you list all your games with no filters):

UFO: Afterlight (Old Version)

UFO: Afterlight <--- This is the one you want to install to follow Wasiq's idea

2) The one WITHOUT (OLD VERSION) is the only one that has the UFOApp.exe file that Wasiq talks about. You must install the newer version as using TestApp.exe in the UFO: Afterlife (Old Version) will not work.

3) The key to all of this is to simply locate the UFOApp.exe file as he directs above, by right clicking on UFO: Afterlife in your game library, choosing properties, choosing Local File Contents, locating UFOApp.exe and double-clicking it. Then start a new game.

4) It will autosave by default and it won't overwrite this autosave, so you will be able to load it again. I suggest that as soon as you can save the game with a name of your choosing, like GoodSv01. This will avoid any future autosaves overwriting the save. However, the tutorial windows have to be clicked through to save the game or access the main menu. No problem, just be quick while the tutorial window help is not there. Most autosave systems use limited slots and will eventually overwrite, but do so at key game changes, but make a player named save quickly to avoid any issues.

SUMMARY:

-- Only the newer version of UFO: Afterlife on Steam has this key file called UFOApp.exe
-- Install the new version if you see (Old Version) after it. It seems to detect the old install and overwrite it, but without the new version you don't have the key file.
-- In order to run the game after that, you must double-click on UFOApp.exe (or make a shortcut to it). I'll double-check this a bit more in a moment to see if simply clicking on the game in Steam now works as well, I doubt it.
-- Everything else in Wasiq's post may be optional, but it might also help solve any issues.
-- Don't panic if you have no mouse cursor during the intro videos. You can still hit esc key to skip them as necessary, although if you never played the game they provide some explanation.

This new version on Steam has been there for years, but I never tried it. But this UFOApp.exe really does get around the old Pixel issue for Intel HD GPUs.
Legutóbb szerkesztette: DedZedNub; 2016. máj. 14., 18:17
Good to hear that, it solved your problem. :)
I have a good Problem i cant solve using normal means. i can load the first mission but it wont load the campaign map and the game crashes as soon as i finish the first mission do you have any ideas how to solve this issue ? i have tried reinstalling the game and changing the settings using the test solution however i still cant load up the Campaign Map for some reason. (as in the World Map) i have checked and i am using the newer version of the game however i cant seem to find any solutions to this problem without creating a number of other problems like, items not Appearing and invisible Enemies etc, so i have deleted everything and it currently has not had anything changed. does anyone have any ideas how to fix this Problem or is this game now unplayable for me now ?
Really usefull info. Thx lad.
Windows 8.1
It was running perfectly 2 yars ago on different PC. Now this happened.
My fix: Antialliasing Low or None.
It worked after that.
But it crashed on after loading the planet right after first tutorial mission.
Legutóbb szerkesztette: zORg_alex; 2016. okt. 21., 1:02
UFOApp seems to be a latest build with windows 8 or windows 10 "app" support (as the name indicates). So, its working for this reason probably.
Legutóbb szerkesztette: Prisom; 2016. okt. 21., 0:53
LongBow eredeti hozzászólása:
I have a good Problem i cant solve using normal means. i can load the first mission but it wont load the campaign map and the game crashes as soon as i finish the first mission do you have any ideas how to solve this issue ? i have tried reinstalling the game and changing the settings using the test solution however i still cant load up the Campaign Map for some reason. (as in the World Map) i have checked and i am using the newer version of the game however i cant seem to find any solutions to this problem without creating a number of other problems like, items not Appearing and invisible Enemies etc, so i have deleted everything and it currently has not had anything changed. does anyone have any ideas how to fix this Problem or is this game now unplayable for me now ?
I have the same problem. Did you found the solution?
FnD.Caronte -ScE- eredeti hozzászólása:
LongBow eredeti hozzászólása:
I have a good Problem i cant solve using normal means. i can load the first mission but it wont load the campaign map and the game crashes as soon as i finish the first mission do you have any ideas how to solve this issue ? i have tried reinstalling the game and changing the settings using the test solution however i still cant load up the Campaign Map for some reason. (as in the World Map) i have checked and i am using the newer version of the game however i cant seem to find any solutions to this problem without creating a number of other problems like, items not Appearing and invisible Enemies etc, so i have deleted everything and it currently has not had anything changed. does anyone have any ideas how to fix this Problem or is this game now unplayable for me now ?
I have the same problem. Did you found the solution?
Have you updated your driver of graphics card? Which windows are you using? Do you have the system components that is required for that game (minimum system requirement)? Have you tried installing windows again and then the drivers and graphics card drivers then installing the game?
Im the guy (Stucuk) whos been maintaining Original War and i also had access to the Afterlight source code (So i could make VFS View[ufosupport.com] and add support to my patch system).

UFOApp is a modified version of the game i did which doesn't use Alpha Channels in PBuffers. Some Intel cards (Or the drivers anyway) don't like Alpha Channels in PBuffers. The only difference you should notice with UFOApp is that their are no stars in the Planet bit (Everything else which uses a PBuffer like the character portraits has a solid background to it).

However i do not know if its built using the latest source code. Its built using source code downloaded from Altar's SVN (Which was shut down years ago) from either the end of 2008 or the start of 2009. PetteriB was the guy maintaining UFO Afterlight, so i don't know if its missing anything.

P.S The original topic is at the following url, though noone actually bothered to tell me if it worked : http://steamcommunity.com/app/237950/discussions/0/46476691426060508/?ctp=2#c619569608672808108
Legutóbb szerkesztette: Stucuk; 2017. márc. 18., 4:07
@ House

Did anyone ever give you any good feedback on whether or not the game had the latest source code, worked correctly as they remembered the game, or worked past the first few missions?

Will your modified UFOApp work on an Nvidia Card ... if so I could try the game out meanwhile on my Nvidia card over the next month or so, and tell you if I run into any strange things or bugs?

Maybe towards Christmas I might force the Intel HD GPU back via BIOS, but I'm not looking forward to it since sometimes things go screwy even when they should not. On some systems, you just override the BIOS and it should switch, maybe even possible via some Nvidia software to switch (I think Nvidia Inspector used to do this per memory of things I read -- but I never tried all that or used any of that software, so right now I'm not likely to try it -- lots of other critical things to keep on front burner in life right now). But, I do want to play a bit of Afterlife and other UFO games -- so I could check out Afterlife to see if it seems consistent.

Anyway, thanks for the work and help.
Legutóbb szerkesztette: DedZedNub; 2017. jún. 25., 19:17
It just modifies PBuffers to use RGB instead of RGBA (Since some Intel Cards don't support it via the drivers). So it will work on any card. Though if your card is NVidia you don't need it, as NVidia cards support RGBA. Its been standard on NVidia and AMD/ATI cards likely since 2000, lots of years before Intel went into the GPU market. Intel made alot of screw ups when they entered the market, taking standard features which have been around for like 10 years and not including them with OpenGL or changing the behaviour of some things which again worked a standard way for lots of years with NVidia/AMD/ATI cards.

I don't know about Desktop PC's, but with my laptop which has an Intel CPU that has a GPU core in it, it can switch between the NVidia Card and the Intel CPU. Just need to right click on the exe and select which i want to use (Or set the defaults in NVidia's Control Panel thingy).
< >
115/23 megjegyzés mutatása
Laponként: 1530 50