[Python] All-in-one import hexer. Version 2! GUI and multiple file support!

Started by ForOhFor Error, April 07, 2011, 12:40:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

So, properly following the steps I've been trying to follow gives the exact output as the existing fixer does.
That's good...
any other way, and I'd go insane XD

FC: 2191-7379-6272

April 08, 2011, 03:36:17 AM #16 Last Edit: April 08, 2011, 03:54:33 AM by ForOhFor Error
HYESS!
I've done it!
I've fixed the problem!
The program will now fix every header in any amount of MDL0 files!

EDIT: Wait... what?
I ran it through some... fixed 'em fine.
Then I ran it through some different files.
It made every model be named ÿÿÿ¸ÿÿÿÀ
clearly, I have some bugs...

FC: 2191-7379-6272

April 08, 2011, 07:21:26 PM #17 Last Edit: April 08, 2011, 07:23:38 PM by Tcll
glad to hear of your progress :)

I'll prbly do better if I get your src when it's finished ;)

EDIT:
can you leave alot of commenting like I do :/

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

April 09, 2011, 01:20:11 AM #18 Last Edit: April 09, 2011, 01:22:03 AM by ForOhFor Error
I added a lot of comments. The second function has no comments, but you should be able to figure it out, it's almost the same as the first function.

Alpha version released, only fixes the header:
http://dl.dropbox.com/u/5869687/PythonModelHexer%20-%20HEADER%20ONLY%20ALPHA.rar
It should determine which function is needed.
If it doesn't work, please post a bug report here.

FC: 2191-7379-6272

alright :)

also, could I reverse-engineer this...??
like say I wanted to get a model from brawl into Pokepark or some game

I want my converter to be able to work both ways :/

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

When i double click it says windows can't open this file what do i do?
-

Quote from: the98pika on April 09, 2011, 03:10:34 AM
When i double click it says windows can't open this file what do i do?

You install python 2.6

lol

Quote from: Tcll on April 09, 2011, 03:03:54 AM
alright :)

also, could I reverse-engineer this...??
like say I wanted to get a model from brawl into Pokepark or some game

I want my converter to be able to work both ways :/
Sure :D
BTW, I'm fine-tuning my BRRES separator to auto-fix the brres files output from it.

FC: 2191-7379-6272

April 10, 2011, 08:28:16 PM #23 Last Edit: April 10, 2011, 08:39:54 PM by ForOhFor Error
I realized that, though going at header fixing on a model-by-model basis works quite well, the same cannot be said for material and polygon fixing.

Therefore, I'm doing separate counts of models, materials, and polygons.

BTW, material fixing is working. I think.
EDIT: My mistake. It's ALMOST working.

FC: 2191-7379-6272

This is going to be a good program, good luck ForOhFoR~

Thanks to soul for this sexy siggy!
Central Thread:
http://forums.kc-mm.com/index.php?topic=21501.msg402601#msg402601

Thanks

I haven't gotten much working. I'm gonna work on it more this weekend.

And I'm also gonna learn how to 3D print this Sunday (not that I have a 3D printer)!

FC: 2191-7379-6272

Program completed, download here:
http://dl.dropbox.com/u/5869687/Python%20Model%20Hexer%20-%20Complete.zip

Gonna go implement these functions in the BRRES separator.

FC: 2191-7379-6272


I'm gonna try my hand at brres conversion as well...

since the brres format is more like the blend format... somewhat
pac/pcs is actually closer

Melee's dat format is like a brres that can't be split D:
^blah

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

Oh, Tcll, check out the brres separator thread. I've implemented the model fixing into it, so it will fix every mdl0 in every brres in the input file.

Which means you can extract and fix all of pokepark's pokemon very, very quickly.
;D

FC: 2191-7379-6272