游戏开发论坛

 找回密码
 立即注册
搜索
查看: 6007|回复: 5

Half Life 2 Source Code Compile Guide (zz),Half Life 2 Source Code Compile

[复制链接]

4

主题

23

帖子

23

积分

注册会员

Rank: 2

积分
23
发表于 2003-10-6 20:10:00 | 显示全部楼层 |阅读模式
·¢ÐÅÈË: iji (ÒÁ¼ª), ÐÅÇø: GAME_Designer
±ê  Ìâ: Half Life 2 Source Code Compile Guide (zz)
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Oct  6 19:41:13 2003), תÐÅ


HOW TO COMPILE A WORKING HL2

Ok. I've seen that many of you desperatly want to compile your own HL2. Now you
can. Follow these instructions and you'll be on your way to having your very
own hl2.exe and other files.

Keep in mind that compiling takes A LONG TIME, so you should do this before
going to sleep at night.

Ok, here we go:

--> Note: You should already have Visual Studio 6 either on CD or on the comp.

---------------------------
Downloading the Right Stuff
---------------------------

1. Download the sources from somewhere. Theyre all over the internet.
2. Download mss32.dll, and hl2_tree.zip from somewhere as well. You'll notice
that these files are a lot more popular.

These files are all hosted by people in channels like #halflife2 on efnet and
quakenet. They are easy to find.

3. Download Visual Studio 6 Service Pack 5 from:
http://msdn.microsoft.com/vstudio/d...sp5/sp5_en.aspx
4. Download the Processor Pack from:
http://msdn.microsoft.com/vstudio/d...k/download.aspx

----------
Installing
----------

1. Unzip your Half-Life 2 source code to a folder in your C root. (ex. C:\HL2)
2. Unzip hl2_tree.zip to your desktop for now. (It'll be moved later)
3. Install Visual Studio 6 if you haven't already.
4. Install Visual Studio 5 Service Pack 5. Select no when asked to reboot.
5. Install the Processor Pack.
6. Manually reboot.

---------
Compiling
---------

1. Press the start button and select "Run...".
2. Type "cmd" on Windows NT/2000/XP/2K3 or "command" on Windows 95/98/98SE/ME.
3. Type "cd " for example "cd c:\HL2".
4. Type "cd src_main" to go into the main sources directory.
5. Now, type "build_hl2.bat".

This will take A REALLY LONG TIME... Best is to leave it running over night.
If you did it right, you should now have a bunch of new files and folders in
your main HL2 Directory. (Instead of just "src_main")

----------------
Preparing to Run
----------------

1. Move the mss32.dll to /bin (ex. C:\HL2\bin)
2. Move all of the extracted folders from hl2_tree.zip into /hl2
(ex. C:\HL2\hl2)

--------
Starting
--------

1. Now comes the fun part. Double click on the "hl2.exe" in the main
Half-Life 2 dir.

If you did everything correctly, you shouldn't crash... If you did crash
though, make sure that you did the &quotreparing to Run" step.. or try again

You should now be at a screen with a brick wall. How exciting...

2. Press the ~ key on your keyboard (on the left of the number "1" key)
3. Now type "map test"

Note: You will not be able to see what you type!! This is a known bug since
lots of the HL2 files are missing. There ARE fixes available for this! Look
around, you'll find em.

If you did it right, you should now be ingame. Move around with the mouse. You
cannot use your keyboard to move around because of more bugs. There are fixes
for this too. Look around!

4. Once you're bored of the brand new and revolutionary Source engine ......
press the "~" key again, and type "quit"

The game will quit and now you can go make maps and start dling more hacks
which let you play multiplayer, etc.

HAVE FUN!  


--

¡ù ÐÞ¸Ä:¡¤iji ÓÚ Oct  6 19:41:39 Ð޸ı¾ÎÄ¡¤[FROM:   61.171.42.128]
¡ù À´Ô´:¡¤BBS ˮľÇ廪վ smth.org¡¤[FROM: 61.171.42.128]
,·¢ÐÅÈË: iji (ÒÁ¼ª), ÐÅÇø: GAME_Designer
±ê  Ìâ: Half Life 2 Source Code Compile Guide (zz)
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Oct  6 19:41:13 2003), תÐÅ


HOW TO COMPILE A WORKING HL2

Ok. I've seen that many of you desperatly want to compile your own HL2. Now you
can. Follow these instructions and you'll be on your way to having your very
own hl2.exe and other files.

Keep in mind that compiling takes A LONG TIME, so you should do this before
going to sleep at night.

Ok, here we go:

