Page 1 of 1

Export from Ogre to X

Posted: Wed Dec 23, 2020 11:52 am
by TheReismo
Hello, I would like to know if there is any tool to extract the entire map from a video game made in ogre3d in a program such as blender, 3d max, etc. or in a readable format by these.

The game is loading chunk by chunk so its thing would be to add the chunks little by little to the program or file (The map is not loaded 100% from the beginning, they are loaded while the player advances).
The ogre3D version of the game is 1.7.

Re: Export from Ogre to X

Posted: Wed Dec 23, 2020 4:40 pm
by paroj
the best tool for this job is likely Ogre itself. The map is likely in an Ogre readable format and once parsed, you can dump it to .obj or something.

Re: Export from Ogre to X

Posted: Fri Dec 25, 2020 12:46 pm
by TheReismo
Ok, I have these files, but I don't have extensive knowledge of programming in Ogre3D, could you give me any idea what I have to do in the code or what I have to look for please?

Image

Re: Export from Ogre to X

Posted: Sat Dec 26, 2020 12:28 pm
by sercero
Hello,

If you are using Windows, you can use this version of ASSIMP (newer versions might work also):
http://assimp.sourceforge.net/main_downloads.html
assimp 3.1.1: released June 2014
Or you can try to compile it from source.

You also need to convert the OGRE .mesh files to .mesh.xml first with the OgreXMLConverter command line tool.

You can get the OGRE 1.11 version here (should be compatible with v1.7):
https://www.ogre3d.org/download/sdk/sdk-ogre

Re: Export from Ogre to X

Posted: Sun Dec 27, 2020 1:30 pm
by TheReismo
Hello, I am about to compile the program but there is no way to achieve it, I get this error and I do not know how to solve it. Can someone help me please?

Image

Re: Export from Ogre to X

Posted: Tue Dec 29, 2020 4:26 am
by sercero
Hello,

From the screenshot I can tell that you are trying to read the models from Iris 2 (An Open-Source 3D Ultima Online (tm) Client)

I have downloaded the code from here: https://github.com/kblaschke/Iris2

And also found these resources:
https://iris2.de/forum/index.php
https://libregamewiki.org/Iris2_3D_Clie ... ima_Online
viewtopic.php?f=11&t=34873
https://github.com/kblaschke/Iris2

There seem to be thousands of OGRE meshes here.

Do you still want to open them into Blender or do you want to have the Iris 2 client running?

Re: Export from Ogre to X

Posted: Tue Dec 29, 2020 7:14 pm
by TheReismo
I want to export the entire Ultima Online map in 3d through that client to Unity / Unreal and recreate the game there, but I need the map first.

I have a tool capable of obtaining all the chuncks that are rendered in scene and transferring them to obj and mtl, separating all the objects hierarchically from each other and being all united in the same scene.

I want to compile the content of the Iris 2.0 github project and make modifications to it so that when the game loads the map is loaded at 100% instead of loading the map as the character progresses, I have a powerful computer and I think it will be capable I can bear the job.

I have added all the necessary libraries to compile the GitHub project, I have installed visual studio 2010 to use a tool from the time when the project was created but I did not pass that error.
Perhaps what I am trying is impossible or maybe someone can tell me that there is an easier alternative than what I am trying to implement, but right now and with my limited knowledge of Ogre3D I cannot think of anything simpler.
Greetings, thank you very much for answering me