Modcraft - The community dedicated to quality WoW modding!
Projects => Software Development => PyModelEditor => Topic started by: Tigurius on July 28, 2010, 12:24:23 pm
-
So this is the Alpha Version, I'll release. It has been tested under Ubuntu and Windows Vista until now, but it should run under every OS where a Python Interpreter and PyQt is available.
Things you need:
Python 2.6.x (other versions may work aswell) (http://www.python.org/download/)
PyQt4 (http://www.riverbankcomputing.co.uk/software/pyqt/download)
PyOpenGL (most likely) (http://pyopengl.sourceforge.net/)
Currently, it's mighty enough, to add animated textures to models:
(http://imagr.eu/up/4c0cd1e420d2b_AnimatedTexture.png)
(http://imagr.eu/up/4c50042236db3_goeseteditor.jpg)
Atm it has no global m2, so you need to edit the things one after another (it doesn't update globally, yet). Big models, like Character ones, may need some time to load.
Run it via the startme.py file.
Download (http://www.file-upload.net/download-2852355/pymodeleditor.zip.html)
Last Changes:
*Added LightEditor
*Added SequenceEditor
*Bugfixes
Old Versions:
DOWNLOAD NOW! (http://filebeam.com/97a07778a45d86305ebe52b51a79ebdf)
Old: http://www.file-upload.net/download-2593348/pymodeleditor.zip.html
Older: File-Upload.net - PyModelEditor-AlphaRelease.zip (http://www.file-upload.net/download-2580684/PyModelEditor-AlphaRelease.zip.html)
-
Ive downloaded everything, but what do I open?
-
Run it via the startme.py file.
-
It opens then instantly closes...
-
Start it via cmd (Shift+righ click -> start command prompt -> either startme.py or python startme.py) and then post which errors occured.
-
it does not load pandarenmonk model... Can i make something to load this model in pymodeleditor?
-
For me it does.
Can you give me the error?
-
sure
Traceback (most recent call last):
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorpymodeleditor.py", line 156, in openM2
self.m2 = M2File(openname)
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorm2.py", line 1095, in __init__
f = open(filename,"r+b")
IOError: [Errno 22] invalid mode ('r+b') or filename: PyQt4.QtCore.QString(u'')
Traceback (most recent call last):
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorpymodeleditor.py", line 156, in openM2
self.m2 = M2File(openname)
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorm2.py", line 1134, in __init__
self.particle_emitters = ReadBlock(f,hdr.particle_emitters,Particle,self.anim_files)
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorwowfile.py", line 31, in ReadBlock
temp = func().unpack(f,animfiles)
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorm2.py", line 739, in unpack
self.Enabled = AnimBlock().unpack(f,DATA_INT,animfiles)
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorm2.py", line 337, in unpack
temp = AnimSub().unpack(f,type)
File "C:Documents and SettingsAdministradorEscritoriotemppymodeleditorm2.py", line 245, in unpack
temp, = struct.unpack("i",f.read(4))
struct.error: unpack requires a string argument of length 4
-
Have you all the *.anim files in the directory?
Also try the newest version:
http://www.file-upload.net/download-285 ... r.zip.html (http://www.file-upload.net/download-2852355/pymodeleditor.zip.html" onclick="window.open(this.href);return false;)
-
I have extracted all .anim files in the same folder; and tried with new version; but pandarenmonk seems to not work.
Traceback (most recent call last):
File "C:Documents and SettingsAdministradorEscritoriopymodeleditorpymodeleditor.py", line 188, in openM2
self.m2 = M2File(openname)
File "C:Documents and SettingsAdministradorEscritoriopymodeleditorm2.py", line 1134, in __init__
self.particle_emitters = ReadBlock(f,hdr.particle_emitters,Particle,self.anim_files)
File "C:Documents and SettingsAdministradorEscritoriopymodeleditorwowfile.py", line 31, in ReadBlock
temp = func().unpack(f,animfiles)
File "C:Documents and SettingsAdministradorEscritoriopymodeleditorm2.py", line 739, in unpack
self.Enabled = AnimBlock().unpack(f,DATA_INT,animfiles)
File "C:Documents and SettingsAdministradorEscritoriopymodeleditorm2.py", line 337, in unpack
temp = AnimSub().unpack(f,type)
File "C:Documents and SettingsAdministradorEscritoriopymodeleditorm2.py", line 244, in unpack
temp, = struct.unpack("i",f.read(4))
struct.error: unpack requires a string argument of length 4
New version is great!!! :D Maybe you could add a UV Mapping util? ^^ This could fix a bit the Murloc :D:D
EDIT:
I want to add a bug i have noticed. When i modify texture type, PyModelEditor broke .anim animations. I have changed texture type via hexedit and it works fine ^^
EDIT2:
i think i have nothiced another bug in attachment point. When adding or modifing them it brokes .anim animations too. i have tried with m2modder and attachment adder and it works fine.
-
Ok, to be completely honest here... I don't understand what this tool can do/does.
-
I can't start the programm. It close itselfs instant :/
-
Take a look ito the log or post it in here :)
-
Hey trying to get this program working...
not working out for me.
I did all of the above I downloaded all the files... I think my problem is I don't know what I am supposed to do with them / don't know were to put them / I need details.
I am kinda retarded when it comes to this stuff so I need a lot of details...
I have never ever ever EVER run python.
so please help me do this it would help me a lot with Ashbringer.
I have run the
startme py by running cmd. and then selecting it...
I don't know what you meen by shift right click.
that doesn't do anything when I try it but bring up the normal right click menu.
any help would be greatly appreciated, thanx in advance.
-
I installed everything, on startup pops an error:
Import Error: DLL load failed %1 is not a valid application of win32
O.o'
i wrote startme.py on the prompt...
-
Hey guys still trying to get this to work, I have finaly got pyqt4 opengl and python 2.6 but when I run the module it just gives me this error
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 2.6.6 ==== No Subprocess ====
>>>
Traceback (most recent call last):
File "C:UsersGamesOverDesktopPyModelEditor AlphaReleasestartme.py", line 4, in <module>
from PyQt4 import QtGui, QtCore
ImportError: No module named PyQt4
>>>
my best guess is that something is in the wrong directory, seeing as it is telling me there is no such module as pyqt4... can someone explain to me were pyqt4 is supposed to be in relation to python and were opengl 2.6 should be installed / what folder the pyqt contents should be in...
In a sum up how do I setup the files for pyqt4 opengl python and pymodel editor so they work with each other.
I would love to get this tool working but still having trouble please anyone that knows how to do this, please help. :cry:
-
i want to try ur new color, light and particle emissor editors; i will give feedback soon ^^ Thnx to be still developing it.
-
Yeah! It`s working for me!
TIP: Download QT witch matches with your python version
example: if python 2.66 download PyQt-Py2.6-x86-gpl-4.8.4-1.exe Windows 32 bit installer
-
i have a import error
cannot import name QtCore
-
if the model has particle pymodeleditor an error. (v51)
http://img109.imageshack.us/img109/4941/vellear89834.jpg
may be in the next version this will be fixed?
(if the model has no particles, then the button (Edit particles) automatically would create an "empty" particle)
-
I think something is wrong with writing bloick. Models modified by pym2 does not usually works for other programs. Maybe is it changing some format stuff? Wow reads it nice but i have several problems with this edited models then
-
C:Python32>python.exe C:UsersAymericDocumentsWorld of Warcraftpymodeledito
rpymodeleditorstartme.py
python.exe: can't open file 'C:UsersAymericDocumentsWorld': [Errno 2] No suc
h file or directory
C:Python32>python.exe "C:UsersAymericDocumentsWorld of Warcraftpymodeledit
orpymodeleditorstartme.py"
Traceback (most recent call last):
File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
startme.py", line 4, in <module>
from pymodeleditor import PyModelEditor as Editor
File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
pymodeleditor.py", line 16, in <module>
from glView import *
File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
glView.py", line 74
print "oO"
^
SyntaxError: invalid syntax
This is what i'm getting when I run it via startme.py.
I have Python32.
-
C:Python32>python.exe C:UsersAymericDocumentsWorld of Warcraftpymodeledito
rpymodeleditorstartme.py
python.exe: can't open file 'C:UsersAymericDocumentsWorld': [Errno 2] No suc
h file or directory
C:Python32>python.exe "C:UsersAymericDocumentsWorld of Warcraftpymodeledit
orpymodeleditorstartme.py"
Traceback (most recent call last):
File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
startme.py", line 4, in <module>
from pymodeleditor import PyModelEditor as Editor
File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
pymodeleditor.py", line 16, in <module>
from glView import *
File "C:UsersAymericDocumentsWorld of Warcraftpymodeleditorpymodeleditor
glView.py", line 74
print "oO"
^
SyntaxError: invalid syntax
This is what i'm getting when I run it via startme.py.
I have Python32.
pymodeleditor works only in 2.6 python.
-
Inico and me has noticed some bugs on Pymodel.
It brokes some anims (usually talk, laught and emotework)
Added attachment points do not work well (they do not appear or exist)
The first Material is always bugged, u can change the stuff but when u save it or u change to another material, the first one becomes as it was at the beginning.
DP: To the newly users that are having trouble installing it: U have to use, u must use Python 2.6.6 (or 2.6.7), pyqt4 for python 2.6 and pyopengl 3.0 (for 2.6)
-
Can I use PyModelEditor to make a Creature to Character edit? For example; Tigon with armor?
I got PyME alr but is it attachment I shall add for armor or geosets? :P
-
Can I use PyModelEditor to make a Creature to Character edit? For example; Tigon with armor?
I got PyME alr but is it attachment I shall add for armor or geosets? :P
Yes, you can.
-----
In the Textures are several types.
Hardcoded - the texture is only used in the specified path.
Item capes - This type of texturee used in, armor and weapons textures. The path to the texture is taken from the DBC. (itemdisplayinfo)
Body or Clothes - This type of texture used to texture the character's body and put on their armor (armor texture boots, gloves, bracers etc.)
------
Just change the type of texture.
------
If you want to dress to Tigon, a helmet and shoulders. You need to add three attachment. Open any character model (for example: Humanmale.m2) in py, and see how they are made for attachments them.
(http://i.hebimage.com/0811/4e40fd06bc352.png)
Full image: http://i.hebimage.com/0811/4e40fd06bc352.png (http://i.hebimage.com/0811/4e40fd06bc352.png" onclick="window.open(this.href);return false;)
-
Tigu a add you a project on the traker.
There you can collect bugs and feature requests.
bugtraker/index.php?do=toplevel&project=6 (http://modcraft.io/bugtraker/index.php?do=toplevel&project=6" onclick="window.open(this.href);return false;)
-
Tigu a add you a project on the traker.
There you can collect bugs and feature requests.
bugtraker/index.php?do=toplevel&project=6 (http://modcraft.io/bugtraker/index.php?do=toplevel&project=6" onclick="window.open(this.href);return false;)
Great!
-
bugtracker is not workin for me (im still registered and loged in)
-
Oo, I have everything working
-
i install all 3 setup's from viewtopic.php?f=53&t=164 (http://modcraft.io/viewtopic.php?f=53&t=164" onclick="window.open(this.href);return false;)
but when i start "startme.py" comes follow error : (picture is in german) http://www.imagebanana.com/view/7mt6m9z7/problem.png (http://www.imagebanana.com/view/7mt6m9z7/problem.png" onclick="window.open(this.href);return false;)
i have windows 7 64 bit, maybe i download the wrong setup's .. but it can't be the problem, can me send anyone maybe the direct downlaod link to the right setup's? when it's the problem
-
WoW, its great that something like that is possible to code in python O.O
I'm also learning Python, but i'm just at the very basic stuff, maybe in a few months I can understand how you coded this programm ;=)
-
reinstall python 2.6
-
This one looks pretty interesting too, gonna check it out!
-
When i try to open it via startme it says it's not a valid windows 32 application. Any idea how to fix this?
-
so good work
-
When i try to open it via startme it says it's not a valid windows 32 application. Any idea how to fix this?
Installs in the order listed in this topic: viewtopic.php?f=53&t=1288 (http://modcraft.io/viewtopic.php?f=53&t=1288" onclick="window.open(this.href);return false;)
-
Doesn't work for me, could anyone help me? I tried everything, but this is too difficult for me -.-
(http://[url=http://www.pic-upload.de/view-13003429/opengyl.jpg.html][IMG]http://www10.pic-upload.de/16.02.12/v9po9vfe4ng.jpg)[/url][/img]
-
Doesn't work for me, could anyone help me? I tried everything, but this is too difficult for me -.-
(http://[url=http://www.pic-upload.de/view-13003429/opengyl.jpg.html][IMG]http://www10.pic-upload.de/16.02.12/v9po9vfe4ng.jpg)[/url][/img]
Several times I wrote on the forum what you need - to pymodeleditor to work properly.
I advise you to try their hand at something more easy such as Starcraft ll or Warcraft 3 maping.
-
Pymodeledtitor don't work for me, but i installed all 2.6 Versions and 64 bit too.
here are 3 screens
http://www.imagebanana.com/view/8mv7g2wh/error1.png (http://www.imagebanana.com/view/8mv7g2wh/error1.png" onclick="window.open(this.href);return false;)
http://www.imagebanana.com/view/f2suv7pm/error2.png (http://www.imagebanana.com/view/f2suv7pm/error2.png" onclick="window.open(this.href);return false;)
http://www.imagebanana.com/view/9c9eit0r/error3.png (http://www.imagebanana.com/view/9c9eit0r/error3.png" onclick="window.open(this.href);return false;)
PS: maybe the setup's are wrong, but the download links here in the forum are deleted, so they aren't working anymore. And other things I don't find on google...
-
I can not run on my operating system: (
(http://img696.imageshack.us/img696/3594/errorxy.png) (http://imageshack.us/photo/my-images/696/errorxy.png/)
ImportError: DLL load failed:% 1 is not a valid Win32 application
-
Hey guys.
I noticed the latest version of pymodel editor link takes you to file upload, which when i click download it takes me to an error page. I was wondering if someone could re upload the latest version?
-
Link down?
-
can you reupload this file
-
Also looking for an up to date version of this in my never ending quest to be able to resize 1 stupid model. I finally managed to get mine running (my problem was using 64 bit versions, you have to use 32 bit versions of python 2.66, pyqt4 for 2.66 python, and pyopengl)
-
What is this Tool doing? What can you do with it?
-
Gonna bump this because currently there is no working link for this application anywhere. If anyone has the latest version please upload.
-
It is funny but it is in the very next topic. Anyway, here you go. viewtopic.php?f=53&t=3846 (http://modcraft.io/viewtopic.php?f=53&t=3846" onclick="window.open(this.href);return false;)
-
It is funny but it is in the very next topic. Anyway, here you go. viewtopic.php?f=53&t=3846 (http://modcraft.io/viewtopic.php?f=53&t=3846" onclick="window.open(this.href);return false;)
I used the search box to find the thread so I didn't see it on the board. Thanks for the link.
-
Link is dead. Update it plz :)