Page 1 of 1

BloodRayne2 TEX bit format

Posted: Mon Sep 05, 2005 12:47 am
by grnbriar
Since the BloodRayne TEX to BMP tool doesn't recognize the BloodRayne 2 format, I was trying to write one. I have the image coming up and am trying to figure out the bits per color. There are two bytes per pixel. It's not 4444 or 565. Does anyone know the bit format used in the previous tex converter?

Posted: Mon Sep 05, 2005 2:27 am
by SparedLife
Unforunetly both my site and BloodRayne.uk are down at this moment. I don't know about UK but my site should be just maintainance down time. There are a few very talented people posting scripts and code to answer both your posted questions. In fact woc put together a very good Perl script to convert the textures. Others have improved on it since.

You may be able to find some answers to your questions here also.

http://www.bloodraynemassacre.com/skinzphp/portal.php

Xentax will extract the POD's and the texture conversion has already been done by a few people. The big difference is the indexing method. While BR1 is 8bit indexed TRI decided to screw with everyones mind with a crippled 24bit indexed. I was successful in getting a 24bit with alpha and a 32bit with alpha working in the demo. TRI complained the textures were to big of a resource killer but Rayne sure looked nice in 24bit true color. Not to mention the alpha allows for actual changes in the outfits.
Anyway I hope BloodRayne.uk will be back up soon (it's been down a while) because there are some powerful programmers there working on modding BR2.

also try here: http://www.bloodrayne.net/cgi-bin/blood ... l?board=pz

Posted: Thu Sep 08, 2005 6:57 pm
by grnbriar
Thanks for the direction. I still have not been able to register at the massacre site, but I'll keep trying. I want to get the tex converter, rather than write one. I'm still hunting for any model info.

Posted: Fri Sep 09, 2005 11:41 pm
by SparedLife
My site is more down than up lately but as of this posting it is up. Bloodhammer makes a good stab at BR2 in the woc section.

http://www.sparedlife.com/forum/Index.php

Take your time and look around, there may be some useful information you can use.

Posted: Fri Sep 09, 2005 11:55 pm
by KorNet
SparedLife wrote:My site is more down than up lately but as of this posting it is up. Bloodhammer makes a good stab at BR2 in the woc section.

http://www.sparedlife.com/forum/Index.php

Take your time and look around, there may be some useful information you can use.
Nice Perl Scripts :)

Posted: Sat Sep 10, 2005 3:35 am
by grnbriar
Thanks!
Lots of info!
I still want to be able to rad and write the BR2 model files into my app for making mods. This shoul dget me working with the non-animated models to start with.

Posted: Sat Sep 10, 2005 6:49 am
by SparedLife
Nice Perl Scripts
I am but a lowly beginner at Perl. I am hoping that one day the light bulb will go on in my head and I will finally understand how to use the information posted here. When I began learning Perl I did it because most of the games I had did not have tools for skinning. Dragon Unpacker and MultiEx can extract a lot of games but for the most part that is it. I needed some way to edit the extracted textures and then get the game to use them when there were no tools for editing available. Not to mention the unpacker programs don't support individual texture files.
Before Perl I either used a HEX editor to convert the textures to a editable state or begged all over the internet for someone to write a simple conversion program. The latter mentioned was nearly impossible to obtain. Since posting my Perl scripts I have had so many great responses from other frustrated skinners that I feel it was worth the time to learn.

Your welcome grnbriar

Posted: Sat Sep 10, 2005 7:27 am
by Mr.Mouse
SparedLife wrote:
Nice Perl Scripts
I am but a lowly beginner at Perl. I am hoping that one day the light bulb will go on in my head and I will finally understand how to use the information posted here. When I began learning Perl I did it because most of the games I had did not have tools for skinning. Dragon Unpacker and MultiEx can extract a lot of games but for the most part that is it. I needed some way to edit the extracted textures and then get the game to use them when there were no tools for editing available. Not to mention the unpacker programs don't support individual texture files.
Before Perl I either used a HEX editor to convert the textures to a editable state or begged all over the internet for someone to write a simple conversion program. The latter mentioned was nearly impossible to obtain. Since posting my Perl scripts I have had so many great responses from other frustrated skinners that I feel it was worth the time to learn.

Your welcome grnbriar
Nice ! Keep it up! :)

Posted: Sat Sep 10, 2005 7:31 am
by grnbriar
I do 3D C++ programming for a living for the last 3 years (20 year+ programmer), my own toys and contract work for 3D app companies. I've been building my own OpenGL based app, ToolBox, to read and write Poser and game engine formats, mostly the indie ones - 3DGS and Torque for folks building their own games, but I would also like to use it to mod some commercial games, BR2 being my favorite. I started it as an OpenGL sample program and have made it into my game modeler. Since it is my app, I can add whatever odd tools, importers I want. I'll post a pic when I have Rayne loaded!
Thanks for your help, if you need a custom converter, yell. I add whatever I can figure out either as part of toolbox or a stand alone or plugin.