Raised This Month: $ Target: $400
 0% 

Custom Csgo server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
That_Zombie
Junior Member
Join Date: Mar 2023
Old 06-24-2023 , 05:10   Custom Csgo server
Reply With Quote #1

How can i modify the pak01_dir.vpk? I would like to add old agent models, old sound and old playermodel animations to my server and I need more help. And also where can i find old animations, I need to extract them from and older build of csgo?

Last edited by That_Zombie; 07-10-2023 at 09:41. Reason: solved
That_Zombie is offline
Austin
Senior Member
Join Date: Oct 2005
Old 06-24-2023 , 13:53   Re: Custom Csgo server
Reply With Quote #2

Opening listing extracting from vpks is easy.

1) Get GCFScape from here.
https://web.archive.org/web/20191003...index.php?p=26

Note: THAT is the link published on Valves site so I assume it's safe.
https://developer.valvesoftware.com/wiki/GCFScape

And yes version 1.86. from 2006 is the latest version!

Be sure to only open the _dir .vpk files.
If you open one of the non _dir files it will open but appear to be blank.

2) Building your own vpks is easy but tricky.
The example I am going to show is for building L4D2 custom weapons I made. I am using it because I know it all works and is accurate info. and it should work the same for csgo.

And I don't think you can replace the entire vpk set.
I think you would have to build your custom vpk with your custom models in the same paths in your vpk as in the original vpk and then place this vpk into csgo addons folder.

At least this is how I am modifying L4D2 weapons but it should work the same for csgo weapons models and whatever else...

To build you custom vpk follow these directions.

a) Create a folder anywhere on your PC and name it something anything, like
D:\BuildVPK\
The name and location of this folder doesn't matter.

b) In this folder create a shortcut to this exe from your csgo game.

Target
"C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin\vpk.exe"

Start in:
"C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin"

c) Create a folder inside of this folder and give it the name you want for you custom vpk. The name can be anything you want. vpk.exe will use this folder name as the name for your custom vpk.
D:\BuildVPK\ABS_L4D2_Weapons

d) The tricky part.
Look at the vpk file that has the items you want to modify and notice the path from the root in the vpk to the items.
For me modifying L4D2 weapons these weapon scripts were in THIS folder in the vpk.
root/script/<weapon scripts are here>

You have to have this same directory structure in you custom vpk for it to work and have the game use your items instead of the default ones when it loads.

So I created this directory structure and put the modified weapon scripts in this folder to match the path of the games vpk that has them.
D:\BuildVPK\ABS_L4D2_Weapons\scripts\<my custom weapons script files are here>

e) Now go back to your base folder and drag your custom vpk folder, the entire folder, and drop it on that shortcut you made to vpk.exe.

This should create a vpk with the name of your folder and if you did it right the paths in it should match what is in the original vpk. Open it up in GFCScape and take a look to make sure.
Attached Thumbnails
Click image for larger version

Name:	BuildVPK.jpg
Views:	74
Size:	69.2 KB
ID:	201025   Click image for larger version

Name:	CustomWeapons.jpg
Views:	85
Size:	58.4 KB
ID:	201026  

Last edited by Austin; 06-24-2023 at 13:59.
Austin is offline
That_Zombie
Junior Member
Join Date: Mar 2023
Old 06-24-2023 , 15:59   Re: Custom Csgo server
Reply With Quote #3

[QUOTE=Austin;2806368]Opening listing extracting from vpks is easy.

Hi thanks for the answer, i have already packed my .vpk, so its ready. From what i understand i need to drag the custom vpk in the addons folder of my csgo server?

Here is a photo of my root folder so it in good format.
Attached Thumbnails
Click image for larger version

Name:	image.png
Views:	67
Size:	19.6 KB
ID:	201033  
That_Zombie is offline
Austin
Senior Member
Join Date: Oct 2005
Old 06-24-2023 , 17:49   Re: Custom Csgo server
Reply With Quote #4

Yes put it in you addons folder and restart the server but I think I gave you some wrong info.
I was assuming csgo works like l4d2.
I don't think it is going to work.
Austin is offline
That_Zombie
Junior Member
Join Date: Mar 2023
Old 06-25-2023 , 05:42   Re: Custom Csgo server
Reply With Quote #5

I think I know. I need to use cmd to pack the .vpk and replace in the server files
That_Zombie is offline
Austin
Senior Member
Join Date: Oct 2005
Old 06-29-2023 , 15:29   Re: Custom Csgo server
Reply With Quote #6

Quote:
Originally Posted by That_Zombie View Post
I think I know. I need to use cmd to pack the .vpk and replace in the server files
I stated before I don't think you could replace all the main vpk files but now that I think about it why not?

Is this what you are tyring?
Let me know how it goes if so.

You will need sv_pure 0 on the server for others to be able to connect.
Austin is offline
That_Zombie
Junior Member
Join Date: Mar 2023
Old 07-09-2023 , 12:10   Re: Custom Csgo server
Reply With Quote #7

i've managed to add them, but with other method, thanks anyway
That_Zombie is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode