HL2x Custom Maps Created 11 months ago2019-07-16 16:32:34 UTC by Screamernail Screamernail

Created 11 months ago2019-07-16 16:32:34 UTC by Screamernail Screamernail

Posted 11 months ago2019-07-16 16:32:34 UTC Post #342867
I have gotten into modding Half-Life 2 for the original Xbox but it requires compiling a GitHub project. (Something that I can't do)

I seriously hope it'll work with new maps. Someone seemed to do this with ease.
Sorry for hurrying but I don't have enough time for long speeches currently.
Screamernail ScreamernailYour personal Fear
Posted 11 months ago2019-07-16 22:11:40 UTC Post #342869
What in the world is with that Chinese spyware-looking fake GitHub you linked? You might want to do a virus scan or something on your PC if you're getting that instead of proper GitHub - I fixed your link to point to the real one.

Anyway, that's a .NET project, just install VS community edition (make sure .NET tools are selected when you install) and build the project. The app will be in the bin/Debug folder.

Also this should probably be a journal post rather than a thread.
Penguinboy PenguinboyHaha, I died again!
Posted 11 months ago2019-07-17 11:45:01 UTC Post #342871
Also this should probably be a journal post rather than a thread.
Right

I will try Visual Studio, but I can't say that it'll be a success for me. I don't even know if it's free cause the one I had is a trial version. Might check it out.

And sorry for putting out an asian version of GitHub, I just had some issues that time.
Screamernail ScreamernailYour personal Fear
Posted 11 months ago2019-07-19 09:53:34 UTC Post #342877
"I don't even know if it's free cause the one I had is a trial version."
Visual Studio Community Edition is free.
You only need a free Microsoft account to unlock the trial. :P

When I used Visual Studio 2010 Express, it actually had a trial which required an activation key, but all I had to do was create a MS account to get access to the key.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 11 months ago2019-07-19 10:41:24 UTC Post #342878
Well I've gotten it to work yesterday, (Visual Studio and the compiling) but now I need some old Source Tools to make custom maps for it.

The original (OG) Xbox version has an old Source build and I can't run newer maps with the technique I'm using.

HL2XMod

EDIT:
My Play
Screamernail ScreamernailYour personal Fear
Posted 11 months ago2019-07-28 01:05:07 UTC Post #342922
Maybe trying the old Custom Source Tools (cst) - they should make .bsp files for the original version of Half-Life 2 (I think).
Posted 11 months ago2019-07-28 07:54:46 UTC Post #342925
I actually did try those but I don't know if it works on the new hammer. I don't know if the setup is different than the actual ones.
Screamernail ScreamernailYour personal Fear
Posted 11 months ago2019-07-28 08:45:24 UTC Post #342926
I'm sure the setup is different - the tools names are different from memory? cstbsp instead of vbsp or something like that from memory.
Posted 11 months ago2019-07-28 08:55:43 UTC Post #342928
Yes the names are cstbsp and so on.
This is what I'm getting when I compile from hammer.

`

** Executing...
** Command: "C:\Steam\steamapps\common\SourceSDK\bin\cstbsp.exe"
** Parameters: -game "C:\Steam\steamapps\common\Half-Life 2\hl2" "c:\steam\steamapps\sourcemods\happyfaces\maps\garry"

** Executing...
** Command: "C:\Steam\steamapps\common\SourceSDK\bin\cstvis.exe"
** Parameters: -game "C:\Steam\steamapps\common\Half-Life 2\hl2" "c:\steam\steamapps\sourcemods\happyfaces\maps\garry"

** Executing...
** Command: "C:\Steam\steamapps\common\SourceSDK\bin\cstrad.exe"
** Parameters: -game "c:\steam\steamapps\sourcemods\happyfaces\maps\garry"

** Executing...
** Command: Copy File
** Parameters: "c:\steam\steamapps\sourcemods\happyfaces\maps\garry.bsp" "C:\Steam\steamapps\common\Half-Life 2\hl2\maps\garry.bsp"

** Executing...
** Command: "C:\Steam\steamapps\common\Half-Life 2\hl2.exe"
** Parameters: -dev -console -allowdebug -game "C:\Steam\steamapps\common\Half-Life 2\hl2" +map "garry"

`

I'm not good at this but I'm mighty sure this isn't how it's supposed to look like.

EDIT:
I tried again but now it looks like this
`
** Executing...
** Command: "C:\Steam\steamapps\common\SourceSDK\bin\ep1\bin\cstbsp.exe"
** Parameters: -game "C:\Steam\steamapps\common\Half-Life 2\hl2" "c:\steam\steamapps\common\half-life 2\hl2\maps\barrholm"

----- Binary Space Partition and Calculated Subtractive Geometry ----

Custom Source Tools 1.0.1
Built by Adam 'amckern' McKern on (Jul 29 2005)
Please submit Bugs or Ideas to amckern@yahoo.com
CST Based on code by, Valve Software LLC

Common Complie errors can be found at http://www.interlopers.net/errors/errors.php
Place Your Own Information Banner Here - Contact Adam McKern on amckern@yahoo.com for more information

6 threads
Can't find steam app user info.

** Executing...
** Command: "C:\Steam\steamapps\common\SourceSDK\bin\ep1\bin\cstvis.exe"
** Parameters: -fast -game "C:\Steam\steamapps\common\Half-Life 2\hl2" "c:\steam\steamapps\common\half-life 2\hl2\maps\barrholm"

----- Visibility Calculator ----

Custom Source Tools 1.0.1
Built by Adam 'amckern' McKern on (Jul 29 2005)
Please submit Bugs or Ideas to amckern@yahoo.com
CST Based on code by, Valve Software LLC

Common Complie errors can be found at http://www.interlopers.net/errors/errors.php
Place Your Own Information Banner Here - Contact Adam McKern on amckern@yahoo.com for more information

fastvis = true
Can't find steam app user info.

** Executing...
** Command: "C:\Steam\steamapps\common\SourceSDK\bin\ep1\bin\cstrad.exe"
** Parameters: -bounce 2 -noextra -game "C:\Steam\steamapps\common\Half-Life 2\hl2" "c:\steam\steamapps\common\half-life 2\hl2\maps\barrholm"

----- Radiosity Simulator ----

Custom Source Tools 1.0.1
Built by Adam 'amckern' McKern on (Jul 29 2005)
Please submit Bugs or Ideas to amckern@yahoo.com
CST Based on code by, Valve Software LLC

Common Complie errors can be found at http://www.interlopers.net/errors/errors.php
Place Your Own Information Banner Here - Contact Adam McKern on amckern@yahoo.com for more information

6 threads
Can't find steam app user info.

** Executing...
** Command: Copy File
** Parameters: "c:\steam\steamapps\common\half-life 2\hl2\maps\barrholm.bsp" "C:\Steam\steamapps\common\Half-Life 2\hl2\maps\barrholm.bsp"

** Executing...
** Command: "C:\Steam\steamapps\common\Half-Life 2\hl2.exe"
** Parameters: -allowdebug -game "C:\Steam\steamapps\common\Half-Life 2\hl2" +map "barrholm"`

EDIT:
I've done the SteamAppData technique and I'm actually getting somewhere now. Now there's millions of numbers being printed in the process window.
Screamernail ScreamernailYour personal Fear
Posted 11 months ago2019-07-29 14:33:19 UTC Post #342939
Could not start the empty shader (shaderapiempty.dll)!
Screamernail ScreamernailYour personal Fear
Posted 10 months ago2019-09-10 11:42:04 UTC Post #343116
*Bump

Must I really have an old version of hammer just to make maps?
Cause when I try compile a map with the cst, the compiling goes nuts.
Screamernail ScreamernailYour personal Fear
Posted 10 months ago2019-09-12 15:08:03 UTC Post #343120
I don't know much about mapping for Source, let alone mapping for the XBox version of the game (why would you, even), but what I do know is that, at this point in time, you shouldn't be using the CST compile tools, they are way too outdated and may not even work well or at all under the Steampipe system as CST was made long before Steampipe was a thing. So I'd say stick to the stock tools.
The Mad Carrot The Mad CarrotMad Carrot
Posted 10 months ago2019-09-12 15:31:26 UTC Post #343121
I can't use the stock tools as they're too new. I need to make BSP files with the version 19 (The version from 2004-05).
Screamernail ScreamernailYour personal Fear
Posted 6 months ago2019-12-28 05:03:51 UTC Post #343513
Oh, didn't Steam change the registry key where the current user is stored or something like that in the last year? That might why there's an error about not being able to find steam user.

Source code is available at https://downloads.ammahls.com/cst/
Posted 5 months ago2020-01-25 22:15:13 UTC Post #343693
Hello, I was the one who did the the Project HL2XMod years ago. I thought I would get back at this project, and I got some progress.
I got Minerva to launch: https://www.reddit.com/r/HalfLife/comments/et2x71/im_getting_closer_to_porting_minerva_to_the/

Some info:
The Xbox port uses version 19 BSPs.
You can use vbsp, vrad, vvis from SiN Episodes.
For the SDK I use CSMSourceSDKLiteSetup.exe (you can find it on russian forum sites)

There is a special command option for vbsp and vrad (possibly some versions of vvis too): -xbox. It enables mandatory xbox optimizations and possibly uses the correct lighting designed for the Xbox.

The problem is, is that the SiN Episodes compile tools are missing this option, and other versions of BSP compile tools seem to still hold some (or all) of that code, but they compile in BSP version 20 - so it doesn't work for the Xbox.

These versions should be version 19 and they definitely hold the Xbox code (I know this from finding old log files on old forums):
vbsp.exe (Nov 17 2005)
vvis.exe (Sep 7 2005)
vrad.exe SSE (Nov 9 2005)

The problem is hunting them down. I have looked everyone for them, including old, late 2005 builds of Source SDK on various shady and not shady websites and the download links are dead. So unless someone has them, please share!
Posted 5 months ago2020-01-31 23:16:12 UTC Post #343709
I'd be very interested if you manage to track down a 2005 build of the Source SDK as I looked a few years ago and couldn't find anything.
You must be logged in to post a response.