halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6] When downloading maps with fastdownload, files without path in the *.res file are created as folders in cstrike_download.

Open Krapfenmann opened this issue 13 years ago • 14 comments

When downloading a custom map with valid *.res file, the Game will only download files with a path named in the *.res file of the map.

For example:

*.wad files are mostly stored at the standart game location ("cstrike"). This is a part of the res file for the custom map: de_plaka:


// res file - de_plaka de_plaka.wad decals.wad gfx/env/plakaup.tga gfx/env/plakadn.tga gfx/env/plakalf.tga gfx/env/plakart.tga gfx/env/plakaft.tga gfx/env/plakabk.tga models/de_plaka/plaka_pillar.mdl models/de_plaka/plaka_tree1.mdl


Then a folder with the name "de_plaka.wad" will be created instead of the true *.wad file. This folder is empty. So the map will NOT be playable for the client because of the missing texture file and the game crashes!

This also works with other files like *.txt as long as it does not have a path!

Here you can see that: cstrike_downloads_fastdl_creates_folders

Tried to write it like this:

/de_plaka.wad

,into the *.res file but it also did not work. Then nothing will be created, no file, no folder.

Someone on the AMXmod forums confirmed that and had the same problem.

Krapfenmann avatar Feb 16 '13 19:02 Krapfenmann

Could yo post the IP of a server offering content like this so I can debug it please.

alfred-valve avatar Feb 16 '13 20:02 alfred-valve

Here's one: 68.232.164.111:27015

current map is de_apex, resource file is:

----------------- begin ////////////////////////////////////////////////////////// sticky.wad gfx/env/tornskyup.tga gfx/env/tornskydn.tga gfx/env/tornskylf.tga gfx/env/tornskyrt.tga gfx/env/tornskyft.tga gfx/env/tornskybk.tga

models/props/truck_large-brown.mdl models/props/tree_palm.mdl models/props/bag_food.mdl

sprites/flare1.spr ---------------- end

When you connect to the server it will fail, but create an empty folder as cstrike_downloads\sticky.wad\

ghost avatar Feb 16 '13 20:02 ghost

Cheers, I think this is a dupe of #160.

alfred-valve avatar Feb 16 '13 21:02 alfred-valve

Indeed... all we want is a patch. :-) You could close 3 or 4 of these tickets with a single patch. Win, win!! :-)

Thx!!

ghost avatar Feb 16 '13 21:02 ghost

Were having this problem here:

84.201.16.221:27015

EDIT: Oh sorry ... didnt see that already someone posted!

Krapfenmann avatar Feb 16 '13 21:02 Krapfenmann

Bug found and fixed, thanks guys.

alfred-valve avatar Feb 16 '13 23:02 alfred-valve

Nice! =)

Krapfenmann avatar Feb 17 '13 00:02 Krapfenmann

This bug still seems to exist if the downloaded WAD name has uppercase letters (specifically de_nifan_LG.wad). The empty folder created on the Windows file system is cstrike_downloads\de_nifan_lg.wad\ and of course the client reports the big white dialog box.

ghost avatar Feb 21 '13 18:02 ghost

Got the ip of a server that reproduces this?

alfred-valve avatar Feb 21 '13 18:02 alfred-valve

68.232.164.111:27015 give me 2 secs to switch maps to de_nifan

Just tested with the latest Beta updates and now the clients hang (Not Responding) while displaying that it is downloading "de_nifan_lg.wad" when the actual file name is de_nifan_LG.wad

Client info: Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 17:09:07 Feb 18 2013 (5961)

ghost avatar Feb 21 '13 18:02 ghost

Also having the same problems as before. still does not work?

84.201.16.6:27015 - It'sstill the same problem.

Could not open ngtuscan.wad and clients do not receive them even when it's standing in the res.? Im confused.

EDIT: Its also on our Warserver with vanilla CS 1.6: 84.201.16.221:27015

Krapfenmann avatar Feb 21 '13 20:02 Krapfenmann

Seems this issue is back in the new steam updates.

Kellsya avatar Feb 21 '15 15:02 Kellsya

I got the same problem with wad. I read all others topics about that from here but nothing to fix. In May, i have released a map without problems .. but now i get that error and without manual copy the .wad in cstrike.. other players will get crash. Please fix that.. or mapping for 1.6 will drop low.. @ srry for poor engish.

darcadarca avatar Aug 15 '15 06:08 darcadarca

Still same issue (No fastdownload set. Did not try CS 1.6, I run Half-Life). Using hlds downloaded via steamcmd.

FreeSlave avatar Feb 19 '16 21:02 FreeSlave