Using HL2's ghost mod on portal
7 years ago
Indiana, USA
Silquetoast
She/Her, They/Them
7 years ago

I've tried to do it myself but failed horribly.

I figured this would be easy since Source Unpack and the ghosting mod are both source mods. I tried changing the gameinfo.txt to be like Source Unpacks(hoping that then it would open it as portal and not hl2) but that didn't work. Then I tried copying PackScience's gameinfo.txt from Portal Elevators just to see what would happen, and then it started crashing.

I don't have any idea what I'm doing. Is there a place I can go to learn how to do this stuff? Or does somebody want to tell me how to do it? (I'd rather learn it but both a solution and resources to learn about it would be nice :D )

If the ghost mod on Portal is impossible, how can I get just the timer onto Portal?

Indiana, USA
Silquetoast
She/Her, They/Them
7 years ago

I forgot to say that I also copied the portal file (.../SourceUnpack/portal) into the ghost mod dir where it would be like in the source unpack file. My logic behind that was that maybe I could copy all that and then all I need would be in there, then I could make a .bat file to launch the game with the "-game portal" parameter like Source Unpack does. The problem that I ran into, though, is that there is no hl2.exe to launch with that parameter. A little bit of Googling taught me that gameinfo.txt is what tells it where to launch the game from and stuff(I think?) and that's why I was fucking with the gameinfo.txt earlier.

Edited by the author 7 years ago
French Southern Territories

All the documentation is here : https://developer.valvesoftware.com/wiki/SDK_Docs I recommend you to also look at the code of ghosting mod. Finally, I don't think just copy-pasting files would work. Ghosting Mod doesn't work with Portal.

Indiana, USA
Silquetoast
She/Her, They/Them
7 years ago

What file actually does the ghosting/timer stuff so I can look at the mod's code? From looking at all the files I can get a good understanding of what everything does but nothing stands out as a file related to the mod

French Southern Territories

I don't know, ask Gocnak

Game stats
Followers
6,451
Runs
16,057
Players
4,173
Latest news
Audio requirements

Starting today, runs that require video proof (top 25) and runs beyond that where video is the only form of proof, now require audio, as recording audio for only the game is now a native OBS feature.

1 month ago