Export from Ogre to X

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
TheReismo
Gnoblar
Posts: 2
Joined: Wed Dec 23, 2020 11:44 am

Export from Ogre to X

Post 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.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1993
Joined: Sun Mar 30, 2014 2:51 pm
x 1073
Contact:

Re: Export from Ogre to X

Post 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.
TheReismo
Gnoblar
Posts: 2
Joined: Wed Dec 23, 2020 11:44 am

Re: Export from Ogre to X

Post 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
Last edited by TheReismo on Fri Dec 25, 2020 1:05 pm, edited 1 time in total.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 155

Re: Export from Ogre to X

Post 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
TheReismo
Gnoblar
Posts: 2
Joined: Wed Dec 23, 2020 11:44 am

Re: Export from Ogre to X

Post 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
Last edited by TheReismo on Sun Dec 27, 2020 8:57 pm, edited 1 time in total.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 155

Re: Export from Ogre to X

Post 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?
TheReismo
Gnoblar
Posts: 2
Joined: Wed Dec 23, 2020 11:44 am

Re: Export from Ogre to X

Post 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
Post Reply