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

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

Closed
Krapfenmann opened this issue Feb 16, 2013 · 15 comments

Comments

@Krapfenmann
Copy link

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.

@ghost ghost assigned alfred-valve Feb 16, 2013
@alfred-valve
Copy link
Contributor

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

@ghost
Copy link

ghost commented Feb 16, 2013

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\

@alfred-valve
Copy link
Contributor

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

@ghost
Copy link

ghost commented Feb 16, 2013

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

Thx!!

@Krapfenmann
Copy link
Author

Were having this problem here:

84.201.16.221:27015

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

@alfred-valve
Copy link
Contributor

Bug found and fixed, thanks guys.

@Krapfenmann
Copy link
Author

Nice! =)

@ghost
Copy link

ghost commented Feb 21, 2013

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.

@alfred-valve
Copy link
Contributor

Got the ip of a server that reproduces this?

@ghost
Copy link

ghost commented Feb 21, 2013

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)

@Krapfenmann
Copy link
Author

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

@Kellsya
Copy link

Kellsya commented Feb 21, 2015

Seems this issue is back in the new steam updates.

@darcadarca
Copy link

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.

@FreeSlave
Copy link

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

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

No branches or pull requests

6 participants
@Kellsya @alfred-valve @Krapfenmann @FreeSlave @darcadarca and others