OgreArchiveManager.cpp:65 pArch->load();
ResourceGroupManager::getSingleton().addResourceLocation(path, "Zip", RGN_TEMP, false, false)
but got segfault
Ogre::FileSystemLayer::removeFile
btw, should i go with Ogre::ResourceGroupManager::getSingleton().deleteResource
? are they both unicode safe?
Thread 1 "RoR" received signal SIGSEGV, Segmentation fault.
0x00007ffff78ef727 in Ogre::ResourceGroupManager::openResourceImpl (this=0x555555c792c0, resourceName="a1da0UID-nhelens.terrn2", groupName="General", searchGroupsIfNotFound=searchGroupsIfNotFound@entry=false, resourceBeingLoaded=resourceBeingLoaded@entry=0x0, throwOnFailure=true) at /home/babis/Downloads/ror-dependencies/Source/ogre/OgreMain/src/OgreResourceGroupManager.cpp:695
695 DataStreamPtr stream = pArch->open(resourceName);
(gdb) bt
#0 0x00007ffff78ef727 in Ogre::ResourceGroupManager::openResourceImpl (this=0x555555c792c0, resourceName="a1da0UID-nhelens.terrn2",
groupName="General", searchGroupsIfNotFound=searchGroupsIfNotFound@entry=false, resourceBeingLoaded=resourceBeingLoaded@entry=0x0,
throwOnFailure=true) at /home/babis/Downloads/ror-dependencies/Source/ogre/OgreMain/src/OgreResourceGroupManager.cpp:695
#1 0x000055555598caea in Ogre::ResourceGroupManager::openResource (throwOnFailure=true, resourceBeingLoaded=0x0, groupName=...,
resourceName="a1da0UID-nhelens.terrn2", this=<optimized out>)
at /home/babis/Downloads/ror-dependencies/Dependencies_Linux/include/OGRE/OgreResourceGroupManager.h:668
#2 RoR::TerrainManager::LoadAndPrepareTerrain (entry=entry@entry=0x55555806f2e0)
at /home/babis/Downloads/ror-dependencies/rigs-of-rods/source/main/terrain/TerrainManager.cpp:137
#3 0x000055555562120a in RoR::GameContext::LoadTerrain (this=<optimized out>, filename_part="a1da0UID-nhelens.terrn2")
at /home/babis/Downloads/ror-dependencies/rigs-of-rods/source/main/GameContext.cpp:114
#4 0x00005555555ed2a2 in main (argc=<optimized out>, argv=<optimized out>)
at /home/babis/Downloads/ror-dependencies/rigs-of-rods/source/main/main.cpp:516