Jump to content

DS Mod Tools erased my entire computer (and how to reproduce)


Gleenus
  • Fixed

Hi everyone

Yesterday I was updating a mod for Don't Starve Together using Don't Starve Mod Tools and... After I click "Publish!" I lost 99% of all files from my computer
The update I was doing was to change a Mod Picture................

I lost my personal pictures, my programming projects and all my stuff from my Ph. D. that I have to present in 3 weeks... (Guys, really, I'm in panic! These things should not happen to Ph. D. students!)

Well, since 99% of the files in my computer are gone, I decided to be sure of what is deleting my files

So here is the steps I made:
Note: I already have published several mods, so, I'm pretty sure I did nothing wrong

1: I'm using Linux (Ubuntu 20.04)
2: Open Steam
3: Open Don't Starve Mod Tools
4: Choose Don't Starve Together in the Box
5: Choose a Mod that you want to update and click Edit
6: Now check the box "Update Preview Images"

7: For the preview Image, choose a GIF file (in my case, a 1.2MB file)
8: Click "Publish!"

After you doing that, you will notice that the Don't Starve Mod Tools will get stuck, which is very common, usually it takes a long time to update mods
BUT if you check your computer files, you will notice that they are going to be erased and destroyed (you can not recover with any recovery tools, its like they are overwritten with zeros)

I repeated this process 3 times just to be sure It is Don't Starve Mod Tools fault, so I posted it here
Please, consider to take a look on this... I lost everything!

Now I'm going to do my last test before fresh start on my computer
I will try to save the print log from DS Mod Tools... If it survive the erasing process I will post here


Steps to Reproduce

1: I'm using Linux (Ubuntu 20.04)
2: Open Steam
3: Open Don't Starve Mod Tools
4: Choose Don't Starve Together in the Box
5: Choose a Mod that you want to update and click Edit
6: Now check the box "Update Preview Images"

7: For the preview Image, choose a GIF file (in my case, a 1.2MB file)
8: Click "Publish!"

After you doing that, you will notice that the Don't Starve Mod Tools will get stuck, which is very common, usually it takes a long time to update mods
BUT if you check your computer files, you will notice that they are going to be erased and destroyed (you can not recover with any recovery tools, its like they are overwritten with zeros)

  • Sad 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

As you can see from this log output, DS Mod Tools is trying to delete EVERYTHING from root
It just can't do it from lack of permition
But when it reaches my Home folder, it erases all files

c^CExecuteSteamURL: "steam://rungameid/245850"
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
GameAction [AppID 245850, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 245850, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 245850, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 245850, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 245850, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 245850, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 245850 "", ProcID 87086, IP 0.0.0.0:0
Gtk-Message: 07:49:38.258: Failed to load module "gail"
Gtk-Message: 07:49:38.258: Failed to load module "atk-bridge"

(ModUploader:87088): Gtk-WARNING **: 07:49:38.262: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}'

(ModUploader:87088): Gtk-WARNING **: 07:49:38.265: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
07:49:38: Logging to [/home/gustavo/.local/share/DontStarveModUploader/ModUploader.log]
07:49:38: UploaderApp::OnInit()
Game update: AppID 245850 "", ProcID 87088, IP 0.0.0.0:0
Starting app 245850
RecordSteamInterfaceCreation (PID 87088): SteamUtils009 / Utils
>>> Adding process 87086 for game ID 245850
Setting breakpad minidump AppID = 245850
GameAction [AppID 245850, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
RecordSteamInterfaceCreation (PID 87088): SteamUser019 / User
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198039069920 [API loaded no]
RecordSteamInterfaceCreation (PID 87088): SteamUser019 / User
RecordSteamInterfaceCreation (PID 87088): SteamFriends015 / Friends
RecordSteamInterfaceCreation (PID 87088): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 87088): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 87088): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 87088): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 87088): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 87088): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 87088): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
RecordSteamInterfaceCreation (PID 87088): STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
RecordSteamInterfaceCreation (PID 87088): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 87088): SteamController006 / Controller
RecordSteamInterfaceCreation (PID 87088): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 87088): STEAMAPPLIST_INTERFACE_VERSION001 / AppList
RecordSteamInterfaceCreation (PID 87088): STEAMMUSIC_INTERFACE_VERSION001 / Music
RecordSteamInterfaceCreation (PID 87088): STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
RecordSteamInterfaceCreation (PID 87088): STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
RecordSteamInterfaceCreation (PID 87088): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 87088): STEAMVIDEO_INTERFACE_V002 / Video
RecordSteamInterfaceCreation (PID 87088): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
GameAction [AppID 245850, ActionID 2] : LaunchApp changed task to Completed with ""
07:49:38: RefreshPublishedModInfo
07:49:38: EnumerateUserPublishedFiles(1)
07:49:38: Progress: Updating Mod List...
RecordSteamInterfaceCreation (PID 87088): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 87088): SteamController006 / Controller
07:49:38: OnEnumerateUserPublishedFiles
07:49:38:    EResult 1, results 0/0
07:49:38:    Complete
07:49:38: EndProgress ok: No mods found
07:49:38: MainFrame::OnRefreshComplete ok: No mods found
07:49:41: RefreshPublishedModInfo
07:49:41: EnumerateUserPublishedFiles(1)
07:49:41: Progress: Updating Mod List...
07:49:41: OnEnumerateUserPublishedFiles
07:49:41:    EResult 1, results 24/24
07:49:41:    0x0003C05A, 0x0004EB1A, [Airplane], 0x183de41f7f6e7e13, 0x183de3c8bd20215a, 76561198039069920, 0x60132DA5, 0x6018909A, 0, 0, [all_clients_require_mod,art,item,other,tweak,utility,version:1.01], 0, [mod_publish_data_file.zip], 2719546, 7451911, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Cane Kiting], 0xffffffffffffffff, 0x184de35e697a7693, 76561198039069920, 0x600D81BD, 0x608948A9, 0, 0, [client_only_mod,tweak,utility,version:1.03], 0, [], 24915, 73561, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Catapult Controller], 0x1845e63511a1de2e, 0x1849e5c6a2c4bba9, 76561198039069920, 0x6032D60E, 0x603A30C2, 0, 0, [all_clients_require_mod,art,item,other,tweak,utility,version:1.02], 0, [mod_publish_data_file.zip], 265639, 2919675, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Farm Plant Needs], 0x184de2d945042a64, 0x16cde07d0164c009, 76561198039069920, 0x5FDE0056, 0x6005EB60, 0, 0, [all_clients_require_mod,other,tweak,utility,version:1.04], 0, [mod_publish_data_file.zip], 16643, 102197, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Fire Pyromatic], 0x16c9da6a98b08538, 0x16c9da6a98b088a9, 76561198039069920, 0x5F7F5A37, 0x5F7F5A37, 0, 0, [item,utility,version:1.00,all_clients_require_mod,Other], 0, [mod_publish_data_file.zip], 351017, 6025676, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Fuel-Sharing Ice Flingomatic], 0x1731dbfa57acfae9, 0x16c9dadcc29bc6c8, 76561198039069920, 0x5F84EA92, 0x5F971D56, 0, 0, [server_only_mod,tweak,utility,version:1.03], 0, [mod_publish_data_file.zip], 10427, 5732261, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Gleenus Beta Testing], 0x1705dd8930b9a56b, 0x172ddc4c71a10f36, 76561198039069920, 0x5F9B244F, 0x5FB07833, 3, 0, [all_clients_require_mod,version:0.0902], 0, [mod_publish_data_file.zip], 107711, 10452, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Headless Emote], 0x1705dd6ef5fa0431, 0x172ddc2509d05e2b, 76561198039069920, 0x5F9B0D46, 0x5FAD7550, 0, 0, [all_clients_require_mod,Art,utility,version:1.03], 0, [mod_publish_data_file.zip], 201314, 5336089, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Hydroponics], 0x1485d6d2312d4ebc, 0x11c5d2f27133da85, 76561198039069920, 0x5F05D84D, 0x5F43BCA7, 0, 0, [all_clients_require_mod,item,utility,version:1.01], 0, [mod_publish_data_file.zip], 366811, 446730, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Lightbug Cage], 0x183de41f7f6e17b2, 0x183de3f11641d9b3, 76561198039069920, 0x601705BD, 0x60188E8A, 0, 0, [all_clients_require_mod,art,item,tweak,utility,version:1.04], 0, [mod_publish_data_file.zip], 475949, 2260375, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Loot Pump], 0xffffffffffffffff, 0x1485d6d2313c4095, 76561198039069920, 0x5F4400D2, 0x605F409F, 0, 0, [all_clients_require_mod,item,utility,version:1.10], 0, [], 354393, 2578306, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [More Battle Songs], 0x1841e4a25ec002d3, 0x1665da4ef6a4a358, 76561198039069920, 0x5F7C938E, 0x602118B8, 0, 0, [item,utility,art,tweak,version:1.07,all_clients_require_mod], 0, [mod_publish_data_file.zip], 880336, 122177, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Nightvision for Free (client side)], 0x1849e5a333ad43b4, 0x1701e2428e209e9a, 76561198039069920, 0x5FFB0DF8, 0x603110CF, 0, 0, [client_only_mod,tweak,utility,version:1.01], 0, [mod_publish_data_file.zip], 10467, 1023530, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Pigeons!], 0x1549d952e6c72edf, 0x1549d952e6c61b1e, 76561198039069920, 0x5F6D2894, 0x5F6D2D1C, 0, 0, [all_clients_require_mod,creature,version:1.01], 0, [mod_publish_data_file.zip], 16569, 7799859, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Poop Flingomatic], 0x16d1db12e6ea7cca, 0x1449d5c6a0b505a2, 76561198039069920, 0x5F189D34, 0x5F87BB5E, 0, 0, [all_clients_require_mod,item,version:1.02], 0, [mod_publish_data_file.zip], 344525, 1938062, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Rail Cart], 0xffffffffffffffff, 0x1705ddbee7e9e2ac, 76561198039069920, 0x5FB3097C, 0x60516952, 0, 0, [all_clients_require_mod,art,item,other,tweak,utility,version:1.06], 0, [], 1368791, 1365671, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Rope Bridge], 0xffffffffffffffff, 0x1835e72d952408c3, 76561198039069920, 0x60494396, 0x60516914, 0, 0, [all_clients_require_mod,art,item,tweak,utility,version:1.10], 0, [], 229770, 183675, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Starver Games (Client Side)], 0x16d1e0b09f3ee539, 0x16d1e0b09f3ee60a, 76561198039069920, 0x5FE26CAD, 0x5FE26CAD, 0, 0, [utility,version:0.01,all_clients_require_mod], 0, [mod_publish_data_file.zip], 14419, 10452, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Thermal Stone Alert], 0x184de2d944ae852f, 0x184de2d944ae85d8, 76561198039069920, 0x60046D95, 0x60046D95, 0, 0, [utility,tweak,other,version:1.00,client_only_mod], 0, [mod_publish_data_file.zip], 9288, 59253, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Toggleable Miner Hat], 0x1841e486c2cac486, 0x1731db91a5ca5183, 76561198039069920, 0x5F903EE5, 0x60200B04, 0, 0, [item,server_only_mod,tweak,utility,version:1.01], 0, [mod_publish_data_file.zip], 10183, 43389, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [TUtil], 0xffffffffffffffff, 0x183de3f115f3b75d, 76561198039069920, 0x6015B933, 0x605CD0EE, 0, 0, [all_clients_require_mod,version:0.05], 0, [], 1650453, 10452, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Twerk Emote], 0x1731dbdd31bc96db, 0x1731dbdd319d13b2, 76561198039069920, 0x5F94606B, 0x5F94E675, 0, 0, [all_clients_require_mod,Art,tweak,utility,version:1.01], 0, [mod_publish_data_file.zip], 135532, 473045, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [Vacuum Bag], 0xffffffffffffffff, 0x1889eb8bcf8d7614, 76561198039069920, 0x608F5077, 0x608F5077, 0, 0, [all_clients_require_mod,item,version:1.00], 0, [], 189056, 600545, [], 0
07:49:41:    0x0003C05A, 0x0004EB1A, [[PT-BR] Criando seu primeiro Mod: Ice Maker (TUTORIAL)], 0x16cddf77593ceaee, 0x16cddf77593cec74, 76561198039069920, 0x5FCEA113, 0x5FCEA113, 0, 0, [item,utility,tutorial,version:1.00,all_clients_require_mod], 0, [mod_publish_data_file.zip], 145262, 78111, [], 0
07:49:41:    Complete
07:49:41: EndProgress ok: Mod listing complete.
07:49:41: MainFrame::OnRefreshComplete ok: Mod listing complete.

