-
Notifications
You must be signed in to change notification settings - Fork 63
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
File access crash when saving compiled codes #836
Comments
try removing the codes.dll file, looks like issue i was having |
Can you all try checking if the process is running in the background while having this issue? |
I deleted hedgemodmanager and everything within the Mod file, where all the mods are typically loaded. However, I couldn't delete the Codes.dll application extension because it says the app is still open even though I deleted it from my computer and ensured it wasn't downloaded. I find it interesting and wonder if that might be a clue to the hedgemodmanager not working correctly. |
I forgot to mention that I was able to have two Codes.dll application extensions by moving the first one to another location and loading in a new application extension. I couldn't delete either one because the file is open in another program, but what does that mean? |
Can you try closing all games and HMM then try again? If it fails can you show me the list of processes you have open? |
How do I do that? Is it found in Task Manager? |
Open Task Manager and select the details tab and look for Any processes starting with Sonic or HedgeModManager. |
I checked, but I don't see anything Sonic or HedgeModManager. I can understand HedgeModManager not being in the task manager since I deleted it for now, but shouldn't Sonic Frontiers be visible since that's downloaded? |
It will only show what is open. |
Oh, that makes sense. I'll try opening Sonic Frontiers, and perhaps download and run HedgeModManager as well. |
Are you currently having the issue right now where you can't move the file? |
Might be easier to find the process by using Process Explorer. Just download that zip and extract all the files, then open |
Well, just recently, I restarted my PC and was able to delete the Codes.dll application extensions. However, something interesting happened when I tried opening Sonic Frontiers on Steam. I'll post some pictures. |
Deleting Hedge Mod Manager doesn't remove the mod loaders, you need to uninstall the mod loaders using HMM. Also can you show me your SonicFrontiers folder? The modloader shouldn't be loading twice. |
I have a lot of my mods in another file in the Downloads folder called Mods |
Can you delete both d3d11.dll and dinput8.dll then use Hedge Mod Manager to reinstall the mod loader? Also make sure you have update checking enabled. |
Sure thing. Should I also permanently delete the .dll's in the recycle bin too? |
If you want. Hedge Mod Manager should've deleted d3d11.dll on its own, also asked to delete dinput8.dll so HMM can download a clean version from GitHub. |
That should be fine. Are you still having the same issues? |
Try checking with Process Explorer. |
I did that, but Codes.dll wouldn't show, although I did have Codes.dll in the Mods folder in the Sonic Frontiers directory. I tried opening Codes.dll to see if it will show on Process Explorer, but I don't have anything that can properly open it. |
It took a while, and it also took some different solutions that seemed to work until they didn't, but I managed to solve the issue. |
How did you resolve this issue? |
I went to the Mods directory and got all my mods, Codes.hmm, and ModsDB into one folder, thus having only one folder within the main Mods directory. I left Codes.dll outside of the folder but still in the Mods directory. However, I checked and apparently made another Codes.dll inside the new folder I created with all my modes and stuff. The mod directory still works, though. |
Wait, so how exactly do I fix this? |
Are you able to get it to occur very consistently? If it's consistent, can you run through the list of releases from top to bottom until you get a release where the issue is totally gone? Just make sure to reboot or log off and back on with every release you test. |
So just keep using different versions of the Mod Manager until it works? |
Yes, but also do a reboot or log off so the issue clears when you start testing a release. Once you find a release that never has the issue, let me know so I can see what was changed. |
I would stop at 7.10-1 if the issue continues occur to that point as it may be something else like the modloaders, which we will look into if we need to. |
I downloaded 10, 11, & 12 |
Got some questions: |
I rebooted my PC everytime I downloaded and used the versions of HedgeMod |
So it can happen without ever touching Play or Save & Play? If so this can't be a modloader issue. Does it also happen on the dev version? |
Just downloaded it and yes. |
It's weird, I can still play the game if I load it up via Steam or click on the Shortcut |
I forgot I already made this when I posted this other bug report a few minutes ago, my apologies. As for this -
I don't see anything in Task Manager listed under "background processes" that appear to be related to Generations or HMM. |
Can you try checking in Process Explorer as mentioned below?
|
I was able to boot up the game a single time with HMM after restarting my computer, but after that point both Save and Save And Play went back to giving the same results as before. I installed Process Explorer and tried searching for Codes.dll both after closing HMM and while the program was still open, but it said that there were 0 matching items during both searches. |
I've been playing Sonic Frontiers for a while with the solution I found to the problem, but I later found out it was no more than a band-aid than an actual solution to the problem. I think there might be some weird bug or another problem with Codes.dll. Whenever I get the Hedgemodmanager Exception message, I would either delete or move Codes.dll outside the Mods file. This would allow me to save and play with my mods and codes, but it will create a new Codes.dll file. After some playing, closing, and playing again of the game, the Exception message would randomly decide to show up again when I try to save and play with my mods. I have to repeat the previous process to play with my mods again. |
Please use this issue if you have encounted the following exception:
Please provide any information you can in relation to the crash as the issue is currenly not reproducable with any of the developers.
This issue appears to affect all games.
Below is the original post
Any time I click "Save" or "Save and Play", I get the below error.
HMM_Snapshot_00012024201739.txt
HMM Info:
Exception:
The text was updated successfully, but these errors were encountered: