Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastdl cs 1.6 sincronized archive .wad #36

Open
andre2843 opened this issue Aug 11, 2024 · 2 comments
Open

Fastdl cs 1.6 sincronized archive .wad #36

andre2843 opened this issue Aug 11, 2024 · 2 comments

Comments

@andre2843
Copy link

Describe the bug

Hi

I need help with fastdownloading counter strike 1.6.There are some files inside the cstrike extension .wad folder.
Files to be synced:

My issue is that I can't send the files within the 'root' directory, which is 'cstrike', to the fastdownload folder even after adding the 'wad' extension to the file. I tested this code in one of my test projects and it turned out like this:

location ~ \.(gz|wad)$ {
    allow all;
}

location ~ /(gfx) {
    location ~ \.(bmp|tga)$ {
        allow all;
    }

    deny all;
}

location ~ /(maps) {
    location ~ \.(bsp|res|txt)$ {
        allow all;
    }

    deny all;
}

location ~ /(models) {
    location ~ \.(mdl)$ {
        allow all;
    }

    deny all;
}

location ~ /(overviews) {
    location ~ \.(bmp|txt)$ {
        allow all;
    }

    deny all;
}

location ~ /(sound) {
    location ~ \.(mp3|txt|wav)$ {
        allow all;
    }

    deny all;
}

location ~ /(sprites) {
    location ~ \.(spr|tga|txt)$ {
        allow all;
    }

    deny all;
}

Is there a way to achieve a similar behavior? I'm facing this issue only with this specific 'wad' file, which needs to go to the fastdownload because Counter-Strike 1.6 and Half-Life use these files, which can include custom maps.

my config actual cs 1.6 in panel
{
"appid": 90,
"root": "cstrike",
"fastdl": {
"algorithm": "none",
"folders": {
"maps": true,
"models": true,
"overviews": true,
"sound": true,
"sprites": true,
"gfx": true
},
"extensions": {
"mdl": true,
"wav": true,
"mp3": true,
"bsp": true,
"txt": true,
"spr": true,
"bmp": true,
"tga": true,
"wad": true
}
}
}

Expected Behavior

Fastdl sincronized archives .wad

Actual Behavior

Not sincronized archives fastdl .wad

Steps to Reproduce

Fastdl wisp not sincronized archives cs 1.6 .wad

Browser Details

Chrome

Operating System

Windows 11

Optional additional information

Fastdl wisp not sincronized archives cs 1.6 .wad
@pedrotski
Copy link

If you send custom .wad files from root, doesn't it break the client's game? What exactly do you need to send .wads for? Do you have an example?

@andre2843
Copy link
Author

Many of the GoldSrc maps that are made by the community use .wad which are the textures of the map externally that are automatically downloaded, so it is necessary that they are in the fastdownload, here are some examples of maps that use .wad:

ze_atix_v3_nd
ze_snow_2_dp
ze_coffeelobby_secret_room_v2

It's not a problem that just happens to me:

https://discord.com/channels/589788494524579850/749570444734103584/808697712639475722

In addition to not working downloading files with gzip, it only works when using this configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants