vista可用单机游戏
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vista可用单机游戏相关的知识,希望对你有一定的参考价值。
我想玩游戏,但是不知道vista可以玩那些,请大家介绍一下,注意,是单机的
给你找的全名单,都是绝对可以玩的,如果出问题应该都可以解决,有的游戏国内玩的不多.太多了点,就不给你都翻译了,如果你把分加多点还能考虑,嘿嘿
大概给你挑了几个里面有的比较有名的,自己手打名字可能会拼错.其他那些你大可以上百度搜英文名字,看看是什么,其他不排除也有可以玩的,这里都是测试过没有问题的.
战地全系列
美国陆军
帝国时代全系列
中世界1,2
黑与白1,2
文明3,4
冠军足球经理
使命召唤
命令与征服1,2,3包括最新资料片,(不知道怎么翻译,,,....)
兄弟连 进军30高地
cs
三角洲部队5
英雄连
doom全系列
暗黑全系列
f.e.a.r
fifa07
幽灵行动 现代战争1,2
辐射1,2
侠盗猎车 罪恶都市/圣安得力丝
半条命1,2
荣誉勋章联合袭击,血战太平洋
极品飞车8,9
波丝王子 时之砂/王者无双
职业进化足球6/胜利11人10
雷神之锤2,3,4
彩虹6号维加丝,锁定
模拟城市3,4 ,尖峰时刻
swat4
星际争霸
星球大战
无限试驾
上古卷轴
模拟人生2
太袒之旅,不朽王座
古墓丽影传奇
虚拟竞技场2004
战锤40k 黎明攻势
魔兽争霸3,冰峰王座
18轮大卡车
科林迈凯轮拉力
bioshock 2008年度最佳游戏,忘了中文叫什么好象是生化奇兵吧
孤岛危机
雷神战争
最终幻想11
光晕2
nba03
生化危机4
落银城
vr网球3
world in conflict 也是个大坐,想不起来中文名字了
1602 A.D. (32-Bit)
Agatha Christie : And then there were none (32 bit)
Agatha Christie : Murder on the orient express (32 bit)
Aliens versus Predator 2
Americas Army 2.7 (32-bit)
Anno 1701
Age of Empires and the Rise of Rome expansion
Age of Empires II and the Conquerors expansion
Age of Empires III and The WarChiefs expansion
Alice (American McGee’s)
Another World: 15th Anniversary Edition
Ankh II : hearth of Osiris (32-bit)
Armies of Exigo
Atlantis II (32-bit)
Atlantis III (32-bit)
Atlantis IV Evolution (32-bit)
Aura : Fate of the ages (32-bit)
Armed and Dangerous
Arx Fatalis
Blade Runner (32-bit)
Baldur’s Gate (32bit) (Polish version, English should work well too)
Baldur’s Gate: Tales of the Sword Coast (32bit) (Polish version, English should work well too)
Battle for Middle-Earth 1 & 2
Battlefield 2 & Special Forces (Run BF2.exe As Administrator.)
Battlefield 2142(32bit)
Battlefield 2142(64bit) - Same settings used on XP, crashes to desktop at every map change (after a certain period) due to low video card memory (256mb). Disable Areo or set texture settings lower.如果载入失败是因为内存不够
Black and White 2
Blood II The Chosen (It rarely crashes, but this was happening under XP too.)
Broken Sword: The Angel of Death
Brothers in Arms: Road to Hill 30
Call of Cthulhu: Dark Corners of the Earth
Call of Duty & United Offensive
Call of Duty 2 (run cod2mp_s.exe in XP SP2 compability mode; SP fine.)
Call of Duty 2 upgraded to 1.3 works on Home Premium RTM no trouble (32 bit)
Championship Manager 2007
Civilization III (run as administrator, XP SP2 compatibility mode)
Civilization IV (Vista 32/64-bit)
Civ City Rome (32 bit)
Cobra 11 - Nitro (StarForce protection vista-update required)
Command & Conquer: Generals
Commandos: Beyond The Call Of Duty
Company of Heroes (32bit Home Premium) no problems generally.(NB With NVIDIA 8800GTX/GTS GPUs the game crashes when loading Cherbourg level. Needs GPU driver update. ‘Open issue’ with 20/02/07 100.65 forceware drivers)
Condemned - Criminal Origins
Continuum
Counter-Strike 1.6
Counter-Strike Condition Zero
Counter-Strike Source
Crashday (With patch 1.1 + No Intro Fix)
Cricket 07 (Australian version - works on both x86 & x64)
Darwinia
Day of Defeat
Deal or No Deal
Delta Force Black Hawk Down & Team Sabre
Deus Ex
Diablo I
Diablo II - NOTE: For best results, set Compatibility Mode for application to Windows XP SP2 in the shortcut’s properties and run as Administrator. This should allow all features of game to work properly, including LAN and Battle.Net play. If the game takes too long to start up, try disabling Aero Glass (or under compatability disable desktop composition).
Doom 2(Doom95) (Requires DPlay.dll in the game’s directory for doom95 to work properly)
Doom 3 (Requires working OpenGL support)
Doom 3: Resurrection of Evil (Requires working OpenGL support)
Doomsday 3D Engine v1.9.0 Beta 4
Dracula 2 (32-bit) (Win 98 Compatibility Mode)
Dreamfall : the Longest journey (32-bit) : run after installation of Starforce Drivers. Install them form here
Driver (32bit)
Duke Nukem 3D Atomic Edition with all Add-Ons (for Windows Edition; not original 16-bit MS-DOS) (This game works slowly with too low performance if you don’t install the driver of your graphic card manually although Vista automatically recognizes and installs the drivers of your graphic card and DirectX.)
Duke Nukem 3D High Resolution Pack (HRP) (also External Release (XTR)) v1.0
Duke Nukem Manhattan Project
Dungeon Keeper
Dungeon Keeper 2 (32-Bit)
Dynasty warriors 4 hyper
EA Link for EA Games
Elder Scrolls: Oblivion: Runs great on Vista with 1.1 patch
Eve Online Fully working (32-bit)
Evany : Crystal keys II (32-bit)
Everquest
Everquest II
Far Cry (64-bit and 32-bit with v1.4 patch)
Evidence - the last ritual
F.E.A.R (32-Bit).Runs fine in XP SP2 Compatibility
F1 2006 (Win 98/Me Compatibility Mode)
FlatOut 2 (32 bit Home Premium)
Flight Simulator 2004
Flight Simulator X
FBI: Hostage Rescue
F.E.A.R
FIFA 07
FIFA Manager 2007
Football Manager 2007
Freedom Force vs. The Third Reich
Freelancer
Flatout 2 (European with Starforce update)
Ghost Recon: Advanced Warfighter
Gothic 3 (Windows Vista wont allow 2 files to install in system folder(64 bit))
Grand Prix 4
Grand Theft Auto II
Grand Theft Auto III
Grand Theft Auto: San Andreas (32-bit: Functions flawlessly / 64-bit: Problematic when tested on Ultimate Edition. Experiences random freezes and crashes, notably when graphics are set to “Very High” quality).
Grand Theft Auto: Vice City
Guild Wars: All 3 versions ( Prophecies, Factions, Nightfall )
Gun
GunBound WC
Half Life
Half Life 2 & Half Life 2: Episode One
Halo: Combat Evolved(need a patch windows tel you about it)
Halo: Custom Edition(needs a update tho download http://hce.halomaps.org/index.cfm?pg=3&fid=1884)
Heroes 5
Hitman: Blood Money
Hitman: Contracts
Hoyle Card games 2007 works great.
Hoyle Board games 2007 works great.
Hoyle Puzzle games 2007 works great.
Hugo: The Evil Mirror
In The Groove + Impact dancepad
Jack the Reaper
Jade Empire: Special Edition (x86 & x64)
Jazz Jack Rabbit 2
Little Fighter 2 (32 bit)
KISS: Psycho Circus The Nightmare Child
Lara Croft: Tomb Raider Legend
Lego Star Wars II (64-bit)
Lineage II: Chronicle 5 (32-bit) works well!
LOCOMOTION by Chris Sawyer (64-bit)
Max Payne 1.01
Max Payne 2
Medal Of Honor: Allied Assault Installed MOHAA Ver1.1 on 32-bit Ultimate, plays fine with no problems at all, multiplayer untested as yet.
Klotski (and Microsoft Entertainment Pack 1991)
Magic Ball 3
Marvel: Ultimate Alliance (x86 and x64)
Myst III : Exile (32-bit)
Myst IV : Revelation (32-bit)
Myst V : End of Ages (32-bit)
Myth II Soulblighter v1.6 (32 and 64bit)
MU Online (Ultra low FPS)
Need for Speed (32-bit)
Need for Speed III: Hot pursuit
Need for Speed Most Wanted
Neverwinter Nights 2 (32-bit and 64-bit)
Nexuiz
NHL 06
NHL 07
Outrun 2006
Paradise (from Benoit Sokal) (32-bit)
Pariah (With 98/ME Compatibility mode)
Pacific Warriors
Phantasy Star Universe
Prey (Requires working OpenGL support)
Prince of Persia: The Sands of Time
Prince of Persia: The Two Thrones (Starts Windows MCE upon exit?)
Pro Evolution Soccer 6
Psychonauts
Quake 2
Quake 3 Arena
Quake 4 (v1.3) Works. Tested on Vista Enterprise 64-bit and Vista Ultimate 32-bit
Race - The WTCC Game
Ragnarok Online
Rainbow Six: Lockdown
Rainbow Six: Vegas
Return to mysterous Island
Rise of Nations Gold (32 bit)
RollerCoaster Tycoon [With the Loopy Landscape Add-On] (Vista 32-bit)
- Add the “Windows 95〃 compatibility mode for the file “rct.exe”
- Add the “Full control” right to “Everyone” for the folder of RCT and its subfolders.
RollerCoaster Tycoon 2 [Original and all Add-Ons] (Vista 32-bit)
- Add the “Full control” right to “Everyone” for the folder of RCT2 and its subfolders.
RollerCoaster Tycoon 3 [Original and all Add-Ons] (Vista 32-bit)
Rome: Total War
Savage (32-bit)
Schizm : mysterious journey (CD) (32-bit)
Scratches (32-bit) : Update of Starforce drivers NOT needed
Second Sight
SimCity 3000 Unlimited (32-bit)
SimCity 4 and RushHour Expansion (Vista 64-bit)
Soul Reaver 2
Splinter Cell
Splinter Cell: Pandora Tomorrow
Splinter Cell: Chaos Theory
Splinter Cell: Double Agent
Star Wars Galaxies
Star Wars Galactic Battlegrounds and Clone Campaigns
Star Wars Jedi Academy (32bit)
Star Wars Jedi Outcast (32bit)
Star Wars Battlefront 2 (32bit)
Star Wars Knights of the Old Republic 2 (32 bit).Runs fine in XP SP2 Compatibility
Starcraft
Steam (Build: Jan 15 2007, 10:37:59)
Super Collapse! Puzzle Gallery 1.0.8.0
Super Mario Forever (After starting the game, the mouse cursor of Vista still appears on the screen. Ignore it.)
SWAT 4 & The Stetchkov Syndicate (32-bit)
Test Drive Unlimited (if there are problems run as administrator and/or in xp sp2 compatibility mode)
The Amerzone (32-bit) (Win 98 Compatibility Mode)
The Black Mirror (2nd edition, 2CD without Starforce) (32-bit)
The longest journey (32-bit). Official patch here
The Elderscrolls Oblivion (32-bit)
The Sims 2 (32-bit/64-bit)(All expansions pack works!)
The Movies (32-bit)
The Simpsons - Hit & Run (32-bit)
Titan Quest
Tomb Raider I, II; III; The Lost Artefact, Revelation, Chronicles, Angel of darkness : run with unofficials patchs. See this site.
Tomb Raider Legend (32bit)
Tony Hawk’s Pro Skater 4
Top Spin 2 (32 bit) Slow loading but work perfect
Train Simulator (Microsoft) (Vista 32-bit)
Turok: Dinosaur Hunter
Unreal Tournament 1999 Game of the Year Edition
Unreal Tournament 2004 - The text to speech engine switches from the game engine to the one supplied with Vista, if you don’t get voice taunts from other players, check your control panel text to speech voice to make sure it works.
URU : Ages beyond Myst with “The path to the Shell” extension (32-bit)
Vampire the Masquerade: Bloodlines
Warcraft 3 & also The Frozen Throne(With 98/ME Compatibility Mode)
Warhammer Mark of Chaos
Warhammer Dawn Of War 40k (32 Bit)
World of Warcraft - May have issues with Graphics and Sound (Depending on Hardware Installed)
Wolfenstein: Enemy territory 2.60b (Worked perfectly with Ultimate RTM, usin PNY Verto GeForce 6600GT, and nVidia 97.46 forceware for Windows vista)
World Racing 2 (StarForce protection vista-update required)
Worms 4: Mayhem
Worms Armageddon with latest patch (32bit)
Worms World Party
X3 : Reunion
X-Plane v7+ (32bit)
UPDATES
1701 A.D. (32,64-Bit)
18 Wheels of Steel: Across America (32-bit)
18 Wheels of Steel: Pedal To The Metal (Windows XP SP2 Compatibility Mode. Run as Administrator)
18 Wheels of Steel: Haulin’ (Windows XP SP2 Compatibility Mode. Run as Administrator)
Aladdin in Nasira’s Wraak (Dutch)
Aliens versus Predator 2
Age of Mythology and The Titans expansion
Age of Wonders II
Archlord (32-bit and 64-bit)
BioShock (64-bit)
Cold War
Colin McRae - DiRT (32/64-bit)
Colin McRae Rally 2 (32-bit Home Premium)
Commanche 4 (32-bit Home Premium)
Command & Conquer: The First Decade (Tiberium Sun may need to be re-installed)
Command & Conquer: Generals Zero Hour (Run as Administrator)
Command & Conquer: Renegade
Command & Conquer 3: Tiberium Wars(32-bit)
Crysis
Darkstar One (vista ultimate 64bit)Prior to installation, install the tages 5.5signed drivers for vista 64bit: http://www.tagesprotection.com/5.5.htm .After instalation of these drivers, install the game, patch to version 1.3 and run in administrator mode and Xp SP2 compability mode.
Dawn of War: Dark Crusade v1.2 (Vista Ultimate 64-bit)
Deer Avenger 2
Enemy Territory: Quake Wars (32-bit both demo and full game)
Fable: The Lost Chapters (Requires a fix obtained via Windows Update to fix compatibility issues and the latest video drivers or you’ll get black screens during gameplay and cutscene playback; this occurs primarily on nVidia chipsets, although it can be fixed by downloading the nVidia Forceware driver from the nVidia website).
Fallout, Fallout 2, Fallout Tactics (32 bit Home Premium)
F.E.A.R* Extraction Point (expansion) has major problems on all platforms, including XP.
F.E.A.R Combat (Multiplayer
Final Fantasy XI (with Windows-compatible Playonline Viewer)
Garry’s Mod 10 (32/64-bit works)
Ghost Recon: Advanced Warfighter (32/64-bit)
Ghost Recon: Advanced Warfighter 2 (64-bit) (GRAW2 works, but the Ageia PhysX engine may need to be installed with the quiet option)
Global Operations
Halo 2
Half Life 2: Lost Coast
Hitman: Blood Money (Displays errors due to the fact that it cannot locate the DirectX9 files it requires. Will not recognize DirectX10)
Hollywood Mogul 3
Homeworld (Ultimate 32-bit)
Heroes of Might and Magic II- The Succession Wars (Operates fine with no compatiblity changes on Home Premium)
HomeWorld 2 (Home Premium 32-bit)- Works just fine, version 1.0
IGI2: Covert Strike (32-bit)
Jack Nicklaus 6: Golden Bear Challenge (Install XP patch, run in Compatibility Mode XP SP2)
Jerusalem (French) (32-bit). Patch available here
Keepsake (32-bit) (Works after updating the StarForce drivers)
Kill Switch
Kisses (32-bit Home Premium)
Klotski (and Microsoft Entertainment Pack 1991)
Knights and Merchants (run as an administrator 32-bit Home Premium)
Mafia: City of Lost Heaven (32-bit)
Medal of Honor: Airborne (32/64-bit)
Medal of Honor: Pacific Assault (32-bit) Must check “Run this program as an Administrator”
Medieval 2 Total War (32-bit and 64-bit)
Mechwarrior 4 Mercenaries - Must be patched to latest version and run in Windows XP Compatibility Mode as an Administrator (Home Premium 32-bit)
Microsoft Crimson skies (32-bit) Works with GeForce 8 series drivers, whereas older drivers cause a font display bug. Unplayble on hardware mode, though software mode works.
Monkey island III: the curse of Monkey island (32-bit) (Windows 95/98 compatibility mode)
Monkey island IV: Escape from Monkey Island (32-bit)
Nancy Drew: Mystery of the Old Clock (32-bit) - European versions must be run with updated StarForce drivers
Natural Selection 3.2 - Type “gammaramp 0〃 in console to remedy color anomalies, though brightness problems still may occur (32-bit)
NBA Live 2003 (32-bit)
Need for Speed:Road Challenge - Works in software mode on GeForce 8 series and other none glide cards. Hardware mode crashes, though it may be circumvented with a Glide fix such as GlidewrapperdgVoodoo.
Need for Speed Underground
Need for Speed Underground II
Neverwinter Nights (Must update to v1.68)(32-bit)
No One Lives Forever 2 (Ultimate 64-bit)
Oolite 1.68 Test (32-bit)
Overlord
Playboy: The Mansion
Planescape: Torment
Pompei (French) Patch available here (32-bit)
Powerslide
Prey (Requires working OpenGL support)
Prince of Persia: The Sands of Time (Manually run the installer PrinceOfPersiaSetup.exe as an Administrator)
Priston Tale (32-bit)
Rallisport Challenge (32-bit)
Rayman 3:Hoodlum Havoc
Resident Evil 4 - Requires d3dx9_30.dll to be placed in the install folder, the default of which is Capcom/Resident Evil 4 (32-bit)
Runaway I (32-bit)
Runaway II (32-bit) - v1.3 - you must install the patch available here : english version or french version
SafeCracker (32-bit)
Secret Files: Tunguska (32-bit)
Serious Sam 2 - Requires patch 2.068 (64-bit)
Settlers 10th Anniversary (Run in XP Compatibility Mode)
Silverfall
SimCity Societies (32-bit)
Sold Out Baldies
Soldiers - Heroes of World War II (32-bit) Must run in Windows 98/Me Compatibility Mode, even with the official Vista patch
Sonic & Knuckles Collection
Spider-Man (CD-ROM with PC game Kelloggs/Got Milk? version)
S.T.A.L.K.E.R. Shadow of Chernobyl
Starcraft: Brood War
Starsiege Tribes - Requires patch by NoFIX (Ultimate 32-bit)
Star Trek: Legacy (Ultimate 32-bit)
Starsky and Hutch
Star Wars - Empire at War (32-bit/64-bit)
Star Wars Republic Commando (32-bit) GeForce 8 owners must update to the latest drivers
Star Wolves 2
Stubbs the Zombie (Demo) (32-bit)
Syberia I, Syberia II - CD or DVD version (32-bit)
The Moment of Silence (French). This game uses an old version of StarForce protection, currently incompatible with Windows Vista. House of Tales has released an update here
The Movies - Stunts and Special effects Expansion (64 bit)
The Elder Scrolls III: Morrowind (32-bit) Tribunal expansion works. For Bloodmoon expansion see Minor Problem section.
The Sims Vista Home Pre. 32 bit Works fine must check(Run as Administrator)
Titan Quest & Immortal Throne expansion (32-bit/64-bit)
The Typing of the Dead - Run in Win98/ME Compatibility Mode (32-bit)
Thief: Deadly Shadows
Tiger Woods PGA Tour 06, PGA Tour 08 (32-bit/64-bit)TimeShift (64-bit)
Tony Tough (32-bit)
Tony Hawk’s American Wasteland (64-bit)
TrackMania United - Works perfect and does not require the steps for running TrackMania Nations. Very little lag when run with a GeForce 8800GTS (640MB) and 2GB of RAM.
Track Mania Sunrise
TS online (32-bit)
Two Worlds (32-bit, 64-bit)
Tycoon City: New York
Vanguard: Saga of Heroes (32-bit)
Vietcong (32-bit)
Virtua Tennis 3 (32-bit/64-bit)
WarRock - You will need to edit PunkBuster’s default files to prevent any and all problems using PunkBuster on Vista. (32-bit / Does NOT run on 64-bit)
Wheel of Fortune - First Edition (32-bit)
Who Wants to Be a Millionaire - Sports Editon
Wizardry Gold
World in Conflict (32-bit/64-bit)
World of Warcraft, World of Warcraft: Burning Crusade
Worms 2 (Do not run on full screen)
XIII 13 (32-bit Home Premium)
Zdoom
Zoo Tycoon with Dinosaur Digs and Marine Mania expansion packs (32-bit)
Zoo Tycoon 2, Zoo Tycoon 2: Endangered Species 参考技术A 我玩的:
战争行为
C&C3
上古卷轴4
哥特王朝3
暗黑之门:伦敦
变形金刚
X3
太阳帝国的原罪
猎杀潜航4
纪元1701
要塞2
行会2
自由枪骑兵
机甲战士4:雇佣兵
忘记说了,本人系统是ultimate 64 sp1, 自己装的dx9 for vista 参考技术B 泰坦之旅画面精美游戏性强,是继暗黑之后ARPG的巅峰之作,LZ一定要尝试泰坦之旅,否则会遗憾终身的。 参考技术C 使命召唤 4
红色警戒
仙剑 4 参考技术D 彩虹6号维加丝,锁定
模拟城市3,4 ,尖峰时刻
swat4
星际争霸
星球大战
无限试驾
上古卷轴
模拟人生2
太袒之旅,不朽王座
古墓丽影传奇
虚拟竞技场2004
战锤40k 黎明攻势
魔兽争霸3,冰峰王座
18轮大卡车
科林迈凯轮拉力
bioshock 2008年度最佳游戏,忘了中文叫什么好象是生化奇兵吧
孤岛危机
雷神战争
最终幻想11 第5个回答 2008-09-02 富甲天下5
OpenAL 和 Vista:设备始终是“通用软件”
【中文标题】OpenAL 和 Vista:设备始终是“通用软件”【英文标题】:OpenAL and Vista: Device is always 'Generic Software' 【发布时间】:2010-04-26 16:55:55 【问题描述】:我正在编写游戏的音频部分,并且正在使用 OpenAL。我想使用一些扩展,但测试总是失败:
TRACE: AudioManager - Sound device: 'Generic Software'
TRACE: AudioManager - Enabling OpenAL extensions...
TRACE: AudioManager - Compressor support: NO
TRACE: AudioManager - Reverb support: YES
TRACE: AudioManager - Chorus support: NO
TRACE: AudioManager - Distortion support: NO
TRACE: AudioManager - Echo support: NO
TRACE: AudioManager - Flanger support: NO
TRACE: AudioManager - Frequency shifter support: NO
TRACE: AudioManager - Vocal morpher support: NO
TRACE: AudioManager - Pitch shifter support: NO
TRACE: AudioManager - Ring modulator support: NO
TRACE: AudioManager - AutoWAH support: NO
TRACE: AudioManager - Equalizer support: NO
TRACE: AudioManager - EAX Reverb support: YES
这是因为我只得到了Generic Software驱动,它只支持混响和EAX混响。不仅在我的机器上,在其他机器上也是如此。
以下是我如何检测 OpenAL 使用的驱动程序:
ALchar device[256];
ZeroMemory(device, 256);
if (alcIsExtensionPresent(NULL, "ALC_ENUMERATE_ALL_EXT"))
strcpy_s(device, 256, alcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER));
else if (alcIsExtensionPresent(NULL, "ALC_ENUMERATION_EXT"))
strcpy_s(device, 256, alcGetString(NULL, ALC_DEVICE_SPECIFIER));
TRACE_AUDIOMANAGER("Sound device: '%s'", device);
g_System = alcOpenDevice(device);
根据规范,设备说明符应返回两个驱动程序:“通用硬件”和“通用软件”,由 NULL 终止符分隔。
我的声卡是“NVIDIA High Definition Audio”设备,它使用 nvhda32v.sys 驱动程序(版本 1.0.0.63,于 2009 年 11 月 11 日更新)。
为什么 OpenAL 没有检测到我的硬件?
【问题讨论】:
如果 alcGetString() 返回 "Generic Software\0Generic Hardware\0\0" 您的代码将完全忽略第二个 除非它没有。它只返回通用软件。 【参考方案1】:OpenAL 应始终返回默认音频设备,除非您使用的是 Creative 声卡。这些扩展都是特定于广告素材的。这与期望在 NVIDIA 显卡上获得 Intel 特定的 OpenGL 扩展相同。
作为记录,以下是您设置 OpenAL 的方式:
// create a default device
ALCdevice* device = alcOpenDevice("");
if (!device)
LOG_ERROR("Could not create OpenAL device.");
return false;
// context attributes, 2 zeros to terminate
ALint attribs[6] =
0, 0
;
ALCcontext* context = alcCreateContext(device, attribs);
if (!context)
LOG_ERROR("Could not create OpenAL context.");
alcCloseDevice(device);
return false;
if (!alcMakeContextCurrent(context))
LOG_ERROR("Could not enable OpenAL context.");
alcDestroyContext(context);
alcCloseDevice(device);
return false;
LOG_INFO("[OpenAL] Version: %s", alGetString(AL_VERSION));
LOG_INFO("[OpenAL] Vendor: %s", alGetString(AL_VENDOR));
LOG_INFO("[OpenAL] Renderer: %s", alGetString(AL_RENDERER));
【讨论】:
【参考方案2】:你确定要检查下一个字符串,因为alcGetString(NULL, ALC_DEVICE_SPECIFIER)
返回字符串数组,试试这样:
char* devices = (char*)alcGetString(NULL, ALC_DEVICE_SPECIFIER);
while(devices && *devices !=NULL)
ALCdevice* device = alcOpenDevice(devices);
...
...
devices += strlen(devices) + 1; //next device
【讨论】:
【参考方案3】:对于那些仍在寻找获取所有设备的方法的人//除了输出 - 仍然是通用的,适用于输入//
public:int* CHECK_DEVICES_IN(int MAX_DEVICES) int 设备=0; char* 设备[MAX_DEVICES]; 整数检查=0; 而(设备
public:ALchar* DEVICES_IN(int REQUIRED)
ALchar* result="0";
ALchar* device=(ALchar*)alcGetString(NULL,ALC_CAPTURE_DEVICE_SPECIFIER);
int POS=0;
while(device && device!=NULL && strlen(device)>0 && POS<=REQUIRED)
if(POS==REQUIRED)
result=device;
device+=strlen(device)+1;
POS++;
return result;
【讨论】:
【参考方案4】:Vista 上没有“通用硬件”设备:http://connect.creativelabs.com/openal/OpenAL%20Wiki/OpenAL%C2%AE%20and%20Windows%20Vista%E2%84%A2.aspx
干杯!
【讨论】:
请不要发布答案链接 - 如果链接不可用或被移动,则此响应无效。以上是关于vista可用单机游戏的主要内容,如果未能解决你的问题,请参考以下文章
iOS-Google Play 游戏服务的可用性回合制多人游戏
Google Play 游戏服务中的多人游戏 API 将不再可用。如何迁移到 Firebase?