Duck Game

Duck Game

View Stats:
pphtter 19 Dec, 2020 @ 7:11am
Duck Game isn't working, because XNA Microsoft
The game after reinstalling Windows began to require the installation of XNA framework redistributable but whatever versions I put, nothing happens, just with terraria. What to do? What happened? Help please

Crash is says:


It seems like the XNA Framework is not installed! Please download and install it from Microsoft:
https://www.microsoft.com/en-ca/download/details.aspx?id=20914

System.BadImageFormatException: Не удалось загрузить файл или сборку "Microsoft.Xna.Framework.dll" либо одну из их зависимостей. не является приложением Win32. (Исключение из HRESULT: 0x800700C1)
Имя файла: 'Microsoft.Xna.Framework.dll'
в DuckGame.Program.HandleGameCrash(Exception pException)
в DuckGame.Program.Main(String[] args) в C:\gamedev\duckgame_try2\duckgame\DuckGame\src\Program.cs:строка 64
в DGWindows.WindowsPlatformStartup.Main(String[] args) в C:\gamedev\duckgame_try2\duckgame\DuckGame\src\WindowsPlatformStartup.cs:строка 19

I did my best
< >
Showing 1-11 of 11 comments
CORPTRON  [developer] 4 Jan, 2021 @ 12:05pm 
Hey aptum, sorry for the delayed response! Unfortunately this seems to be a common issue with a number of C# programs, and especially with XNA games. Reading online it seems to be related to the operating system having the wrong versions of certain files, or having those files corrupted. You can try the instructions posted at the end of this thread: https://steamhost.cn/steamcommunity_com/app/312530/discussions/1/2997675206112505333/

But I'm not sure if it's going to help or not :( You could also try the solution posted here:
https://superuser.com/questions/1069506/how-to-fix-badimageformatexception-on-application-startup
Fix a Fix 24 Jan, 2021 @ 4:10am 
I'm having the same exact problem even if I didn't reinstall windows. I just bought the game and it doesn't start
pphtter 24 Jan, 2021 @ 4:21am 
I fixed
this is by reinstalling Windows
Fix a Fix 24 Jan, 2021 @ 5:02am 
Reinstalling windows for a single game doesn't really sound worth it :steamsad:
Fix a Fix 24 Jan, 2021 @ 9:56am 
Originally posted by pohuistic terra:
I fixed
this is by reinstalling Windows
Welp it worked! Thanks for the tip, it took a while but at least now i can play the game
pphtter 24 Jan, 2021 @ 10:03am 
Sorry, I didn't say in time, you would have to reinstall Windows anyway, because it's not even a broken game, but why the computer can't install XNA
pphtter 24 Jan, 2021 @ 10:06am 
Originally posted by superjoebob:
Hey aptum, sorry for the delayed response! Unfortunately this seems to be a common issue with a number of C# programs, and especially with XNA games. Reading online it seems to be related to the operating system having the wrong versions of certain files, or having those files corrupted. You can try the instructions posted at the end of this thread: https://steamhost.cn/steamcommunity_com/app/312530/discussions/1/2997675206112505333/

But I'm not sure if it's going to help or not :( You could also try the solution posted here:
https://superuser.com/questions/1069506/how-to-fix-badimageformatexception-on-application-startup
thx
DoU 13 Feb, 2021 @ 10:32pm 
I know I'm a little late, but I get an error with the
'Microsoft.Xna.Framework.dll'
the error says:
Crash Source: DuckGame
Mods apparently were not responsible for this crash.

There may be an issue with your .NET Framework installation, or with the location / version of some of your Windows DLL files ... Please check the 'System.BadImageFormatException' section on the DG common issues page:
https://steamhost.cn/steamcommunity_com/app/312530/discussions/1/2997675206112505333/

System.BadImageFormatException: Cannot load file or assembly 'Microsoft.Xna.Framework.dll' or one of its dependencies. it is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Filename: 'Microsoft.Xna.Framework.dll'
at DuckGame.Program.HandleGameCrash (Exception pException)
at DuckGame.Program.Main (String [] args) at C: \ gamedev \ duckgame_try2 \ duckgame \ DuckGame \ src \ Program.cs: line 60
in DGWindows.WindowsPlatformStartup.Main (String [] args) in C: \ gamedev \ duckgame_try2 \ duckgame \ DuckGame \ src \ WindowsPlatformStartup.cs: line 22

I need help, I don't know what to do
CORPTRON  [developer] 16 Feb, 2021 @ 12:32pm 
Originally posted by OrangeMercenary:
I need help, I don't know what to do
Hey Orange (and anyone else experiencing this issue)! I've just uploaded a special debug version of the game which I'm hoping will reveal the cause of this error, would you be able to try it out? To get it, right click the game in Steam and go Properties -> BETAS, then enter the beta code

rollercoastertycoon2

and press Check Code. This should let you select experimental_build from the dropdown menu. Once the new version is downloaded, try launching it through Steam. It will show an error window just like before, but hopefully with more details as to which DLL specifically doesn't want to load. Would you be able to post the new crash log here? Thank you, sorry you haven't been able to play the game :(
Last edited by CORPTRON; 16 Feb, 2021 @ 12:32pm
stars 4 Dec, 2021 @ 10:34am 
Hello. try install this
https://www.microsoft.com/en-gb/download/details.aspx?id=27598

it helped me with starting this game and Bloody Trapland
Renosan 17 Jun, 2023 @ 1:34pm 
Originally posted by stars:
Hello. try install this
https://www.microsoft.com/en-gb/download/details.aspx?id=27598

it helped me with starting this game and Bloody Trapland
Thx, man!
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: 19 Dec, 2020 @ 7:11am
Posts: 11