To debug in steam you will need to do the following:
1) Install steam.
2) Run steam at least once and launch half-life and have it load.
3) Place your mod in the directory of the program you launched in step
2 (i.e c:\program files\steam\steamapps\<email addr>\Half-Life) 4) Copy
the "SteamApp.cfg" file (created from the text below) into the programs
directory (i.e c:\program files\steam\steamapps\<email
addr>\Half-Life\SteamApp.cfg 5) Edit "SteamApp.cfg" to point to the
correct username, password, install path and AppID. The AppID value
should be 70 (meaning Half-Life).

 The version entry should be 0 for now, if we ever update the content
for your chosen AppID you will need to increment this number (we will
phase this field out soon).

6) Copy Steam.dll from the base steam directory into the program
directory (i.e copy c:\program files\steam\steam.dll  c:\program
files\steam\steamapps\<email addr>\Half-Life\).

7) Launch hl.exe in the debugger like usual, just add "-steam" to the
command line. If you forget "-steam" you will launch hl.exe using
steam.exe and you will be unable to use the debugger (unless you attach
to the process).


We will be releasing details on customizing the UI soon.

- Alfred



------------ SteamApp.cfg -------- Cut Here
############################################################################
##
# SteamApp.cfg
#
# Steam Client App configuration-override file
#
# This file is read by the Steam code in the Client
# Application, and controls configurable parameters that
# affect only that App.
#
# To be effective it must be placed in the App directory
# (for example, c:[EMAIL PROTECTED]).
#
############################################################################
##
#
# Debug-launch settings
#
# Use these settings when you are running your application directly
# from your debugger (ie, not launching the App from the Steam UI)
# In such cases, you need to tell Steam which application
# you are running and the version you want to use.  Each application has
# an ID number and each version of your application has a version ID
number. # You also need to indicate the username you are running Steam
under. #
# SteamInstallPath should point to the directory where the
corresponding Steam.exe # resides
#
# To do a debug launch:
#
# - do at least one launch from the UI first to ensure the Minimum
Footprint files #   are present
# - leave the Steam UI running
# - copy this file into the App directory
# - fill out the following config parameters
# - copy Steam.dll into the App directory
# - run the app directly or through the debugger, with "-steam" on the
command line #
# You may leave it setup and still do normal launches through the
# Steam UI. However, if you comment out the SteamInstallPath parameter,
# you must also REMOVE Steam.dll from the App directory, or else the
# launch will fail with "The local Steam service is not running".
#
# SteamAppId=0
# SteamAppVersionId=0
# SteamInstallPath=u:\Steam
# SteamAppUser=user

------------ End of SteamApp.cfg --------




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to