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

There was a problem when importing the Mesh file, prompting that it could not be converted to Xml. #191

Open
QingZhuMr opened this issue Feb 1, 2024 · 5 comments

Comments

@QingZhuMr
Copy link

{06B34E18-B581-4fa2-9C7F-8939E20D0748}

{F4548F4B-15E1-4489-B0C6-2A201142B0A5}

@QingZhuMr
Copy link
Author

2024-02-01 23:54:38 [ INFO] Target_path: C:\Users\Qingzhu\Desktop\mod
2024-02-01 23:54:38 [ INFO] Target_file_name: Chinese_musket_04.mesh
2024-02-01 23:54:38 [ INFO] * Loading mesh from: C:\Users\Qingzhu\Desktop\mod\Chinese_musket_04.mesh
2024-02-01 23:54:38 [ERROR] OgreXMLConverter returned with non-zero status, check OgreXMLConverter.log
2024-02-01 23:54:38 [ INFO] D:\SDK\ogre\bin\OgreXMLConverter.exe -q -byte -log C:\Users\Qingzhu\Desktop\mod\OgreXMLConverter.log C:\Users\Qingzhu\Desktop\mod\Chinese_musket_04.mesh
2024-02-01 23:54:38 [ERROR] Failed to convert .mesh file C:\Users\Qingzhu\Desktop\mod\Chinese_musket_04.mesh to .xml

@QingZhuMr
Copy link
Author

23:54:38: --* OGRE Shutdown
23:54:38: Unregistering ResourceManager for type Compositor
23:54:38: Unregistering ResourceManager for type Material
23:54:38: Unregistering ResourceManager for type GpuProgram
23:54:38: Unregistering ResourceManager for type Skeleton
23:54:38: Unregistering ResourceManager for type Mesh
23:54:38: Error: Header chunk didn't match either endian: Corrupted stream?

@paroj
Copy link
Member

paroj commented Feb 1, 2024

are you able to open the mesh file with ogre-meshviewer?

@paroj paroj changed the title 导入Mesh文件遇见了问题,提示无法转化为Xml There was a problem when importing the Mesh file, prompting that it could not be converted to Xml. Feb 7, 2024
@sercero
Copy link
Collaborator

sercero commented Feb 8, 2024

Its probably not an OGRE .mesh...

@paroj
Copy link
Member

paroj commented Feb 8, 2024

there are also OGRE .mesh files that were created with a custom code base:
https://forums.ogre3d.org/viewtopic.php?t=96814

lets close this, if the reporter does not come back in a week

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

No branches or pull requests

3 participants