--> Note: You should already have Visual Studio 6 either on CD or on the comp.

---------------------------
Downloading the Right Stuff
---------------------------

1. Download the sources from somewhere. Theyre all over the internet.
2. Download mss32.dll, and hl2_tree.zip from somewhere as well. You'll notice
that these files are a lot more popular.

These files are all hosted by people in channels like #halflife2 on efnet and
quakenet. They are easy to find.

3. Download Visual Studio 6 Service Pack 5 from:
http://msdn.microsoft.com/vstudio/d...sp5/sp5_en.aspx
4. Download the Processor Pack from:
http://msdn.microsoft.com/vstudio/d...k/download.aspx

----------
Installing
----------

1. Unzip your Half-Life 2 source code to a folder in your C root. (ex. C:\HL2)
2. Unzip hl2_tree.zip to your desktop for now. (It'll be moved later)
3. Install Visual Studio 6 if you haven't already.
4. Install Visual Studio 5 Service Pack 5. Select no when asked to reboot.
5. Install the Processor Pack.
6. Manually reboot.

---------
Compiling
---------

1. Press the start button and select "Run...".
2. Type "cmd" on Windows NT/2000/XP/2K3 or "command" on Windows 95/98/98SE/ME.
3. Type "cd " for example "cd c:\HL2".
4. Type "cd src_main" to go into the main sources directory.
5. Now, type "build_hl2.bat".

This will take A REALLY LONG TIME... Best is to leave it running over night.
If you did it right, you should now have a bunch of new files and folders in
your main HL2 Directory. (Instead of just "src_main")

----------------
Preparing to Run
----------------

1. Move the mss32.dll to /bin (ex. C:\HL2\bin)
2. Move all of the extracted folders from hl2_tree.zip into /hl2
(ex. C:\HL2\hl2)

--------
Starting
--------

1. Now comes the fun part. Double click on the "hl2.exe" in the main
Half-Life 2 dir.

If you did everything correctly, you shouldn't crash... If you did crash
though, make sure that you did the "Preparing to Run" step.. or try again

You should now be at a screen with a brick wall. How exciting...

2. Press the ~ key on your keyboard (on the left of the number "1" key)
3. Now type "map test"

Note: You will not be able to see what you type!! This is a known bug since
lots of the HL2 files are missing. There ARE fixes available for this! Look
around, you'll find em.

If you did it right, you should now be ingame. Move around with the mouse. You
cannot use your keyboard to move around because of more bugs. There are fixes
for this too. Look around!

4. Once you're bored of the brand new and revolutionary Source engine ......
press the "~" key again, and type "quit"

The game will quit and now you can go make maps and start dling more hacks
which let you play multiplayer, etc.

HAVE FUN!  


--

¡ù ÐÞ¸Ä:¡¤iji ÓÚ Oct  6 19:41:39 Ð޸ı¾ÎÄ¡¤[FROM:   61.171.42.128]
¡ù À´Ô´:¡¤BBS ˮľÇ廪վ smth.org¡¤[FROM: 61.171.42.128]

12

主题

67

帖子

67

积分

注册会员

Rank: 2

积分
67
QQ
发表于 2003-10-6 20:12:00 | 显示全部楼层

Re:Half Life 2 Source Code Compile Guide (zz),Half Life 2 Source Code Compi

好~~!抢先看咯~~

0

主题

29

帖子

37

积分

注册会员

Rank: 2

积分
37
发表于 2003-10-6 20:22:00 | 显示全部楼层

Re:Half Life 2 Source Code Compile Guide (zz),Half Life 2 Source Code Compi

good

40

主题

211

帖子

225

积分

中级会员

Rank: 3Rank: 3

积分
225
发表于 2003-10-6 20:35:00 | 显示全部楼层

Re:Half Life 2 Source Code Compile Guide (zz),Half Life 2 Source Code Compi

谢了··呵呵~贴了两次:)

5

主题

66

帖子

75

积分

注册会员

Rank: 2

积分
75
发表于 2003-10-6 20:51:00 | 显示全部楼层

Re:Half Life 2 Source Code Compile Guide (zz),Half Life 2 Source Code Compi

so detailed.thanks a lot!

2

主题

20

帖子

28

积分

注册会员

Rank: 2

积分
28
发表于 2003-10-6 20:56:00 | 显示全部楼层

Re:Half Life 2 Source Code Compile Guide (zz),Half Life 2 Source Code Compi

2. Download mss32.dll, and hl2_tree.zip from somewhere as well. You'll notice
that these files are a lot more popular.

这2个干什么的?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-5-11 03:40

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表