엔진 작동 방식을 더 잘 이해하기 위해 오픈 소스 릴리스에서 Doom 3을 빌드하고 실행하려고합니다. 불행히도 내가 만든 바이너리에서 게임을 실행할 수 없습니다. 나는 단지 콘솔을 얻었지만 실제 게임을 실행할 수는 없습니다.
여기 내가 한 일이 있습니다.
- 게임 저장소에서 소스 코드를 다운로드
- DirectX SDK 다운로드 및 설치
- Steam에서 Doom 3 구매, 다운로드 및 설치
- VS2010 SP1을 사용하여 새 폴더에서 솔루션을 엽니 다.
- 프로젝트 구축
- 그것을 달아
디버그 설정에서 기본적으로 Doom 솔루션은 기본 steam doom3 설치 경로를 참조하도록 명령 행을 설정합니다. 이것은 vstudio에서 프로젝트를 실행하는 데 사용되는 기본 명령 줄 인수입니다.
+ set fs_basepath "C : \ Program Files (x86) \ Steam \ steamapps \ common \ doom 3"+ set com_allowConsole 1 + set si_pure 0
그렇게하면 콘솔이 다음 로그와 함께 열립니다.
DOOM 1.3.1.1304 win-x86 Jan 23 2012 00:50:27
1596 MHz Intel CPU with MMX & SSE & SSE2 & SSE3 & HTT
8176 MB System Memory
0 MB Video Memory
Winsock Initialized
Found interface: {A3B0D223-3776-4D39-B7AD-9053DDB2E8D5} Broadcom NetLink (TM) Gigabit Ethernet - 0.0.0.0 NULL netmask - skipped
Found interface: {8FBA30BE-8F70-40B5-8C79-C32E8E1E74B8} Bluetooth Device (Personal Area Network) - 0.0.0.0 NULL netmask - skipped
Found interface: {80300E42-A240-45A3-97C5-261C0ED3B93B} Intel(R) WiFi Link 5300 AGN - 192.168.1.111/255.255.255.0
Sys_InitNetworking: adding loopback interface
doom using MMX & SSE & SSE2 & SSE3 for SIMD processing
enabled Flush-To-Zero mode
enabled Denormals-Are-Zero mode
------ Initializing File System ------
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game00.pk4 with checksum 0x29cdb978
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game01.pk4 with checksum 0x51c6981f
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game02.pk4 with checksum 0xf3ec6f7
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game03.pk4 with checksum 0x5d4230ea
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak000.pk4 with checksum 0x28d208f1
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak001.pk4 with checksum 0x40244be0
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak003.pk4 with checksum 0xcd79d028
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak005.pk4 with checksum 0x8ffc3621
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak006.pk4 with checksum 0x95b65ab
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak007.pk4 with checksum 0x666bdb3c
Loaded pk4 C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak008.pk4 with checksum 0x23ae5993
Current search path:
C:\Program Files (x86)\Steam\steamapps\common\doom 3/base
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak008.pk4 (3 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak007.pk4 (38 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak006.pk4 (48 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak005.pk4 (63 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak004.pk4 (5137 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak003.pk4 (4676 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak002.pk4 (6120 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak001.pk4 (8972 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\pak000.pk4 (2698 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game03.pk4 (2 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game02.pk4 (2 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game01.pk4 (2 files)
C:\Program Files (x86)\Steam\steamapps\common\doom 3\base\game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5206 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5206 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
game using MMX & SSE & SSE2 & SSE3 for SIMD processing
enabled Flush-To-Zero mode
enabled Denormals-Are-Zero mode
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Jan 23 2012
Initializing event system
...473 event definitions
Initializing class hierarchy
...142 classes, 191092 bytes for event callbacks
Initializing scripts
Compiled 'weapon_pistol::Raise': 3091.7 ms
---------- Compile stats ----------
Memory usage:
Strings: 79, 9648 bytes
Statements: 67875, 1357500 bytes
Functions: 2109, 250532 bytes
Variables: 147376 bytes
Mem used: 2476344 bytes
Static data: 2277552 bytes
Allocated: 3281600 bytes
Thread size: 7068 bytes
...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
WARNING: idChoiceWindow::InitVars: gui 'guis/mainmenu.gui' window 'SNDBPrimary' references undefined cvar 's_driver'
session initialized
--------------------------------------
--- Common Initialization Complete ---
------------- Warnings ---------------
during DOOM 3 initialization...
WARNING: idChoiceWindow::InitVars: gui 'guis/mainmenu.gui' window 'SNDBPrimary' references undefined cvar 's_driver'
1 warnings
Type 'help' for dedicated server info.
내가받는 경고가 문제인지 아니면 다른 것이 있는지 모르겠습니다. 또한 이것은 사용되는 구성이 "전용 릴리스"인 경우이지만 "전용 디버그"로 시도했습니다. "전용"버전은 OpenAL을 사용하지 않지만 다른 차이점이 있습니까?
내 주요 질문은 : 소스에서 실행되도록하는 방법은 무엇입니까?