wisp-gg / issue-tracker

0 stars 0 forks source link

Fastdl cs 1.6 sincronized archive .wad #36

Open andre2843 opened 2 months ago

andre2843 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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