Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => General Hacking Discussion => Topic started by: DarkPikachu on March 04, 2011, 03:01:04 PM



Title: REFT extractor + REFT viewer progress
Post by: DarkPikachu on March 04, 2011, 03:01:04 PM

just a small program I made to tide the community over until I release my viewer

this just takes the tex0 data and writes tex0's of however many images are in the file

note:
CI4 and CI8 formats arn't supported
(not a big deal though as they're rare to come across)

the pallet data is right below the image data
I've not gotten to seperating the data yet... heh

anyways...
you can DL it here: http://myfreefilehosting.com/f/e5eae62328_0.1MB

EDIT: requires Python
(and only Python)

built with Python 2.5


Title: Re: REFT extractor
Post by: KTH on March 04, 2011, 03:06:16 PM
Thank.


Title: Re: REFT extractor
Post by: ??_? on March 04, 2011, 03:11:48 PM
omg gr8


Title: Re: REFT extractor
Post by: KTH on March 04, 2011, 03:28:36 PM
Oh man, i've a little problem...

When i select the MiscData[2], the program freeze.


Title: Re: REFT extractor
Post by: DarkPikachu on March 04, 2011, 03:42:43 PM
dude...
don't post here if you're going to PM me about it... heh

I tested it on about 3-4 different REFT files before UL-ing...
so it worked when I UL'd it ;)


Title: Re: REFT extractor
Post by: KTH on March 04, 2011, 03:50:43 PM
For me, it's freezing :srs:


Title: Re: REFT extractor
Post by: ??_? on March 04, 2011, 06:01:18 PM
Is your download down?
nvm


Title: Re: REFT extractor
Post by: KTH on March 05, 2011, 08:26:39 AM
Okay.

Now Python don't freeze, but that do nothing.


Title: Re: REFT extractor
Post by: DarkPikachu on March 05, 2011, 09:11:40 AM
Okay.

Now Python don't freeze, but that do nothing.
??

you should have a bunch of TEX0 files in either the program directory,
or the REFT directory...


Title: Re: REFT extractor
Post by: Eternal Yoshi on March 05, 2011, 02:51:36 PM
Not all MiscData[2] files in moveset.pacs appear to be of the .reft format.....

Some are in RE3D format...

For the ones that ARE in that format, the program works fine.


Title: Re: REFT extractor
Post by: DarkPikachu on March 05, 2011, 04:34:58 PM
Not all MiscData[2] files in moveset.pacs appear to be of the .reft format.....

Some are in RE3D format...

For the ones that ARE in that format, the program works fine.
exactly

it wouldn't surprise me even if there was a MD[1] or MD[3] that was in REFT format

and one more Q I have yet to answer is does an REFT file always contain images,
or can it contain models

usually the REFF format contains models or anything else :/

and no they're not in the usual formats...


Title: Re: REFT extractor
Post by: standardtoaster on March 05, 2011, 10:46:24 PM
I tried using this on toon link and it didn't work. I exported the MiscData[2] from FitToonLink.pac to my desktop (checked in HxD to make sure it's REFT) and then dragged it on to the python file. It errored with "Unable to execute - arguments list is too long"

Any idea how to fix this? It happens with every REFT I try. :/


Title: Re: REFT extractor
Post by: DarkPikachu on March 05, 2011, 11:11:38 PM
I tried using this on toon link and it didn't work. I exported the MiscData[2] from FitToonLink.pac to my desktop (checked in HxD to make sure it's REFT) and then dragged it on to the python file. It errored with "Unable to execute - arguments list is too long"

Any idea how to fix this? It happens with every REFT I try. :/

run the program and select the file

IDK how to do DnD onto the prog...


Title: Re: REFT extractor
Post by: DarkPikachu on March 07, 2011, 06:49:38 PM
is there anyone that would like to know how this program works??



as you know, I won't be releasing an UD to this...
this program is only to tide the community over until I actually complete my tool
(it view's the images and allows replacementof images)

I do intend to turn my tool into somewhat of an editor allowing you to add/remove images

so yea...
just letting you know of my plans ;)


Title: Re: REFT extractor
Post by: KTH on March 08, 2011, 01:54:33 PM
Man, i've do something.

I've select the .reft (MiscData) and put him into REFT_Ex. That open a black windows and a second windows for select the .reft. I select and.... nothing.


Title: Re: REFT extractor
Post by: Eternal Yoshi on March 08, 2011, 02:16:46 PM
You DID rename it to have the .reft format right?


Title: Re: REFT extractor
Post by: DarkPikachu on March 08, 2011, 03:03:18 PM
You DID rename it to have the .reft format right?

yea... he says he did,
but he's saying nothing happens after selecting the reft...

@KTH
did you check the program directory??


Title: Re: REFT extractor
Post by: KTH on March 09, 2011, 10:53:51 AM
Yeah, i've tried with open program method and that cause a freeze.


Title: Re: REFT extractor
Post by: DarkPikachu on March 09, 2011, 04:34:12 PM
what are you getting at...
all you have to do is D-click the program (REFT_Ex.py) and select the file :srs:
the TEX0 files should show up in the program directory :notimp:


Title: Re: REFT extractor + REFT viewer progress
Post by: DarkPikachu on March 15, 2011, 12:06:36 PM
well, since nothing's being done here,
I thought I might post a little progress of my viewer on this useless thread...

so here it is:
there's still quite a few formats to finish, but here's what's done so far

I4: complete
[no image]

I8: complete
(https://jump.matthewevan.xyz/i2p/pxbcwxbhxj2wusliwhrb6ym4vcwpihztuf2tfjejrcdzqrmnjuoa.b32/_/fba0355c44b1741e73913d34d36c888be316526197036530288ad0b14be002fc)

IA4: soon to test

IA8: complete
(https://jump.matthewevan.xyz/i2p/pxbcwxbhxj2wusliwhrb6ym4vcwpihztuf2tfjejrcdzqrmnjuoa.b32/_/2b4d15ed4f0f8ad63033f1db0ed1d7170ae6d1c301db36c6fd7b1522a78187b9)

RGB565: ~96% color accuracy, but is complete for now
(https://jump.matthewevan.xyz/i2p/pxbcwxbhxj2wusliwhrb6ym4vcwpihztuf2tfjejrcdzqrmnjuoa.b32/_/eb7f4bd5289635edf0e6eb7158a7cce48906d080e582ed25f9db52325a5416c0)

RGB5A3: soon to test (need an REFT with the format)

RGBA8: incomplete

CI4: incomplete

CI8: incomplete


Title: Re: REFT extractor + REFT viewer progress
Post by: ??_? on March 15, 2011, 01:44:40 PM
excellent ^^ have you posted this at SWF?


Title: Re: REFT extractor + REFT viewer progress
Post by: DarkPikachu on March 15, 2011, 02:13:51 PM
excellent ^^ have you posted this at SWF?

not yet...

need to finish a little more on it...


Title: Re: REFT extractor + REFT viewer progress
Post by: DarkPikachu on May 03, 2011, 01:36:02 PM
yes... I know it's been over 21 days...
(not sure why that matters) >_>

anyways...
I'm stopping my REFT viewer since BJ will be adding support for REFT files to his brawlbox

it's much better this way since I'm starting w/o a GUI,
and have little knowledge on building one that actually works right...

I'm helping him since I have the knowledge and he has the code... heh

I will add support for the other 2 formats to my extractor ;)
that's just for the time being, until he actually finalizes it :P

I'll have that released shortly ;)
(within the week)