BeGood/RespectPeople 8 Report post Posted October 25, 2020 Greetings. I was a member with nickname Gamemaker, you may know me as developer of one of model viewers for pko/top resources. Time to time i receive questions about game resources, how to fix them or how to use them. I can't do many for you, but some hints. But even that may be helpful. Once person ask about making glow for custom weapon apparels, show what he had, and i found there are no any public converter for game files. You have php one, but it require webserver and it can't make glowable weapon. Well... I can't beleave you guys can't share so simple scripts... So i did it again. Here is small update for model viever, it allow to import obj files to static lgo with save submaterials correctly. Due obj file format limitation, you can't get 100% correctly weapons version, but somehow you managed with limited tools you had before and i really impressed with that. So i leave here binnaries and link to source code Lgo works fine Lab works fine Lmo works fine Export/Import are under view. For use export - first add item to export list from rightclick model on tree of objects. For use import - just select file and click import I not guarantee it should work as you want, but get a try! Also you always can to polish tool yourself, if you have enough skills. Link to binnaries: https://mega.nz/file/vNlkVTpa#Wd7C2-s-UpHshUF_pdBh5jumAVJFwCnE2zhj3hT8W5c Link to sources: https://github.com/WeaponOwl/PKO-file-viewer Be nice, respect people 5 2 Quote Share this post Link to post Share on other sites
BeGood/RespectPeople 8 Report post Posted October 25, 2020 On testing found one weird feature. Obj can have no texture, and this is sad. Now tool ask for enter texture name if it missing in material Link to binnaries: https://mega.nz/file/LYNWlLDI#m7hzrB4kUcGrB68yyyJQx098xMfqVg1eeE9bMQKsrTk Quote Share this post Link to post Share on other sites
BeGood/RespectPeople 8 Report post Posted October 25, 2020 Tool show no meshes with texture name 1.BMP. If you see no model after export - try to scale away and check texture name you used P.S.: Teach me how to edit thread... Quote Share this post Link to post Share on other sites
ratonter 4 Report post Posted October 25, 2020 we all glad for ur update, thanks so much for update ur tool old bro Quote Share this post Link to post Share on other sites
Snre3n 94 Report post Posted October 25, 2020 Interesting, I had just started (today) working on import/export models using Assimp. Thanks for sharing Quote Share this post Link to post Share on other sites
d3ux 25 Report post Posted October 25, 2020 Thanks for sharing your tool and updating it Quote Share this post Link to post Share on other sites
gainster81 8 Report post Posted September 8, 2021 Hi!, Great post! I am having the following issue when trying to import obj models (to then export them as lgo): (translated): "System.ArgumentOutOfRangeException: The index is out of the interval. The value must be non-negative or lower than the colection. Parameter name: index in System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) in System.Collections.Generic.List`1.get_Item(Int32 index) in PKOModelViewer.ImportForm.ImportObjToLgo(String filename) en E:\Programming\Serverdev - Legacy\pko-viewver\PKO-file-viewer\PKOModelViewer\ImportForm.cs:line 384 in PKOModelViewer.ImportForm.button3_Click(Object sender, EventArgs e) en E:\Programming\Serverdev - Legacy\pko-viewver\PKO-file-viewer\PKOModelViewer\ImportForm.cs:line 78 in System.Windows.Forms.Control.OnClick(EventArgs e) in System.Windows.Forms.Button.OnClick(EventArgs e) in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) in System.Windows.Forms.Control.WndProc(Message& m) in System.Windows.Forms.ButtonBase.WndProc(Message& m) in System.Windows.Forms.Button.WndProc(Message& m) in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)" Is there any way i can fix this? Thank you! Quote Share this post Link to post Share on other sites
Kovu 10 Report post Posted September 24, 2021 Hello, appear in this lane the error : But idk how to fixed it Quote FORO EN ESPAÑOL :) ---------------------------------------------------------------------------- Share this post Link to post Share on other sites
gainster81 8 Report post Posted December 14, 2021 BUMP, any news on this tool? Could anyone fix it to be able to import/export models without errors? Quote Share this post Link to post Share on other sites
ratonter 4 Report post Posted July 12, 2022 (edited) On 10/25/2020 at 1:06 PM, BeGood/RespectPeople said: Tool show no meshes with texture name 1.BMP. If you see no model after export - try to scale away and check texture name you used P.S.: Teach me how to edit thread... hello sir, iam trying to use the tool but it show many error.. can u make a video tutorial, showing us how u use it without problems. we would all appreciate it Edited July 12, 2022 by ratonter Quote Share this post Link to post Share on other sites