Titan Quest Fans Forum

Titan Quest - Anniversary Edition => Modifications => Installation and Tools => Topic started by: koderkrazy on 02 June 2018, 17:16:55

Title: MeshView: fixed NPE exception occurring while opening shields
Post by: koderkrazy on 02 June 2018, 17:16:55
I was getting NullPointerException while opening shield .msh files

(https://image.ibb.co/hpDehd/Msh_Viewer_Error.jpg)


After fix shield .msh could be opened.
(https://image.ibb.co/knvgvy/Msh_Viever_Fixed.jpg)

Here is the download link:
https://mega.nz/#!yCRDjaoQ!U_GEfLx1wjwMxTj-uAPDIYGD-JZsFrA5VMR28bXsIpM (https://mega.nz/#!yCRDjaoQ!U_GEfLx1wjwMxTj-uAPDIYGD-JZsFrA5VMR28bXsIpM)
File: MeshViewNPEFixed.7z
size: 1.8mb

Use MeshViewFixed.exe
Title: Re: MeshView: fixed NPE exception occurring while opening shields
Post by: nargil66 on 27 June 2018, 12:04:31
I tried opening some of the Soulvizier meshes with your fixed version, but they still crash  :(
Title: Re: MeshView: fixed NPE exception occurring while opening shields
Post by: koderkrazy on 27 June 2018, 13:04:00
What exceptions do you get?
Send me some of those meshes I'll try at my end.
Title: Re: MeshView: fixed NPE exception occurring while opening shields
Post by: nargil66 on 27 June 2018, 13:50:47
Here they are:

https://mega.nz/#F!33gi3ApA!z9qqJonGtIoeoVC9jAbi7g
Title: Re: MeshView: fixed NPE exception occurring while opening shields
Post by: koderkrazy on 28 June 2018, 14:14:55
Here they are:

https://mega.nz/#F!33gi3ApA!z9qqJonGtIoeoVC9jAbi7g
This time it threw different exception: ArrayOutOfBoundsException

Those mesh didn't open in Viewer.exe that comes with the game either.
(https://preview.ibb.co/fKS8uo/TQViewer.jpg)

I've fixed the meshView:
https://mega.nz/#!7aYVlC7S!HvnOZ7v8b90Ilda6eR294H5159D9UBXJPwNKN9B0WjY (https://mega.nz/#!7aYVlC7S!HvnOZ7v8b90Ilda6eR294H5159D9UBXJPwNKN9B0WjY)

Use MeshViewFixed2.exe

(https://preview.ibb.co/cWEXLT/helm_Mesh_View.jpg)
@nargil66  do helm and  horns look same?
Title: Re: MeshView: fixed NPE exception occurring while opening shields
Post by: nargil66 on 08 July 2018, 01:59:48
Saw this late, thanks alot for the fix. Yeah, they seem to be the same, maybe one of them is unused.
SimplePortal 2.3.7 © 2008-2024, SimplePortal