NRskinner by Norrin Radd RELEASENRskinner is a command line skinner for PS2 palettized skins, DXT1, DXT3, DXT5, and 32bit bmp. I made it because muaskinner went glitchy on me. NRskinner doesnt do channel flipping for DXT currently so you will have to do that part yourself.
NRskinnerSE V 1.6 (added bmp capabilities)
Download Here (http://www.mediafire.com/download.php?kmvtk0jmgjw)
NRskinnerSE V 1.4 *Old* (added DXT5 capabilities)
Download Here (http://www.marvelmods.com/ftp_users/NorrinR/programs/NRskinnerV1_4.rar)
NRskinnerSE V 1.2 *Old*
Download Here (http://www.marvelmods.com/ftp_users/NorrinR/programs/NRskinnerV1_2.zip)
Version 1.0 *Old*
Download Here (http://www.marvelmods.com/ftp_users/NorrinR/programs/NRskinner.zip)
Instructions for Version 1.6, 1.4, and 1.2:1. unzip NRskinner download file into a directory.
2. Follow the examples below
3. Double click on NRskinner.exe and input the correct information that it asks for
Instructions for *Old* Version 1.0:1. go here http://developer.nvidia.com/object/dds_utilities_legacy.html to download Legacy DDS Utilities.
2. Install it, then place detach.exe in c:/windows. Detach.exe should be installed by default in /program files/nvidia corporation/DDS utilities/ so you can copy it from there.
3. unzip NRskinner download file into a directory.
4. Follow the examples below
5. If you use NRskinnerSE, just double click on it an input the correct information that it asks for
6. if you are using the older and non-SE version, then you need to use the Command Prompt
For DXT1, DXT3, and DXT5
Example for DXT1,DXT3,DXT5:Quoteinput the offsets for a wolverine skin
wolv1.igb dxt1 512 512 182373 256 256 313445 128 128 346213 64 64 815037 32 32 814373 16 16 814909 .
export the dds (it will export the largest one)
NRskinner -xdds wolv1.igb newfile.dds
open the dds file and edit it
save it as DXT1 or DXT3 or DXT5 depending on what it should be, in this case its dxt1. When saving GENERATE MIPMAPS!!
import the dds
NRskinner wolv1.igb newfile2.dds
NOTES FOR DXT1,DXT3,DXT5:1. When saving, GENERATE THE MIPMAPS!!! (there should be an option for you to check off when saving as dds)
2. If you cant read/write DDS files, i suggest:
a) The Gimp version 2.4 (found here http://gimp-win.sourceforge.net/stable.html) with dds plug-in 2.0 found at http://nifelheim.dyndns.org/~cocidius/dds/ (or download the plug-in directly from here http://nifelheim.dyndns.org/~cocidius/download.php?filename=gimp-dds-win32)
The Gimp is free, so dont worry. To generate the mipmaps, check the box marked "Generate mipmaps"
b) download Dxtbmp to convert between formats, it is also possible to GENERATE the mipmaps using Dxtbmp, how? Check off the box under MipMaps where it says "Include when saving"
3. For oddball dimensions NxK or ones which dont have template DDS's included, just save a blank DDS in the correct format and size and name it appropriately (ex: 25664dxt1.dds) (DONT save the templates with mipmaps!)
4. You DONT need to put your entries in the CFG file in alphabetical order, but the textures should go from biggest to smallest (ex: 512 512 then 256 256 ...)
Extra notes for version 1.0: 1. You NEED detach.exe in c:/windows to extract the mipmaps
When you save the dds and generate mipmaps, the mipmap information will be contained inside of the same dds file. The dds filesize will become larger however when you save it generating mipmaps because of the additional information stored. detach.exe is a program which extracts mipmap information into their own separate dds file. While importing a dds (for Version 1.0), NRskinner will call detach.exe to create the mipmap dds's meaning that new files will appear with the format *_xx where xx is the number of the mipmap, where 00 is the first, 01 is the second, ...
For PS2
Example for PS2:Quoteinput the offsets for a skin, for ps2 skins the format is:
skin.igb ps2 size1 size2 palette_offset texture_offset .
export the dds
NRskinner -xdds skin.igb newfile.dds
open the dds file and edit it, then save it
import the dds
NRskinner skin.igb newfile2.dds
Notes for PS2 skins:1. detach.exe is not required, so you dont have to download the Legacy DDS Utilities if you are only going to be using NRskinner for PS2 skins.
2. When saving the DDS for PS2 skins, DONT generate the mipmaps, saving the mipmaps is ONLY for DXT1 and DXT3 images.
For bmp
Example for bmp:Quoteinput the offsets for icons, for bmps the format is:
icons.igb ragb size1 size2 texture_offset .
export the bmp
NRskinner -xdds skin.igb newfile.bmp
open the bmp file and edit it, then save it
import the bmp
NRskinner skin.igb newfile2.bmp
Notes for bmps:1. The image files must be saved in 32 bit format ARGB.
Notes for all types:1. All template dds files (named 256256.dds etc.) must not be OVERWRITTEN or the program will not extract dds files.
2. The template files and NRskinner.cfg must be in the same folder as NRskinner.exe.
3. You can use NRskinner.exe from any directory if NRskinner.exe is placed in the folder c:\windows (or similar for your computer) but your templates, NRskinner.cfg, and your igb and dds you are compiling/decompiling must be held in the same folder (which can be any folder)
Questions or comments are welcome.
Cool! :)
I have a suggestion...
Can you combine the PS2Skinner with this NRSkinner into a single program? and hopefully a GUI? :D
I have no problem doing command line operations (I use it at school all the time), but I think other people may benefit from it.
i was thinking of putting NRskinner + PS2skinner in one package yes, this is just a quick release, but maybe in the future.
For the gui, probably not, just because it takes more time, :shy:
That's fine with me. ^^
So does this handle alpha channels? MUAskinner has gone funky on me too as far as that's concerned.
it should as it copies the entire dds file sans header, but i havent tried huds yet, so i cant guarantee it.
I'm going to test huds right now :thumbsup: Hopefully I'll finally be able to make my own damned huds without killing my wrists/mind/ "Ctrl", "c", and "V" keys :rofl:
i just tried huds, they work :)
(by work i mean no dark square around them)
edit:
dont forget to switch the channel first, because it doesnt do it for you
Do I need to flip it horizontally and/or vertically, too?
vertically (just for huds, i think), i used one that you sent me earlier, i flipped it vertically, and switched the channels. You have to switch the R-B channels when you see in the muaskinner you were using '-'
Works like a charm :thumbsup: I can finally make huds :laola:
Great to hear :thumbsup2:
Sorry for the dumb Q but do I put the NRskinner in windows also? or just any where on C drive,
EDIT: thanks Norrin Radd I'll wait because I don't have either installed but really want them so I can wait.
dont worry about the question, i have not posted good instructions yet
You can put it where you want, but if you want to run it from any directory you should put it in c:/windows
if you always want to run it from the same directory, example Desktop/cvcsawesomeskins/ then put it in there
edit:
i will post some better instructions when i have time
i will also merge this program with PS2skinner
the program now also handles PS2 skins, better instructions to come
I installed it the NRskinner2 aah where do I run it from.I'm for some reason just not getting it.
EDIT gotcha.
1. you can unzip it to desktop,
2. then open the Command Prompt
3. use the commands "cd .." and "cd Desktop" ... until you get to the correct folder where you unzipped it
4. use the commands as in the examples, like "NRskinner -xdds skin.igb newskin.dds"
i am making an easier to use program, NRskinnerSE, basically you can double click on it, so you dont have to open the command line, and you enter the paramters right there
That would really be great,I'm still not getting it but if I look at it long enough it should come to me.
EDIT: thank you now to try those ps2 files.
EDIT: the cfg file just notepad and go that rout easy.
ok, its updated, now you can run NRskinnerSE.exe (its in the zip)
All you need to do is double click on it and follow the options
(1) if you are exporting the dds, (0) if importing the image into the igb
then say the name of the igb
then say the name of the dds
good luck
edit:
you need to have the cfg file configured first of course though, which will contain the offsets
OMG! The SE works awesome :thumbsup: It is great to avoid typing out the cd command every time!
ETA: For proportions of 256x512 (256 wide, 512 long), would it be " 512 256 " or " 256 512 "? (For Angel's wings in the PC winged skin)
EDIT2: NVM, got it working, went 512x256 :)
Blizz when ever I run it it works but the .dds is snowy or fuzzy or looks like a star map I used the offsets from the boards whats going on???
For which skin are you having issues?
So far all the ps2 on the offsets thread.Some are half the file and still snowy it's got to be something I'm doin or not doin all the way here is what I put in 3804.igb ps2 256 256 50737 49713 . for ex.
EDIT: At least I know how it works so I'll come back to it.
Hmmmm.... PS2 extraction isn't working for me either. I get the error "Could not complete your request because of a problem with the file format module interface" when I try to open it in Photoshop. But, then again, I get the same issue with that blank 256256 file in cluded :shy:
Also, Norrin, it doesn't seem to work with dxt5, even with the proper blank file saved. Just letting you know :)
Quote from: BliZZ on November 06, 2007, 05:54AM
Hmmmm.... PS2 extraction isn't working for me either. I get the error "Could not complete your request because of a problem with the file format module interface" when I try to open it in Photoshop. But, then again, I get the same issue with that blank 256256 file in cluded :shy:
i think iammingy also had a problem with it, i dont know if he was using photoshop. I think he had to convert it first. I cant really fix it because it works fine for me, so im not sure what is wrong. This uses the same method as what the PS2skinner did.
@ cvc, can you open the blank 256256.dds file fine? is it just after you export that you are having problems?
Quote from: BliZZ on November 06, 2007, 05:54AM
Also, Norrin, it doesn't seem to work with dxt5, even with the proper blank file saved. Just letting you know :)
Did you name your dxt5 template files 512512dxt3.dds and then run it using dxt3 in the input file? it wont run dxt5 automatically, as i havent set it up, you should try it using it as a dxt3. If thats what you tried and it didnt work, then ok.
edit:
also, for the ps2 issue, one thing you could try is saving a blank 256x256 or whatever dimension blank file dds with NO compression, and then replace the template i packaged, and see if that works
Well I tried to open the blank file useing gimp,dds.exe - Unable To Locate Component this application has failed to start because libgimp-2.0-0.dll was not found, witch I don't understand when I can edit dds files in other programs??
Edit: Yeah I downloaded the Gimp 2.4 and then the plugin in the plugins folder but may have got the wrong plugin.The skinner works its just when I go to edit it it looks like the offset are wrong wavey line and such. I'm not sure witch is the right plugin?
which version of Gimp do you have?
you need to get the correct version of the dds add-on depending on the version of gimp
What you can also try is that dxtbmp program i mentioned in the first post. It can convert between dds and bmp, so you only have to worry about editing bmps!
edit:
i hope you downloaded the actual gimp program before trying just dds.exe, dds.exe is just a plug-in, i will find the link for Gimp 2.4
download Gimp here:
http://gimp-win.sourceforge.net/stable.html
And put the dds.exe file you got in the plugins folder for Gimp, it should tell you where the directory is
Quote from: cvc on November 06, 2007, 12:32PM
Well I tried to open the blank file useing gimp,dds.exe - Unable To Locate Component this application has failed to start because libgimp-2.0-0.dll was not found, witch I don't understand when I can edit dds files in other programs??
Edit: Yeah I downloaded the Gimp 2.4 and then the plugin in the plugins folder but may have got the wrong plugin.The skinner works its just when I go to edit it it looks like the offset are wrong wavey line and such. I'm not sure witch is the right plugin?
The plugin version you want is 2.0 win32
download the plug-in directly from here http://nifelheim.dyndns.org/~cocidius/download.php?filename=gimp-dds-win32
cvc, can you upload which file you are trying, and pass me the line in the CFG file you are using? i will try it when i have time
edit:
great, ill check it out tonight
No problem but will be tonight on the way to get mri done.
thanks for all the help btw.
1401.igb ps2 256 256 52967 9439 .
Speaking of plugins, does anyone have any other versions of the Photoshop DDS plugin? I've got 8.23 and *I think* 6.31. I want to try others to see how well they work VS others.
Quote from: cvc on November 06, 2007, 01:25PM
No problem but will be tonight on the way to get mri done.
thanks for all the help btw.
1401.igb ps2 256 256 52967 9439 .
cvc, the offsets are right but you put them in the wrong order it should be:
1401.igb ps2 256 256 9439 52967 .
the texture palette offset is 9439 = 9438+1
Well shut my mouth :soapbox: thats it :bowdown: :bowdown1: and the villagers rejoice.
Thanks for your unwavering patience.
Norrin Radd palette_offset how do I find them??
EDIT: thank you very much shouldn't be a problem.
ill find the link that should help you, one second
edit:
here is the link for a quick guide
http://marvelmods.com/forum/index.php?topic=7.msg2749#msg2749
you need the older version of texture finder, you open the skin, then you pick "With Palette" 8bit on the right,
then you pick 32bit as the bit palette format, then you use those arrows beside the number at the top right, basically the far right one jumps really fast through the skin, so you can use it at first to search until you find a block of colors which look the same, for instance there may be a huge block of blueish colors, or greenish ones, or whatever, then that is most likely where you want to look
then you use the smaller arrow to get it so that your picture looks correct, make sure that in the palette window, you have the first block black, then white then black,
then you take the offset number, and add one
good luck
Norrin Radd oh yeah thats quick and easy,I have a Q. about the skin itself are all the ps2 skins 256 rez.
some are 128, but i think most are 256
i just released a new version, the new version doesnt need the file called "detach.exe" anymore, all you need are the files in the download provided, this way it is easier for more people to use without downloading extra stuff
and also this way it wont make a bunch of extra files, like it did before
I was curious if we have the ps2 skins for the XML games because its so easy to use this program?
EDIT: that would be great.
EDIT: Thanks Norrin Radd yes the link still works.
i think nodoubt_jr uploaded the xml1 ps2 versions a while ago, i will check
edit:
here is the thread, im not sure if the link is still good
http://marvelmods.com/forum/index.php?topic=105.msg21517#msg21517
DXT5 capabilities added, see first post for new version 1.4. I was able to test it by extracting the bumpmap, but I haven't tested them in game since I don't think my computer is good enough to be able to view bumpmaps in game. Let me know if there are any problems.
Thanks, Norrin! The DXT5 option works perfectly :D
Thanks Tetragene
bmp capabilities added, see first post for new download link. These capabilities were specifically intended for MUA icons (as there is some specific bit flipping necessary). I tested it and it seemed to work but let me know if there are any problems
Example NRskinner.cfg line for using bmp option
Quotecable_icons1.igb RAGB 256 256 6217 .
I think it's supposed to be RABG, not RAGB. (Red and Blue channels should stay the same, Alpha and Green should be swapped)
I just copied that line from MUAskinner so there would be less confusion for people converting. I was able to convert it properly from ARGB to the correct MUA format. Or are you saying you are having problems converting from an ARGB saved file?
Norrin, I am trying to edit phoenixultimateshorthair.igb i found the palette offset (15448 +1= 15449)
and the texture (16475). the igb is in c:/program files/activision/x-men legends 2/actors and the NRSkinner is on my desktop. my .cfg reads like this:
wolv1.igb dxt1 512 512 182373 256 256 313445 128 128 346213 64 64 815037 32 32 814373 16 16 814909 .
wolv2.igb dxt1 512 512 182373 256 256 313445 64 64 815037 16 16 814909 .
phoenixultimateshorthair.igb ps2 256 256 15449 16475 .
ps217201.igb ps2 256 256 35651 146739 .
cable_icons1.igb RAGB 256 256 6217 .
but, when i try to export to DDS, an error says NRSkinner.cfg not configured properly Could not find the cfg file
help?
EDIT: silly me. i just wasn't writing the extensions .dds and .igb.... doink.
does this also apply for XML2?
Quote from: StepfordCuckoos<3 on April 08, 2009, 09:18PM
does this also apply for XML2?
Do you mean NRskinner? If yes, then yes it works on XML2 skins
okay, thank you
Wait, which version of the NRskinner do I download since I work with XML2 and what do I do from there?
Download the newest version, 1.6, which is the only version that has a working link. Find out if your skin is dxt1 dxt3 or is from ps2, then setup the cfg file using the examples on the first post, double click on NRskinnerSE.exe and follow the instructions.
thank you very much
When it says Load File, what folder do I use?
I'm not sure exactly what you are referring to, but when it asks to enter the igb and dds or bmp file name make sure the igb or dds/bmp are in the same folder where you extracted the program (so for example, extract the NRskinner files in a folder, then put your igb files in that folder that you want to extract)
Should I take this to another thread because I am still confused. Sorry Norrin
sorry, NRSkinnerSE 1.6 link not work! could someone reupload for me? I really need it 'cuz it's easy to use
Just use this: http://marvelmods.com/forum/index.php/topic,4715.msg90168.html#msg90168
It's the same thing.
The first post of this thread contains links to all commonly-used mod-tools:
http://marvelmods.com/forum/index.php/topic,3516.0.html
Thank you very much XD
Mine keeps telling me
"NRskinner.cfg not configured properly
Could not find the cfg file"
What do I do?
Hopefully you're still active.