fodev.net

Other => FOnline:2238 Forum => Archives => Tools and Modifications => Topic started by: NastyKhan on January 16, 2011, 03:56:38 pm

Title: HOW TO change inventory graphics?
Post by: NastyKhan on January 16, 2011, 03:56:38 pm
Well, because it look like people liked my beer event and now they keep asking me to make them some other items I decided to make a simple tutorial.

You will need:
- Frame Editor and Fallout 2 palette (http://www.sendspace.com/file/uxz9lo)
- Fallout 2 DAT explorer. (http://www.sendspace.com/file/9isnou) It DOESN'T have to be this one. If you use other - that's ok.
- FRM Viewer (http://www.sendspace.com/file/gf9d3g) And again: if you use other - that's fine.
- some program to paint. I'm using GIMP. It works like photoshop.
- drawing skills. I'm NOT going to explain you how to use graphic programs.
- INT:7 to understand this tutorial

First you have to steal a picture you want, or you can draw it by yourself.
(http://img508.imageshack.us/img508/538/94232768.jpg) (http://img508.imageshack.us/i/94232768.jpg/)

Now open it in your graph program and rescale it, to something like 100-150px
(http://img510.imageshack.us/img510/3589/57088297.jpg) (http://img510.imageshack.us/i/57088297.jpg/)

After rescaling kill the background and replace it with raw blue (0,0,255). Note that while Fallout Tactics understand alpha channel - Fallout 2 don't. In other words, you cannot use transparency. Everything that's not blue will be fully seen. Also this is the moment to fix missing pixel which disappeared while scaling.
(http://img200.imageshack.us/img200/9767/90609538.jpg) (http://img200.imageshack.us/i/90609538.jpg/)

And now a tricky one. You have to change the palette to fallout 2 like. As far as I know in both PS and GIMP you do it in similar way. Go to IMAGE/PICTURE (i have no english version, sorry) -> MODE and then find something about indexing colours. Once there, import the palette from default.act which is inside Frame Editor folder. Then you can enable graphical dithering - it will make your image more shi.. i mean.. falloutish. After you select the palette and check dithering, press OK or PROCEED or CONVERT or something like that.
(http://img208.imageshack.us/img208/6758/99596137.jpg) (http://img208.imageshack.us/i/99596137.jpg/)

Save your image as BMP file. It will have 256 colours.
(http://img339.imageshack.us/img339/6594/49511144.jpg) (http://img339.imageshack.us/i/49511144.jpg/)

Launch Frame Editor and add your picture by 'add frames' button.
(http://img194.imageshack.us/img194/6342/55728576.jpg) (http://img194.imageshack.us/i/55728576.jpg/)

Export it as FRM file. Type any name of file, like asdf.frm or qwerty.frm or aaaa.frm. It doesn't matter really.
(http://img5.imageshack.us/img5/9818/62284502.jpg) (http://img5.imageshack.us/i/62284502.jpg/)

Now if you want you can use FRM Viewer to see your baby. I don't.

And finally the most annoying part - installation. To install your mod we have to know the name and localization of the original file. I suggest to use DAT explorer to explore the Master.dat file and find what we need. Inventory images are kept in art/inven folder for example. The hunting rifle path is art/inven/hrifle.frm and the beer is: art/inven/beer.frm.
(http://img141.imageshack.us/img141/4317/10387352.jpg) (http://img141.imageshack.us/i/10387352.jpg/)

If you have no damn idea which file is the item you are looking for (like me in that case) you can always use DAT Explorer do extract all files and use FRM Viewer to check. For now, i'll just replace hunting rifle with my brand new ak47. To do so i'll rename ak47.frm to hrifle.frm and put it in D:\FOnline\data\art\inven\ folder.


(http://img819.imageshack.us/img819/2872/70659997.jpg) (http://img819.imageshack.us/i/70659997.jpg/)

Crap. It's too bright. Well i think i'll just have to do it again and rise some contrast this time. But at least it works.

That's it. I hope this short and simple tut will be helpful for you.
Title: Re: HOW TO change inventory graphics?
Post by: Andr3aZ on January 16, 2011, 03:58:58 pm
Nice tutorial! Ill try that out sometime!
Title: Re: HOW TO change inventory graphics?
Post by: cerberix on January 16, 2011, 07:18:17 pm
Good guide, but if anyone has their own server SDK is not required to convert the *. FRM, you can format *. PNG :) This is my movie (http://www.youtube.com/watch?v=IvLKY4Vn2Ok). I must try Fallout's palette.

---EDIT---
I'll make another video with FO's palette because I was wrong.
Title: Re: HOW TO change inventory graphics?
Post by: Jimmy BoyX on January 16, 2011, 07:45:12 pm
Finally we got a new tutorials for making new weapons. Thx guys!  ;D
Title: Re: HOW TO change inventory graphics?
Post by: raynor009 on January 16, 2011, 09:57:46 pm
looks like you took ahead of me.i wanted to write the guide.oh well.good job as always!
Title: Re: HOW TO change inventory graphics?
Post by: Andr3aZ on January 16, 2011, 10:10:53 pm
finally, the ugly hunting rifle inventory art is gone :D long live remington hunting rifles
Title: Re: HOW TO change inventory graphics?
Post by: Fewer on January 16, 2011, 10:59:28 pm
awesome but maybe video should be better
Good job anyway
Title: Re: HOW TO change inventory graphics?
Post by: raynor009 on January 17, 2011, 12:47:00 am
Here is what i did.It replaces teh 10mm Pistol with Bereta.

http://ompldr.org/iNzBwYQ
http://www.megaupload.com/?d=EGAZBW0K

Extract in fonline data
Title: Re: HOW TO change inventory graphics?
Post by: Jimmy BoyX on January 17, 2011, 10:33:47 am
Here is what i did.It replaces teh 10mm Pistol with Bereta.

http://ompldr.org/iNzBwYQ

Extract in fonline data
Can you upload it on www.megaupload.com or rapidshare?
Title: Re: HOW TO change inventory graphics?
Post by: raynor009 on January 17, 2011, 01:26:34 pm
http://www.megaupload.com/?d=EGAZBW0K
Title: Re: HOW TO change inventory graphics?
Post by: Wipe on January 17, 2011, 01:42:07 pm
Here is what i did.It replaces teh 10mm Pistol with Bereta.

http://ompldr.org/iNzBwYQ
http://www.megaupload.com/?d=EGAZBW0K

Extract in fonline data

Remember that same graphic is used everywhere; even if it looks okayish in inventory/hand slot, colors not always fit in FixBoy. click (http://img573.imageshack.us/img573/141/agagra.png)
Title: Re: HOW TO change inventory graphics?
Post by: raynor009 on January 17, 2011, 02:42:22 pm
I didnt do any in a long time.Im used to make them with PS but now i only got Gimp.I will make many more and better.
Title: Re: HOW TO change inventory graphics?
Post by: NastyKhan on January 17, 2011, 08:59:36 pm
If u have questions and problems - post these here. I will help you with pleasure.
Title: Re: HOW TO change inventory graphics?
Post by: Pudzian_Koks on January 18, 2011, 10:23:11 am
I got some problems with it. My pictures aren't awaliabl in game, I don't see it :/
Title: Re: HOW TO change inventory graphics?
Post by: Andr3aZ on January 18, 2011, 11:05:45 am
I got some problems with it. My pictures aren't awaliabl in game, I don't see it :/

dont put the FRM in the master.dat put them in your FOnline Folder in data/art/inven
Title: Re: HOW TO change inventory graphics?
Post by: Pudzian_Koks on January 18, 2011, 11:12:44 am
(http://img801.imageshack.us/img801/6775/dragunow2.png)
I dont like pixels...
Title: Re: HOW TO change inventory graphics?
Post by: NastyKhan on January 18, 2011, 01:38:57 pm
I got some problems with it. My pictures aren't awaliabl in game, I don't see it :/
[FOnline_folder]/data/art/inven/file_name.frm

Pudzian, i see you also skipped the dithering. That's not good. And about pixels - fix them manually BEFORE palette conversion.
Title: Re: HOW TO change inventory graphics?
Post by: LagMaster on January 18, 2011, 03:38:42 pm
can you tell me how can i do the step to make it more folowtish in Paint?
Title: Re: HOW TO change inventory graphics?
Post by: Andr3aZ on January 18, 2011, 04:39:27 pm
can you tell me how can i do the step to make it more folowtish in Paint?

You cant import a palette or something into paint, you would need to do it manually. that'll need over9000 hours, dont do that! MSPaint is the sux for such work. trust a former pixeldrawer.
Title: Re: HOW TO change inventory graphics?
Post by: NastyKhan on January 18, 2011, 05:39:32 pm
Im a pixeart-man as well. And i agree with Andr3az. Manual dithering or manual paletting require A LOTS of patience and skill.
Title: Re: HOW TO change inventory graphics?
Post by: LagMaster on January 19, 2011, 02:57:48 pm
i got Win 7 paint
Title: Re: HOW TO change inventory graphics?
Post by: Andr3aZ on January 20, 2011, 08:03:55 am
i got Win 7 paint

no experience with that one sorry. i overused MSPaint on win2k
Title: Re: HOW TO change inventory graphics?
Post by: cerberix on January 20, 2011, 10:08:17 am
i got Win 7 paint
You should download GIMP (http://www.gimp.org/downloads/).
Title: Re: HOW TO change inventory graphics?
Post by: Jimmy BoyX on January 20, 2011, 10:35:09 am
Yes gimp is very good programme. If you dont want photoshop - download a gimp.