(ModUploader:87088): Gtk-WARNING **: 07:49:47.612: Error loading theme icon 'edit-find' for stock: Fatal error reading PNG image file: bad parameters to zlib

(ModUploader:87088): Gtk-WARNING **: 07:49:47.618: Error loading theme icon 'edit-find' for stock: Fatal error reading PNG image file: bad parameters to zlib

(ModUploader:87088): Gtk-WARNING **: 07:49:50.182: Error loading theme icon 'folder' for stock: Fatal error reading PNG image file: bad parameters to zlib
07:49:58: Progress: Updating...
07:49:58: UpdateItem
07:49:58: Setting 3 tags...
07:49:58:    all_clients_require_mod
07:49:58:    item
07:49:58:    version:1.00
07:49:58: Progress: Submitting Item Update...
07:49:58: OnUpdateItemResult
07:49:58: Error: File '/boot/grub/fonts/unicode.pf2' couldn't be removed (error 13: Permission denied)
07:49:58: Error: Directory '/boot/grub/fonts' couldn't be deleted (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/luks.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/functional_test.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/msdospart.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/iso9660.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/parttool.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/datetime.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gcry_seed.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/exfctest.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/video_cirrus.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/crypto.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gcry_rmd160.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/cbmemc.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/part_apple.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/minix.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/div.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/boot.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/acpi.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/video_colors.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/minix3.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/load.cfg' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/cryptodisk.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gcry_crc.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/div_test.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gcry_rfc2268.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gcry_twofish.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/mdraid1x.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/efifwsetup.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gcry_tiger.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/jpeg.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/zstd.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/ldm.mod' couldn't be removed (error 13: Permission denied)
07:49:58: Error: File '/boot/grub/x86_64-efi/gfxterm.mod' couldn't be removed (error 13: Permission denied)


