Portal assets in Portal 2 Mod

Avatar
spongylover123
944 Posts
Posted Feb 25, 2012
In the mod, I need to use portal or shared source assets.
Unfortunately, VPK mods can't mount GCFs, so is there a work around,
I'm not extracting the whole gcf.
Some files can't be extracted by gcfscape.
And there is too much.
Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Feb 26, 2012
Replied 11 hours later
Is this meant to be a question or a poem? I cannot determine reason for thread...
Avatar
Lpfreaky90
2,842 Posts
Posted Feb 26, 2012
Replied 1 hour later
Well if I understand properly:
You want to use some portal 1 files in your portal 2 mod.

What you wanted to do is include the portal 1 gcf's in a vpk for your mod? o_O
I'd really go for extracting and just copying the files I need. It's a bit more work, but copying the entire gcf of portal 1? I think valve won't be happy with that and the donwloaders of your mod won't be happy with it either, your download will be huge o_O.

Avatar
BEARD!
169 Posts
Posted Feb 26, 2012
Replied 45 minutes later
Perhaps making your mod a sourcemod would work? From the wiki, it looks like using the right Gameinfo.txt would mean you could mod Portal 2 and load the Portal content too. (At the bottom of the link, there's an example showing how to mod HL2 Ep 2 and include Portal content.)
Avatar
Lpfreaky90
2,842 Posts
Posted Feb 26, 2012
Replied 32 minutes later

BEARD! wrote:
Perhaps making your mod a sourcemod would work? From the wiki, it looks like using the right Gameinfo.txt would mean you could mod Portal 2 and load the Portal content too. (At the bottom of the link, there's an example showing how to mod HL2 Ep 2 and include Portal content.)

That's a very nice idea indeed! I totally forgot that option. One small issue with it though. Some people don't own portal 1 :sad: (even though it's been free more then once!) So unless you want to import a hell of a lot different things from portal 1 I'd just copy the files I needed in the mod :wink:

Avatar
spongylover123
944 Posts
Posted Feb 26, 2012
Replied 7 hours later
I'll try to port the important assets.
P.S The GAMEINFO.txt doesn't work with gcf if you're working with a vpk mod and vise versa. That's why portal 2 doesn't have a gcf, instead a ncf, which won't work.
Avatar
reepblue
894 Posts
Posted Feb 26, 2012
Replied 18 minutes later
Keep in mind, some of the models from Portal are not compatible in the Portal 2 engine. Your game will crash on map load.

Materials should work tho, but you may need to edit them vmt wise a bit.

Advertisement
Registered users don’t see ads! Register now!
Avatar
spongylover123
944 Posts
Posted Feb 26, 2012
Replied 23 minutes later

reepblue wrote:
Keep in mind, some of the models from Portal are not compatible in the Portal 2 engine. Your game will crash on map load.

Materials should work tho, but you may need to edit them vmt wise a bit.

I'm just gonna port some materials, mostly the walls and stuff like that. Some Models.
I'll just decompile and recompile them. Luckily, they are decompileable.