bugdone / headshotbox

https://headshotbox.github.io
MIT License
163 stars 25 forks source link

Multiple demo locations #175

Open ajohnsen opened 8 years ago

ajohnsen commented 8 years ago

Add possibility to add multiple csgo demo folder locations. I would love this because i keep some demos separated by service (MM/FACEIT/ESEA)

The stats gui already have a button to filter by folder right(?)

Engoni commented 7 years ago

I would love to have this as well, have a lot of demos now.

bugdone commented 7 years ago

You have them on different drives?

ajohnsen commented 7 years ago

At least i have them on different drives.

Engoni commented 7 years ago

I would like to have them on different drives, its a pain to have to move my matchmaking replays to a different drive every match, I have CSGO installed on an ssd, so I don't want to have all the replays there as well.

OT: I would also like to have a way to skip the warmup on highlights, and be able to watch my highlights from the pov of the enemy, like csgo demo manager have. What would also be nice is to have a way to have auto director only spectate your own team. Keep up the good work!

simbee commented 7 years ago

This would be a nice feature!

xChr11s commented 7 years ago

I would love to see this is in a future update. Hope you can implement it !

Synt3x commented 6 years ago

In https://github.com/bugdone/headshotbox/issues/214 @bugdone said that headshotbox does recursively search. You can use symbolic link to connect different folder to the "demo folder". Until headshotbox can manage multiple demo location.

Here is some guides: Win: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink Linux: https://www.computerhope.com/unix/uln.htm

I know this is a old issue, but some other might run into this problem.

SenorGocer commented 4 years ago

2020 here, but since I came across the same issue, (and so will others), I'll post a solution to that, so our lovely devs can focus on other things. Just as @Synt3x mentioned, hsbox makes good use of symbolic links.

So, if you want to use multiple demo locations:

  1. Determine your master folder
  2. Enter the path of the master folder into your hsbox config
  3. Create subfolders or parse demos directly in that folder
  4. For every additional "location", create a symbolic link:
    • Open CMD
    • mklink /j "newLocationPath" "sourceLocationPath"

In my case it would look something like this: I have D:\FILES\CSGO Replays entered as my demo folder path. The folder "Current Demos" on my D drive links to my main CSGO replays folder on my C drive. Achieved by using this command: mklink /j "D:\FILES\CSGO Replays\Current Demos" "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\replays" exmpl