(There are more thousands of files)

  • Sad Dupe 1

Share this comment


Link to comment
Share on other sites

Man, this is terrible. But maybe this error is only for Linux users? No one would want to test it on themselves, so I'm just guessing.

  • Like 1

Share this comment


Link to comment
Share on other sites

Probably you can recover some files until files got overwritten by new files. Because when you delete files OS just mark files as deleted. Seacrh some programm for recovering files.

  • Like 1

Share this comment


Link to comment
Share on other sites

53 minutes ago, sl2va said:

Probably you can recover some files until files got overwritten by new files. Because when you delete files OS just mark files as deleted. Seacrh some programm for recovering files.

This was my first try, but I got no lucky
The files are destroyed or corrupted, I could recover like 3 files
It looks like the files are filled with zeros, because they have any data to recover with ext4magic, extundelete, disktest, or any kind of tool
 

Share this comment


Link to comment
Share on other sites

It might be a good idea to attach the entire log file for an issue like this, since this seems like a serious problem.

Not in text form, but just the file itself attached to a comment or the post itself.

  • Like 1

Share this comment


Link to comment
Share on other sites

23 minutes ago, Nettalie said:

It might be a good idea to attach the entire log file for an issue like this, since this seems like a serious problem.

Not in text form, but just the file itself attached to a comment or the post itself.

There is no log file!

The DS Mod Tools deleted the entire computer and itself
All files that my user has writting permission are deleted

I had to boot from an USB

The text I posted here is the only thing I can recover from the terminal that have the steam running

  • Like 1

Share this comment


Link to comment
Share on other sites

idk exactly know what linux has, but i can list a few things that may help. check your recycling if you for some reason haven't already. look through all your files. if it was just over written then you can easily just press CTRL z to undo any of your actions in documents. also if you had a backup of your hard drive data just use that. things not related as much : tell you teacher your situation. before deleting anything make a backup for what all you have rn in case its still there and you just cant find it. if you did important stuff on a browser based thing like google docs then that stuff should be saved. this is all really simple stuff so idk if itl help you, but if you havent done any of this you should try

Share this comment


Link to comment
Share on other sites

Bugsworth, you're very kind and thoughtful, but I would suggest reading this as well, there is no solution to this problem besides fixing the source of the problem:

 

Share this comment


Link to comment
Share on other sites

Changed Status to Fixed

Thanks for the detailed information in this report. It made tracking down the issue and fixing it asap, a lot easier.

  • Thanks 2

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...