kythyria / payday2-model-tool

Diesel Model importer/exporter, with bones/rigging coming soon!
https://ci.appveyor.com/project/kythyria/payday2-model-tool/build/artifacts
GNU General Public License v3.0
19 stars 7 forks source link

Doesn't seem to work on Windows 11 #24

Open InfectedAnimal opened 1 year ago

InfectedAnimal commented 1 year ago

I've been trying to use this program for the past day but each time I do it does the cursor loading animation and then promptly does nothing, not even giving an error or warning message, please fix this

Sprixitite commented 1 year ago

Hi! I'm a linux user, but this problem sounds interesting, if you could give some debug info (I believe the console has been re-revealed on the newest commit) I would love to take a stab at this regardless. Thanks.

ghost commented 1 year ago

I'm also on Windows 11 and can confirm it does not launch properly (I see the console window for a second or two and then it closes without warning), here is what the console spits out from the latest commit:

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at PD2ModelParser.Program.Main(String[] args)
Sprixitite commented 1 year ago

Thanks for the message, as the notification reminded me I had set up a windows 11 VM to work on this before deleting it, although looking at your error it seems to be a simple fix to the PD2ModelParser.csproj file

Going to test if my changes regress anything to do with the non-windows pre-build events this project has and if they don't will submit a pr to hopefully resolve this!

ghost commented 1 year ago

still getting the error with the new ver D:

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at PD2ModelParser.Program.Main(String[] args)
InfectedAnimal commented 1 year ago

still getting the error with the new ver D:


Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)

File name: 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

   at PD2ModelParser.Program.Main(String[] args)

Can confirm this here too, tried the patched build recently and it'd still close each time very briefly displaying this error image

Sprixitite commented 1 year ago

See my PR for what is likely the same issue everyone in this thread is seeing

If it doesn't resolve the issue then please send further details, but I'd imagine what most of you are seeing is simply a missing .net 6 runtime

Something additional to note: you likely haven't even tried the slightly patched version, because the PR has yet to be accepted and added to the release page

kythyria commented 1 year ago

Y'all try the newest build now I've actually merged that PR.

InfectedAnimal commented 1 year ago

See my PR for what is likely the same issue everyone in this thread is seeing

If it doesn't resolve the issue then please send further details, but I'd imagine what most of you are seeing is simply a missing .net 6 runtime

Something additional to note: you likely haven't even tried the slightly patched version, because the PR has yet to be accepted and added to the release page

Yea I just downloaded it and it finally works, was a bit confused on the lack of exe with it but I used the og one and it finally worked

Thank you so much