Home Gallery Resources The Team Rules chat Login Register
Pages:  [1] 2 3
Author Topic: ForOhFor's Python Nest [Collisions to shadow system program released! 10/11/11]  (Read 18460 times)
0 Members and 1 Guest are viewing this topic.
ForOhFor Error
Holy Kitten
*
Offline Offline

Posts: 1472


DOG is your destiny

  • Awards Super Saiyan Topic Pin Collector Starstormer Famous Hacker

  • View Profile Awards
    « on: July 06, 2011, 09:20:42 AM »




    Yep, I'm a novice Python programmer (Just started seriously this year) and have made a few simple (and one not-so-simple) brawl hacking utilities.

    All of them require Python to run (Python 2.7 is what I use, you should install that version).
    You can get Python for free at http://python.org/download/

    So, on to the programs!

    PyShade (Collisions to shadow system converter):
    Adding the shadow system to a stage is time-consuming and annoying. I've made a program to streamline the process, by outputting shadow models that follow the path of a loaded collision file.

    Contains a config file, the options should be straight-forward.

    Download:
    http://dl.dropbox.com/u/5869687/PyShade.zip

    Brres Model Fixer:
    Based on FW's programs for imported model fixing, this program fixed all of the models in a brres file.
    The methods are... a bit buggy. They won't work on some games. Please tell me what games this does work on.
    Confirmed games:
    Okami
    File to run:
    PyModHex.pyw
    Download:
    http://dl.dropbox.com/u/5869687/BrresModelFixer.zip

    Brres Separator (Auto-Hexing):

    You're looking through a file, and it clearly has BRRES files in it (a memory dump, or some file from an iso, whatever.) However, it would take hours to extract them all manually.

    This happened when I was looking through the stage files from okami. So I wrote a small program to fix it.

    Simply start the program, select the file with the brres files contained within, and relax as the BRRES Separator creates all the BRRES files in that file, in the same directory the file is in.

    What's more, this program will now AUTOMATICALLY hex the models in the BRRES!

    File To Run:
    BrresSep.py
    Download:
    http://dl.dropbox.com/u/5869687/AutoHexBrresSep.zip

    Brres Separator (Non-Auto-Hexing):
    Same as the above, but does not hex automatically. For files my Model Fixer cannot fix as of yet.
    Download:
    http://dl.dropbox.com/u/5869687/BrresSep.py

    Automatic Polygon Reattacher:
    It's a program that automatically does the steps in this tutorial:
    http://forums.kc-mm.com/index.php?topic=23654.0
    Download:
    http://dl.dropbox.com/u/5869687/PythonPolygonReattacher.zip
    « Last Edit: October 11, 2011, 08:44:32 PM by ForOhFor Error » Logged


    FC: 2191-7379-6272

    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1472


    DOG is your destiny

  • Awards Super Saiyan Topic Pin Collector Starstormer Famous Hacker

  • View Profile Awards
    « Reply #1 on: July 06, 2011, 08:40:56 PM »


    Current running projects:

    Wireframe model maker (sort of) and viewer:
    A simple model viewer I'm building to display a model of my own primitive format in wireframe mode. Just a bit of playing around to see how much I can do. A demo may be released if it gets any good.

    Collisions to shadow system:
    Adding the shadow system to a stage is time-consuming and annoying. I'm making a program to streamline the process, by making the shadow system follow collisions.
    « Last Edit: September 27, 2011, 03:11:51 PM by ForOhFor Error » Logged


    FC: 2191-7379-6272

    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1472


    DOG is your destiny

  • Awards Super Saiyan Topic Pin Collector Starstormer Famous Hacker

  • View Profile Awards
    « Reply #2 on: August 09, 2011, 05:22:23 PM »


    Bump with an update.

    I'm working on a program that runs on your computer being mostly passive. If you update a file in your dropbox account, then it detects it and, depending on the command, can give you a list of files and folders in a folder (to find files) and can send ANY FILE FROM THE COMPUTER IT'S RUNNING ON to your email.

    Right now, it requires a link to the file on dropbox, and a gmail account with its password. I use a gmail account I only use for having Python send mail.

    There's a version that can do it entirely through email, but it's very buggy.
    Logged


    FC: 2191-7379-6272

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #3 on: August 09, 2011, 05:36:28 PM »


    u should try to update ur brres model hexing separator file so that it can also hex other model types.
    Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1472


    DOG is your destiny

  • Awards Super Saiyan Topic Pin Collector Starstormer Famous Hacker

  • View Profile Awards
    « Reply #4 on: August 09, 2011, 05:42:42 PM »


    I might, soon.
    Logged


    FC: 2191-7379-6272

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #5 on: August 09, 2011, 06:26:52 PM »


    I might, soon.
    ok Cheesy
    Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #6 on: August 09, 2011, 08:30:04 PM »


    btw, I couldn't help but knowtice...

    your model fixer doesn't fix the string offsets >_>


    btw...
    you don't appear to even know how it works...

    I can tell ya if you like Wink
    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.

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #7 on: August 09, 2011, 08:32:17 PM »


    btw, I couldn't help but knowtice...

    your model fixer doesn't fix the string offsets >_>


    btw...
    you don't appear to even know how it works...

    I can tell ya if you like Wink
    O.o  so is that y some of the okami models or textures dont work in Dolphin? (i use dolphin for testin my stages since i dont have my wii around me)
    « Last Edit: August 09, 2011, 08:34:54 PM by DSX8 » Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #8 on: August 09, 2011, 08:44:07 PM »


    O.o  so is that y some of the okami models or textures dont work in Dolphin? (i use dolphin for testin my stages since i dont have my wii around me)

    nah...
    if it's with dolphin, IDK what the error is...

    all I know is Okami uses v11 MDL0's

    however...
    it could possibly be a plugin or version error...

    different dolphin versions work differently with different computers...
    so the error with Okami may not happen on my computer

    EDIT:
    DEEERRRP...
    you're talking about okami models working in brawl

    A: that could be a possibility
    « Last Edit: August 09, 2011, 08:47:05 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.

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #9 on: August 09, 2011, 08:56:36 PM »



    nah...
    if it's with dolphin, IDK what the error is...

    all I know is Okami uses v11 MDL0's

    however...
    it could possibly be a plugin or version error...

    different dolphin versions work differently with different computers...
    so the error with Okami may not happen on my computer

    EDIT:
    DEEERRRP...
    you're talking about okami models working in brawl

    A: that could be a possibility
    hah yeah, i meant Okami Models working in brawl. cause v4 i added more okami models to my stage, i started to get a error wit dolphin after adding a tree model from the game, then the error happened. would u be able to fix this urself tcll? o.o
    Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #10 on: August 09, 2011, 09:03:40 PM »


    hah yeah, i meant Okami Models working in brawl. cause v4 i added more okami models to my stage, i started to get a error wit dolphin after adding a tree model from the game, then the error happened. would u be able to fix this urself tcll? o.o
    *sigh*
    I don't  feel like, nor am I in the correct position, to fix nearly 60-80 string offsets...

    Pachirisu's bad enough with nearly 20 offsets... so yeh... I give on that... heh
    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.

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #11 on: August 09, 2011, 09:28:30 PM »


    *sigh*
    I don't  feel like, nor am I in the correct position, to fix nearly 60-80 string offsets...

    Pachirisu's bad enough with nearly 20 offsets... so yeh... I give on that... heh
    O_o  wow u have to fix 60-80 offsets in his MDL0 hexing program? yikes o.e... thats... bad ill say... i say tell ForOhFor on how to fix it and he should be able to do it! Cheesy
    Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    DarkPikachu
    Angel Kitten
    ***
    Offline Offline

    Posts: 3069


    complexity == fun

  • Awards Super Saiyan Topic Heart Container KCMM Veteran Tutorial Writer

  • View Profile Awards
    « Reply #12 on: August 10, 2011, 05:33:20 AM »


    not in his program...
    they're in the MDL0's

    but when fixing...
    the string data has to have a value subtracted from it
    (not sure how to get that value at this moment)
    « Last Edit: August 10, 2011, 05:34:11 AM 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.

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #13 on: August 10, 2011, 11:17:18 AM »


    not in his program...
    they're in the MDL0's

    but when fixing...
    the string data has to have a value subtracted from it
    (not sure how to get that value at this moment)
    ah i see... hmm... and his program doesnt fix those doesnt it?
    « Last Edit: August 10, 2011, 11:35:10 AM by DSX8 » Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    ForOhFor Error
    Holy Kitten
    *
    Offline Offline

    Posts: 1472


    DOG is your destiny

  • Awards Super Saiyan Topic Pin Collector Starstormer Famous Hacker

  • View Profile Awards
    « Reply #14 on: August 10, 2011, 11:29:46 AM »


    No, my program changes so little, and I don't know what I'm even changing. I just automated a tutorial, basically.
    Logged


    FC: 2191-7379-6272

    Pages:  [1] 2 3
    Print
    Jump to: