microsoft / DirectX-Graphics-Samples

This repo contains the DirectX Graphics samples that demonstrate how to build graphics intensive applications on Windows.
MIT License
5.88k stars 2k forks source link

I cannot download that DirectX-Graphics-Samples #808

Open mandaxyzw opened 1 year ago

mandaxyzw commented 1 year ago

Failed normal Download ZIP

When I click the [<> Code] button and "Download ZIP", then I got a corrupted file (Windows cannot open the folder). Note that I repeated the same process so many times since many months ago because DirectX 12 is very important, but still failed. I tried 7-Zip to force extract but there are a lot of missing files then. zip

Failed when using git clone

The latest percentage I remember stuck on 27% (500 MB+), because it's too slow, not normal, but when I came back then it's suddenly 100% (failed). The reason I download from Linux is the normal Download ZIP from Windows didn't work, and I was hoping that it will work on Linux but it doesn't work. linux

Questions

Is it possible to fix that problem? Should the administrator reupload the DirectX Samples? Or should I wait for the release of DirectX 13 because it's impossible to learn DirectX 12?

I asked the question in this link but a community expert said that the issue is more related to GitHub and my machine: https://learn.microsoft.com/en-us/answers/questions/1112283/how-to-use-the-d3d12-raytracing-fallback-layer.html

walbourn commented 1 year ago

The ZIP file download is generated by GitHub and is not uploaded by anyone. The fact that git clone is failing as well seems to imply the problem is related to your network connection.

Are you able to clone or download any other repo?

mandaxyzw commented 1 year ago

I am able to download many other repos, such as Path Tracing, and many GitHub repos. But this DirectX 12 Samples is the only repo I cannot download.

Maybe I will use other network to re-try to download, on other computer. I tried to download on my phone and it's faster than on my computer, and can reach more percentage, that's weird, but I didn't finish it yet, maybe the total size exceeds 500 MB (I'm using mobile data).

I will come back to tell if I can download with other network other than my laptop computer.

mandaxyzw commented 1 year ago

I still cannot open the downloaded .zip file even with my phone. I can download it but I cannot open. IMG_20221223_103451 Corrupted

So please fix that problem, I'm sure I'm not the only one facing the same problem, or I'm just a very rare advanced programmer that needs advanced tools like I explained in the link. Maybe I should wait for the release of DirectX 13 next year?

Note: If I force extract the corrupted downloaded .zip file with 7-Zip then there are a lot of missing files, in a folder there should be 6 sub-folders but there are only 3 sub-folders from the corrupted .zip file. It's just an example.

WonskuisYu commented 1 year ago

i meet the same issue too.

walbourn commented 4 months ago

The ZIP file is created by GitHub. Do you have the same problem with other repositories?