Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => General Hacking Discussion => Topic started by: ForOhFor Error on May 05, 2011, 01:24:47 PM



Title: [Python] Polygon Reattacher
Post by: ForOhFor Error on May 05, 2011, 01:24:47 PM
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).


Title: Re: [Python] Polygon Reattacher
Post by: DarkPikachu on May 05, 2011, 01:41:48 PM
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 :)


Title: Re: [Python] Polygon Reattacher
Post by: ForOhFor Error on May 05, 2011, 02:10:30 PM
Yeah.
Oh, don't try this on multibone polygons.

Just don't.


Title: Re: [Python] Polygon Reattacher
Post by: DarkPikachu on May 05, 2011, 02:14:43 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


Title: Re: [Python] Polygon Reattacher
Post by: ForOhFor Error on May 05, 2011, 06:16:43 PM
XD
Download updated, just a switch from .py to .pyw (thanks for the hint, Tcll!)


Title: Re: [Python] Polygon Reattacher
Post by: DarkPikachu on May 05, 2011, 06:53:58 PM
thanks 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


Title: Re: [Python] Polygon Reattacher
Post by: ToddL on May 06, 2011, 03: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.


Title: Re: [Python] Polygon Reattacher
Post by: ForOhFor Error on May 06, 2011, 04:13:46 AM
Yeah, it would be better to ask DrPanda.


Title: Re: [Python] Polygon Reattacher
Post by: BlueBrain on May 13, 2011, 08:40:12 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...


Title: Re: [Python] Polygon Reattacher
Post by: ForOhFor Error on May 13, 2011, 12:52:19 PM
Hmm. Is it in the same place -- 7 bytes from the offset?


Title: Re: [Python] Polygon Reattacher
Post by: BlueBrain on May 13, 2011, 04:45:40 PM
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...