Page 6 of 10

Re: Universal Century Gundam Online .DET

Posted: Wed Aug 03, 2011 10:43 am
by Nexus Elite
finale00 wrote:Works fine for me when I clicked on it. Parsed the sample.det file and output a gundam MQO.

It is most likely some other issue you are having, like maybe environment variables or something (like maybe python is not on the search path).
alon wrote:What version Sanae to install with Python?
I wrote it in python 2.6 and know that it works with 2.7.
Not sure if it works for 3.x though it should since I don't use any libraries beyond os.

Maybe some syntax has changed since 2.x, don't know.
I've tried the CMD and bat as well, nothing seem to respond, i have python 2.6 installed too.

Re: Universal Century Gundam Online .DET

Posted: Wed Aug 03, 2011 3:38 pm
by youngmark
finale00 wrote:Works fine for me when I clicked on it. Parsed the sample.det file and output a gundam MQO.

It is most likely some other issue you are having, like maybe environment variables or something (like maybe python is not on the search path).
alon wrote:What version Sanae to install with Python?
I wrote it in python 2.6 and know that it works with 2.7.
Not sure if it works for 3.x though it should since I don't use any libraries beyond os.

Maybe some syntax has changed since 2.x, don't know.

The Python 2.6 and Sanae 2011-08-02 seems OK. Maybe something else is wrong.
I tried again and again, but couldn't succeed.

Re: Universal Century Gundam Online .DET

Posted: Wed Aug 03, 2011 6:06 pm
by dj082502
When I click on a bat file nothing happens!, too.

Re: Universal Century Gundam Online .DET

Posted: Wed Aug 03, 2011 11:00 pm
by finale00
Typically you should have some idea how command-line works before trying to use a batch file.
Anyways it's just a small import/exporter to see whether the format is correct, not a complete work, so unless you plan to try to figure out more of the format it would just be a waste of time.

Re: Universal Century Gundam Online .DET

Posted: Fri Aug 05, 2011 5:57 pm
by youngmark
Is that something that I should solve
Image
I had two *.pyc files(__init__.pyc & UCGundamnOnline_det.pyc) but no mqo_parser.pyc & obj_parser.pyc.

Please forgive my poor English.

Re: Universal Century Gundam Online .DET

Posted: Fri Aug 05, 2011 8:22 pm
by finale00
viewtopic.php?f=29&t=6932

Continue here for troubleshooting the program.

Re: Universal Century Gundam Online .DET

Posted: Sat Aug 06, 2011 11:19 pm
by finale00
Haven't tried to figure out anything after since I got the basic geometry, but I've verified the data I think are normals...look right (I don't know, I just assume if those normals appear nicely then it should be fine)

Re: Universal Century Gundam Online .DET

Posted: Sat Aug 20, 2011 7:37 am
by alientech
How can I convert det file to mqo?
I type "python sanae.py m10.det" in cmd, It display like this.

Code: Select all

Traceback (most recent call last):
  File "sanae.py", line 156, in <module>
    engine.run()
  File "sanae.py", line 144, in run
    self.load_package_plugins(plugins)
  File "sanae.py", line 35, in load_package_plugins
    module = __import__(modname, fromlist = "dummy")
  File "D:\Python26\plugins\Illusion_xm.py", line 4, in <module>
    from .lib.ModelObject import Model3D
ImportError: No module named lib.ModelObject

Re: Universal Century Gundam Online .DET

Posted: Sat Aug 20, 2011 1:10 pm
by finale00
Sometimes it is required to type python, sometimes not.
I think it has something to do with environment variables, but am not sure.

All questions about Sanae 3D should go viewtopic.php?f=29&t=6932

Re: Universal Century Gundam Online .DET

Posted: Sun Aug 21, 2011 3:25 am
by alientech
aright, now I can export it but it have a problems with pivot point. All pieces have set x,y,z=0. How can I solve this?

Re: Universal Century Gundam Online .DET

Posted: Sun Aug 21, 2011 4:01 am
by finale00
I don't know anything about that.
Someone else will have to continue figuring out the rest of the format (although the admin of the private server already knows it completely but doesn't want to release information)

The script only parses the basic geometry after all.

Re: Universal Century Gundam Online .DET

Posted: Sun Aug 21, 2011 4:09 am
by Nexus Elite
Where would the DET files be for the mechs? can't seem to find them

Re: Universal Century Gundam Online .DET

Posted: Sun Aug 21, 2011 7:29 am
by Hitakashi
finale00 wrote:Haven't tried to figure out anything after since I got the basic geometry, but I've verified the data I think are normals...look right (I don't know, I just assume if those normals appear nicely then it should be fine)
Flip it (not moving the gun around, but flipping the body so the trigger is on the bottom) unless you know that lol. Is that how it would appear in game without any other files moving it?

alientech wrote:aright, now I can export it but it have a problems with pivot point. All pieces have set x,y,z=0. How can I solve this?
Thats how it's made, something in the game sorts it all out and moves them.

finale00 wrote:I don't know anything about that.
Someone else will have to continue figuring out the rest of the format (although the admin of the private server already knows it completely but doesn't want to release information)

The script only parses the basic geometry after all.
I don't think he knows how to actually make a new MS with no problems, but he can take weapons, edit them and put them back.
Nexus Elite wrote:Where would the DET files be for the mechs? can't seem to find them
Only a few people know how to unpack them, but someone else posted something to get them. (guy with the green name)

Re: Universal Century Gundam Online .DET

Posted: Mon Aug 22, 2011 1:51 am
by Nexus Elite
Hitakashi wrote:
finale00 wrote:
Nexus Elite wrote:Where would the DET files be for the mechs? can't seem to find them
Only a few people know how to unpack them, but someone else posted something to get them. (guy with the green name)
But which files is it to extract from it? not sure which archive would it be.

Re: Universal Century Gundam Online .DET

Posted: Mon Aug 22, 2011 2:49 am
by finale00
I don't remember which ones I unpacked them from, but you can just write a batch script to unpack everything and then look at the filenames. It should be easily identifiable from there, assuming you're familiar with the series.