T
xenial-black
Can't reach character list
As of recent, I cannot access any part of my game as a result of this error appearing whenever I try doing anything that advances into character list. "Alfred" is the name of the character, used for a Calamity mod run. This occurs on the latest version of 1.4.4 tmodloader. What is causing the game to refuse access to the player files? I need help here.

61 Replies
Welcome to #support-forum. Before someone helps you, please first consult the information in #TML Troubleshooting Guide and try all the suggestions that might fit your particular issue, especially in the linked FAQ page.
If the information in the pinned thread does not solve your issue, please post all log files by dragging and dropping them into this chat. In Steam right click on
tModLoader in the library, then hover over Manage and click on Browse local files. In the folder that appears find tModLoader-Logs and open that folder. Inside that folder are the logs files. Select them all except the Old folder and drag them into this chat. If you need a visual guide to this process watch this: https://github.com/tModLoader/tModLoader/assets/4522492/3f4efa43-753f-4733-b630-ba85e711340cTag: windef (Owner: putan#0000)
disable windows defender/security, avast/bitdefender: https://github.com/tModLoader/tModLoader/wiki/Basic-tModLoader-Usage-FAQ#systemunauthorizedaccessexception-access-to-the-path-is-denied
xenial-blackOP•2y ago
My antivirus doesn't even allow me to turn it off or mess with any of the settings
Okay I managed to disable my antivirus but I still can't access my players
Hm, it might be OneDrive isn't running properly? Or it could be the Controlled Folder Access bug.
https://github.com/tModLoader/tModLoader/wiki/Basic-tModLoader-Usage-FAQ#controlled-folder-access
See if you can add an exception if that feature is enabled
If you have BitDefender , there is a similar feature called Safe Files
If the issue is OneDrive, you can right click on the tModLoader save folder and click "Always keep on this device"
If everything still fails, you can try the
savehere.txt workaround mentioned in https://github.com/tModLoader/tModLoader/wiki/Basic-tModLoader-Usage-FAQ#controlled-folder-access to save to the install directory instead of the My Documents folder. If that works, you can copy over your saves folder to the new tModLoader folder created within the install dirxenial-blackOP•2y ago
What is the tmodloader save folder
is that in documents or the steam directory
Saves Are Located At: C:\Users\Leoze\OneDrive\Documents\My Games\Terraria\tModLoader
xenial-blackOP•2y ago
that leads me to here

xenial-blackOP•2y ago
wait is "saves" equal to "worlds"
saves means everything, the worlds, configs, players. Everything you see in that folder
xenial-blackOP•2y ago
so is the saves folder the "tModLoader" folder itself
yes
xenial-blackOP•2y ago
so I put the savehere.txt in the install directory
Do I now copy everything in the saves folder and then paste it in the install directory
Yes, you would copy over the tModLoader saves directory into the tModLoader install directory. This means the final save dir would be D:\Steam\steamapps\common\tModLoader\tModLoader
xenial-blackOP•2y ago
so I bring over not only the folder's contents but also the folder itself
xenial-blackOP•2y ago
so this?

xenial-blackOP•2y ago
I'm still getting this same error

xenial-blackOP•2y ago
and I even deleted the Alfred character so I don't know what this is trying to read
xenial-blackOP•2y ago
also I have no access to controlled folder access

Are you sure you made the savehere.txt file? Drag it here
xenial-blackOP•2y ago
I can't
it says upload failed
was I supposed to actually type something in the text file
no.
I just wanted to see the actual filename, but I guess Discord doesn't like uploading empty files
xenial-blackOP•2y ago

ok
Tag: hidden
Make sure you have File Name Extensions turned on or you'll be confused: https://github.com/tModLoader/tModLoader/assets/4522492/2f901fe9-db01-4bff-b930-449220419ae7
I think you have savehere.txt.txt
xenial-blackOP•2y ago
doesn't look like it when I press rename
did you toggle on file name extensions as shown in that video?
xenial-blackOP•2y ago
yep
try to launch again, then send the latest client.log
xenial-blackOP•2y ago
now that I think of it
does verifying integrity of game files mess with this process
because I did do that before trying to launch again
I don't think it should touch that file. I think verifying will only affect files that are expected to be there, not new files
huh, I see now. I didn't notice that this is the game attempting to load the vanilla players for migration purposes
xenial-blackOP•2y ago
oh I just noticed that too
I guess you can check the file permissions for
C:\Users\Leoze\OneDrive\Documents\My Games\Terraria\Players\Alfred.plr
I'm not too familiar with windows file permissions, but it's possible a vanilla player file might be owned by a different "user"?
If you can't figure anything out with that, you can rename the C:\Users\Leoze\OneDrive\Documents\My Games\Terraria\ folder to TerrariaOriginal, that would bypass whatever weird permissions error is causing this
You would just need to rename it back to the original Terraria name when you play Terrariaxenial-blackOP•2y ago
I checked my vanilla terraria and it seems it is trying to read this thing

xenial-blackOP•2y ago
this character has been like this for a while but I never experienced any issues with actually loading the character menu
Well, you can move the file somewhere else, as a test. If it's showing up like that in Terraria, it might be broken anyway
There should be a Alfred.plr.bak file in the Terraria saves folder that you can use to recover Alfred.plr, if you were to continue playing that player in Terraria
xenial-blackOP•2y ago
well actually that specific player is from a long abandoned run
before I played terraria on my current device I played on a laptop, and for whatever reason a bunch of my laptop era characters decided to port over to my gaming PC terraria, and a bunch of them experienced some errors
that is strange. But yeah, I would just move that player, and others like it, to another folder, then see if tModLoader loads
xenial-blackOP•2y ago
It keeps saying this

xenial-blackOP•2y ago
and also those broken files marked by a grey X in the file explorer can't be moved due to something about admin permissions that I don't have
Is Terraria open still?
xenial-blackOP•2y ago
no
Something has that folder open, You can restart your computer, that's the easiest way
xenial-blackOP•2y ago
it's not really an admin perms thing but I get this

Ok, so OneDrive isn't running?
Grey X means the file isn't synced to onedrive, so either you aren't logged in or you are out of space for your onedrive quota, I think
Or maybe it means it's on the cloud but unaccessable since onedrive isn't logged in
xenial-blackOP•2y ago
I restarted my computer and it is still saying this
I would open up onedrive and see if it says anything
xenial-blackOP•2y ago
I tried deleting it straight from the onedrive web portal but it still shows up in my players file
Ok, but is onedrive running on your computer correctly?
xenial-blackOP•2y ago
how do I check if that is the case
It should be running in the notification area at the bottom right of your screen
If not, you'll need to launch it
xenial-blackOP•2y ago
yeah, it is not running in the notification area
well, then run it from the start menu
xenial-blackOP•2y ago
I actually never had onedrive installed on this device
I'm installing it now
I believe onedrive is installed by default on windows 10. Maybe you uninstalled it long ago? Anyway, your computer thinks it's using onedrive, so it's all confused
xenial-blackOP•2y ago
Yeah I think I disabled it all the way in around 2019
Like, you don't need to use it, but right now it's in a halfway state
There is a proper way to disable onedrive that will move your documents folder to the normal Documents location instead of nested within the OneDrive folder
xenial-blackOP•2y ago
I deleted the corrupted files successfully and now my tmodloader is working like normal
Thank you for telling me what I needed to know
Awesome, glad we could figure that out