protonscr

DayZ Tools

protonopen appid 830640Game compatibility - Unofficial.NET
ValveSoftware/Proton#8328 · opened 2024-12-19 by acovaci · updated 2025-04-25 · 4 comments · github · game page · search this game
Aacovaci 2024-12-19 github

Compatibility Report

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

System Information

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] 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)
Mmadewokherd 2024-12-21 github
SSteamNimmersatt 2024-12-29 github

The same problem happens with "Arma 3 Tools" (appid 233800) when using the included "AddonBuilder.exe" to build a mod.

2024-12-29 14:51:27,448 [ERROR] 1: 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 <2c41132e78634f46b3b4816175b6fe38>:0 
  at AddonBuilder.Tasks.BuildTask`1[T].Execute (System.Object state) [0x0001a] in <2c41132e78634f46b3b4816175b6fe38>:0 
  at AddonBuilder.Builder.Run () [0x00049] in <2c41132e78634f46b3b4816175b6fe38>:0 
Mmadewokherd 2025-04-16 github

Implemented Recycle Bin support in Wine Mono: https://gitlab.winehq.org/mono/wine-mono/-/commit/70906828151fb4081761fee5f4c85110af5a6f5c

I'll try the instructions and see if I can retest this.

Mmadewokherd 2025-04-25 github

With an updated Wine Mono containing the new Recycle Bin support, and the P: drive manually created in winecfg, packing succeeded for me and created a Scripts.pbo file.

Nothing extracted yet.