Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: [Python] Polygon Reattacher  (Read 2663 times)
0 Members and 1 Guest are viewing this topic.
ForOhFor Error
Holy Kitten
*
Offline Offline

Posts: 1477


DOG is your destiny

  • Awards Fiery Topic Pin Collector Starstormer Famous Hacker KCMM Veteran

  • View Profile Awards
    « 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).
    « Last Edit: May 05, 2011, 01:26:19 PM by ForOhFor Error » Logged


    FC: 2191-7379-6272

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3064


    complexity == fun

  • Awards Hot Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile WWW Awards
    « Reply #1 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 Tongue

    btw, nice program Smiley
    Logged


    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.

    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1477


    DOG is your destiny

  • Awards Fiery Topic Pin Collector Starstormer Famous Hacker KCMM Veteran

  • View Profile Awards
    « Reply #2 on: May 05, 2011, 02:10:30 PM »


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

    Just don't.
    Logged


    FC: 2191-7379-6272

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3064


    complexity == fun

  • Awards Hot Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile WWW Awards
    « Reply #3 on: May 05, 2011, 02:14:43 PM »


    Oh, don't try this on multibone polygons.
    I already figured Tongue

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

    see what you're making me do XD
    Logged


    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.

    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1477


    DOG is your destiny

  • Awards Fiery Topic Pin Collector Starstormer Famous Hacker KCMM Veteran

  • View Profile Awards
    « Reply #4 on: May 05, 2011, 06:16:43 PM »


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


    FC: 2191-7379-6272

    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3064


    complexity == fun

  • Awards Hot Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile WWW Awards
    « Reply #5 on: May 05, 2011, 06:53:58 PM »


    thanks for the hint, Tcll!
    lol no prob Wink

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

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

    especially in the MDL0 area Tongue
    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
    « Last Edit: May 05, 2011, 07:04:30 PM by Tcll » Logged


    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.

    ToddL
    Mega Kitten
    *****
    Offline Offline

    Posts: 137



    View Profile Awards
    « Reply #6 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.
    Logged

    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1477


    DOG is your destiny

  • Awards Fiery Topic Pin Collector Starstormer Famous Hacker KCMM Veteran

  • View Profile Awards
    « Reply #7 on: May 06, 2011, 04:13:46 AM »


    Yeah, it would be better to ask DrPanda.
    Logged


    FC: 2191-7379-6272

    jjookkeekkiidd
    God Kitten
    *******
    Offline Offline

    Posts: 8947


    blergh

  • Awards Infinite Smash Team Super Saiyan Topic >9000 Heart Container Hey! Listen!

  • View Profile WWW Awards
    « Reply #8 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...
    « Last Edit: May 13, 2011, 10:46:27 AM by jokekid » Logged


    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1477


    DOG is your destiny

  • Awards Fiery Topic Pin Collector Starstormer Famous Hacker KCMM Veteran

  • View Profile Awards
    « Reply #9 on: May 13, 2011, 12:52:19 PM »


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


    FC: 2191-7379-6272

    jjookkeekkiidd
    God Kitten
    *******
    Offline Offline

    Posts: 8947


    blergh

  • Awards Infinite Smash Team Super Saiyan Topic >9000 Heart Container Hey! Listen!

  • View Profile WWW Awards
    « Reply #10 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...
    Logged


    Pages: [1]
    Print
    Jump to: