[Python] Polygon Reattacher

Started by ForOhFor Error, May 05, 2011, 07:24:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

May 05, 2011, 07:24:47 PM Last Edit: May 05, 2011, 07:26:19 PM by ForOhFor Error
It's a program the automatically do the steps in this tutorial:
http://forums.kc-mm.com/index.php?topic=23654.0

And... here's the download:
http://dl.dropbox.com/u/5869687/PythonPolygonReattacher.zip

Requires Python to be installed (http://python.org).

FC: 2191-7379-6272

you know...
you don't have to include the pyc

the pyc is just a compiled copy of the py plugin

the plugins for my converter will be pyc files when I release it
the dever's version will have the py files

also...
if you're making a window'd app,
you can use pyw files :P

btw, nice program :)

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

Yeah.
Oh, don't try this on multibone polygons.

Just don't.

FC: 2191-7379-6272

Quote from: ForOhFor Error on May 05, 2011, 08:10:30 PM
Oh, don't try this on multibone polygons.
I already figured :P

it won't work on poly- oop... OBJECTS with node tables...
(vertex/weight gropus)

see what you're making me do XD

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

XD
Download updated, just a switch from .py to .pyw (thanks for the hint, Tcll!)

FC: 2191-7379-6272

May 06, 2011, 12:53:58 AM #5 Last Edit: May 06, 2011, 01:04:30 AM by Tcll
Quote from: ForOhFor Error on May 06, 2011, 12:16:43 AMthanks for the hint, Tcll!
lol no prob ;)

I'm just glad there's another helper to the community :)

just be careful at making global methods
as some of those may be quite susseptical to alot of change

especially in the MDL0 area :P
I just need to learn to shut my big mouth once in a while... lol
too many fans = rage party

fans: HURRY UP AND FINISH THIS!!!
progger: SHUT UP PEOPLE, IT'S NOT PERFECTED YET!!!
*rage war begins*

EDIT:
hey 404...
how good are you at Tk??

I need some help in getting the SCBW finished :/
(for 2 different plugins using the same format)

conversion types:
0 reference: done
single reference: done
multi reference: not done

eg:
.dat format conversion formats:

list = ['melee','TOV']

_if len(list) > 1:
_    for value in list:
_        create button

[spoiler]Quote: Friedslick6
you have been through a lot of hassle. I've watched every topic you posted on this, and most of them seemed to disintegrate gradually.
But the coolest part was that you didn't stop working on it despite that.

Quote: Internet Explorer
you're doing more with your life right now than probably most other people around you. You're a valuable asset to the Smash community. So yeah, you should be proud.

quote: Greg
You do have a gift which I've seen many developers use to their advantage. You can become a great coder, and with all of those ideas I think you can really build something great.

I tried to use this program to attach Toon Link's shield to his RHaveN bone, but only had partial success.  When I preview the file in Brawlbox I see that the shield has been attached to the RHaveN bone just as intended and everything seems excellent, but when I load up the modified Toonlink in game and select a stage I get a silent freeze on the SSS right before the stage is loaded.
Any idea what might be causing this?

Also, if it would be more appropriate for me to post this question in Dr.Panda's thread instead of here, let me know and I'll do so.

Yeah, it would be better to ask DrPanda.

FC: 2191-7379-6272

May 13, 2011, 02:40:12 PM #8 Last Edit: May 13, 2011, 04:46:27 PM by jokekid
Quote from: toddtj on May 06, 2011, 09:11:30 AM
I tried to use this program to attach Toon Link's shield to his RHaveN bone, but only had partial success.  When I preview the file in Brawlbox I see that the shield has been attached to the RHaveN bone just as intended and everything seems excellent, but when I load up the modified Toonlink in game and select a stage I get a silent freeze on the SSS right before the stage is loaded.
Any idea what might be causing this?

Also, if it would be more appropriate for me to post this question in Dr.Panda's thread instead of here, let me know and I'll do so.

this happened to me too, and i found the reason, ur program edits the mdl0offset from the polygon u reattach...

im trying it now mannually with hxd, and if it works its really ur program...

EDIT: i tested it through manual hexing, and its a fault in ur app...

Hmm. Is it in the same place -- 7 bytes from the offset?

FC: 2191-7379-6272

well, in brawlbox it works fine, the problem is that ur program for some reason changes the mdl0offset of the edited polygon, ive done all the tests that can be done, and i assure u its ur app. this is what ive done:

first i found this freeze by surprise...
than i took a regular fittoonlink mdl0 and edited the hand's shield to his head, FREEZE
after that i did the same with his back shield (the hand shield is on his hand in this experiment), FREEZE
then i did it manually with drpanda's guide for HxD, and it worked perfectly...

ur program probably doesnt respect offsets, jus like PSA, when u change sumthing the offset changes, while doing it with HxD it conserves the offset...
my 2 cents...