Trouble loading legacy Mesh & Material files after upgrading 1.8.1 to 1.12.12

Problems building or running the engine, queries about how to use features etc.
leviskim18
Gnoblar
Posts: 10
Joined: Sat Aug 03, 2024 6:12 am

Trouble loading legacy Mesh & Material files after upgrading 1.8.1 to 1.12.12

Post by leviskim18 »

Ogre Version: from 1.8.1 to 1.12.12
Operating System: Windows 10
Render System: Direct3D9 Rendering Subsystem

Hi Ogre,

I recently upgraded from Ogre 1.8.1 to Ogre 1.12.12 for a legacy 3D app for using Visual Studio 2019. Because I am unable to obtain the source code of 1.8.1, I choose the closest option, version 1.12.12

During the upgrading, I encounterd issues with loading legacy resources like mesh and material files. Some assets are not properly, especailly, all font files, ttf can't be loaded.

So I have tried to load removing the problem files, which allowed Ogre initialization to succeed. However I am still not getting satisfactory loading results. I suspect there might be an logical issue within the source code that I need to investigate further.

Is probably there any way to load legacy resources in Ogre 1.21.12?

Any advice or guidance would be greatly appriciated, Thanks in advance!

leviskim18
Gnoblar
Posts: 10
Joined: Sat Aug 03, 2024 6:12 am

Re: Trouble loading legacy Mesh & Material files after upgrading 1.8.1 to 1.12.12

Post by leviskim18 »

Hi paroj,

Thanks for the link. When I tried to build with CMake, it shows an error seems to be related SDL dependency.

CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/ExternalProject.cmake:3270 (message):
No download info given for 'SDL2' and its source directory:

C:/Work/ogre.v1-8-1/Dependencies/src/SDL2

is not an existing non-empty directory. Please specify one of:

  • SOURCE_DIR with an existing non-empty directory
  • DOWNLOAD_COMMAND
  • URL
  • GIT_REPOSITORY
  • SVN_REPOSITORY
  • HG_REPOSITORY
  • CVS_REPOSITORY and CVS_MODULE
    Call Stack (most recent call first):
    C:/Program Files/CMake/share/cmake-3.29/Modules/ExternalProject.cmake:4456 (_ep_add_download_command)
    Dependencies/src/CMakeLists.txt:166 (ExternalProject_Add)

Maybe it seems the dependency link is broken, because it is too old. Do you have an idea for handling this issue?