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

DayZ Tools (830640) #8328

Open
2 tasks done
acovaci opened this issue Dec 19, 2024 · 1 comment
Open
2 tasks done

DayZ Tools (830640) #8328

acovaci opened this issue Dec 19, 2024 · 1 comment
Labels
Game compatibility - Unofficial Games not expected to work without issues .NET Uses the .NET framework

Comments

@acovaci
Copy link

acovaci commented Dec 19, 2024

Compatibility Report

  • Name of the game with compatibility issues: DayZ Tools
  • Steam AppID of the game: 830640

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

Attempting to build a very simple DayZ mod, I get the following error log within the app itself (mirrored in the proton log too):

2024-12-19 17:28:43,622 [ERROR] 52: AddonBuilder.Builder.Run - System.NotImplementedException: The method or operation is not implemented.
  at Microsoft.VisualBasic.FileIO.FileSystemOperation.Delete () [0x0000e] in <7e034406f13c467db3be926c12188a6b>:0 
  at Microsoft.VisualBasic.FileIO.FileSystemOperation.ExecuteDirDelete () [0x00069] in <7e034406f13c467db3be926c12188a6b>:0 
  at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory (System.String directory, Microsoft.VisualBasic.FileIO.UIOption showUIOption, Microsoft.VisualBasic.FileIO.RecycleOption recycle, Microsoft.VisualBasic.FileIO.UICancelOption onUserCancel, Microsoft.VisualBasic.FileIO.DeleteDirectoryOption onDirectoryNotEmpty, System.Boolean showUI) [0x0000f] in <7e034406f13c467db3be926c12188a6b>:0 
  at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory (System.String directory, Microsoft.VisualBasic.FileIO.UIOption showUI, Microsoft.VisualBasic.FileIO.RecycleOption recycle) [0x00001] in <7e034406f13c467db3be926c12188a6b>:0 
  at AddonBuilder.Tasks.ClearTempTask.ExecuteImpl (System.Object state) [0x00028] in <1c38c2a118784aa1b910fbaaa8b0c07b>:0 
  at AddonBuilder.Tasks.BuildTask`1[T].Execute (System.Object state) [0x0001a] in <1c38c2a118784aa1b910fbaaa8b0c07b>:0 
  at AddonBuilder.Builder.Run () [0x00058] in <1c38c2a118784aa1b910fbaaa8b0c07b>:0 

With my limited understanding (and loathing) of .NET, I imagine this might be happening because the Proton-provided .NET DLLs (Mono presumably?) would not be defining this specific method? Would make sense on the surface, however Microsoft.VisualBasic.FileIO.FileSystemOperation.Delete feels like such a basic function to not have implemented 😕.

Reproduction

I doubt this whole setup is necessary to reproduce it. I am pretty sure that creating a basic .NET app that calls the Microsoft.VisualBasic.FileIO.FileSystemOperation.Delete method would suffice. However, for reference here's the exact steps I took:

  1. Install DayZ
  2. Install DayZ Tools
  3. Follow the Modding setup here, and create a basic mod.
  4. Attempt to pack the mod (Section Packing the mod)
@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Dec 19, 2024
@kisak-valve kisak-valve changed the title DayZ Tools .NET file system NotImplementedException: Microsoft.VisualBasic.FileIO.FileSystemOperation.Delete DayZ Tools (830640) Dec 19, 2024
@kisak-valve kisak-valve added the .NET Uses the .NET framework label Dec 19, 2024
@madewokherd
Copy link
Collaborator

Yeah that'd be this project specifically: https://gitlab.winehq.org/mono/mono-basic

Looks like what's unimplemented is sending to Recycle Bin specifically: https://gitlab.winehq.org/mono/mono-basic/-/blob/main/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.FileIO/FileSystemOperation.vb#L316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues .NET Uses the .NET framework
Projects
None yet
Development

No branches or pull requests

3 participants