ForOhFor's Python Nest [Collisions to shadow system program released! 10/11/11]

Started by ForOhFor Error, July 06, 2011, 03:20:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.



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

FC: 2191-7379-6272

July 07, 2011, 02:40:56 AM #1 Last Edit: September 27, 2011, 09:11:51 PM by ForOhFor Error
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.

FC: 2191-7379-6272

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.

FC: 2191-7379-6272

u should try to update ur brres model hexing separator file so that it can also hex other model types.
https://privateladyescorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Video Chat Private Lady

I might, soon.

FC: 2191-7379-6272


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 ;)

[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.

August 10, 2011, 02:32:17 AM #7 Last Edit: August 10, 2011, 02:34:54 AM by DSX8
Quote from: Tcll on August 10, 2011, 02:30:04 AM
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 ;)
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)
https://privateladyescorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Video Chat Private Lady

August 10, 2011, 02:44:07 AM #8 Last Edit: August 10, 2011, 02:47:05 AM by Tcll
Quote from: DSX8 on August 10, 2011, 02:32:17 AMO.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

[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.

Quote from: Tcll on August 10, 2011, 02:44:07 AM

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
https://privateladyescorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Video Chat Private Lady

Quote from: DSX8 on August 10, 2011, 02:56:36 AMhah 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

[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.

Quote from: Tcll on August 10, 2011, 03:03:40 AM
*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! :D
https://privateladyescorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Video Chat Private Lady

August 10, 2011, 11:33:20 AM #12 Last Edit: August 10, 2011, 11:34:11 AM by Tcll
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)

[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.

August 10, 2011, 05:17:18 PM #13 Last Edit: August 10, 2011, 05:35:10 PM by DSX8
Quote from: Tcll on August 10, 2011, 11: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)
ah i see... hmm... and his program doesnt fix those doesnt it?
https://privateladyescorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Video Chat Private Lady

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

FC: 2191-7379-6272