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

Broken savegames #2565

Closed
CuriousMike56 opened this issue May 21, 2020 · 10 comments
Closed

Broken savegames #2565

CuriousMike56 opened this issue May 21, 2020 · 10 comments
Labels

Comments

@CuriousMike56
Copy link
Collaborator

From Discord:

Savegames seem to be very broken on master
Loading a save that doesn't match the map you're currently on brings you back to the menu but doesn't actually load the new map, and loading a save results in everything being frozen, including the character
it spams "scene loaded" and "physics paused", trying to unpause does nothing
if I'm already on the map the save is on it loads fine

@tritonas00
Copy link
Collaborator

fixed #2563

@WillyB1337
Copy link
Collaborator

On 2020.10-dev-777b743, whenever I click on Resume Game on Main Menu, I get this error.
When on a map, going thru the menu works all fine.
It even switches map when I load a save that was created in a different map.

15:36:14: Ogre::RuntimeAssertionException::RuntimeAssertionException: resourceName is empty string in Ogre::ResourceGroupManager::openResourceImpl at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 657)
15:36:14: [RoR] Failed to open or read json file '' (resource group 'Savegames'), message: 'Ogre::RuntimeAssertionException::RuntimeAssertionException: resourceName is empty string in Ogre::ResourceGroupManager::openResourceImpl at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 657)'
15:36:14: [RoR|Savegame] Could not load

@tritonas00
Copy link
Collaborator

tritonas00 commented Oct 27, 2020

I can't reproduce it, can you be more specific? What map/vehicle was loaded before closing RoR for example

Are you sure you run latest dev build?

@WillyB1337
Copy link
Collaborator

WillyB1337 commented Oct 27, 2020

Let's say I have simple-test-map and a daf truck.
I do a quicksave then go back to menu.
I try the button and it returns the same error message.

I tried the same steps but with exiting the game thru the Exit Game button.
Same result, the same error message.

I get it thru itch.io and put the program folder in My Games folder (not in Rigs of Rods content folder)
Last build, the save feature (the main menu button and scenes) would just freeze the game.

Could be something on Windows build.
I'm indeed running the latest stable build.
image
image

@tritonas00
Copy link
Collaborator

tritonas00 commented Oct 27, 2020

What does the savegames directory in your RoR user directory contain?

@WillyB1337
Copy link
Collaborator

WillyB1337 commented Oct 27, 2020

I've made it empty to test.
image
Now, I did the quick simple-test terrain and DAF combo, now I have an autosave.
image
Now, whenever I try to load it thru the button that appears, I get the same error :
16:36:28: Ogre::RuntimeAssertionException::RuntimeAssertionException: resourceName is empty string in Ogre::ResourceGroupManager::openResourceImpl at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 657) 16:36:28: [RoR] Failed to open or read json file '' (resource group 'Savegames'), message: 'Ogre::RuntimeAssertionException::RuntimeAssertionException: resourceName is empty string in Ogre::ResourceGroupManager::openResourceImpl at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 657)' 16:36:28: [RoR|Savegame] Could not load ''

  • I tried to make a quicksave from the 2020.01 in case the autosave was broken but it still don't want to load thru the main menu button.

image

  • I also tried to load that quicksave on a map but it failed.

image

  • If I clear up the folder then try to load the autosave from a different map, I get this error

16:41:38: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource quicksave_18.sav in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:41:38: [RoR|Savegame] Could not load 'quicksave_18.sav'

  • It seems it counts up the amount of quicksave made but don't account those which are not successful.

  • Even after restarting, whenever I'm on a different map, I still get the quicksave_18.sav not found error.

image

Hope this is more clear.

@WillyB1337
Copy link
Collaborator

WillyB1337 commented Oct 27, 2020

Also, it seems like I can make up to 10 saves even tho it does say up to 5.
image

As shown in the logs

16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-0.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-1.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-2.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-3.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-4.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-5.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-6.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-7.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-8.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706) 16:48:58: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource **quicksave-9.sav** in resource group Savegames. in ResourceGroupManager::openResource at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 706)

@tritonas00
Copy link
Collaborator

tritonas00 commented Oct 27, 2020

Ok. Can you temporarily rename you Rigs of Rods user directory and try with a fresh one? To exclude the possibility of a bad setting.

@WillyB1337
Copy link
Collaborator

Indeed.
Tried but same results :
16:54:58: Ogre::RuntimeAssertionException::RuntimeAssertionException: resourceName is empty string in Ogre::ResourceGroupManager::openResourceImpl at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 657) 16:54:58: [RoR] Failed to open or read json file '' (resource group 'Savegames'), message: 'Ogre::RuntimeAssertionException::RuntimeAssertionException: resourceName is empty string in Ogre::ResourceGroupManager::openResourceImpl at C:\Users\appveyor\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreResourceGroupManager.cpp (line 657)' 16:54:58: [RoR|Savegame] Could not load ''

@tritonas00
Copy link
Collaborator

Ok, i cant reproduce it here at all, will ask Petr to take a look on it on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants