• Announcements

    • Brentonator

      Forum Rules (Please Read)

      Hello everyone and welcome to the No More Room In Hell Forums! We greatly appreciate your interest and support. Please feel free to begin post and become a part of this community. But please make sure that you read and understand the following rules so things can stay as clean and as orderly as possible around here. These rules are expected to be follow by any and all members at all times. Disobeying these rules will result in disciplinary action by a moderator. #1. Off color remarks are acceptable but can be deemed inappropriate at the discretion of the moderators. #2. Flaming and disrespecting other members of this community or this mod is strictly prohibited. #3. Please do not post links relating to warez or illegal downloading. #4. No offensive content is to be posted (gore, dead babies, porn). #5. Please do not spam topics to increase your post count. #6. No excessively large signatures. Signatures that violate this will be modified. #7. Signatures are not to be used as a spamming tool. If your signature's sole purpose is to annoy or distract other members, it will be removed. #8. Please do your part to be as friendly, respectful, and helpful to anyone and everyone on this forum. #9. Your posts may be removed at any time at our sole discretion. #10. Remember the terms of your registration...a copy is posted below but may not represent the latest version of our terms of use. #11. No advertising other communities or products. Have fun.
yomox9

Customize background

14 posts in this topic

2015-10-05_00001.jpg

Download link https://drive.google.com/open?id=0B3abWs-MkvQyN0R3ZEVWLTBqTnM

I tested on Windows7 JapaneseEdition.

*** Tools ***

GCFScape (http://nemesis.thewavelength.net/?p=26) or vpk.exe

For see/extract .vtf in .vpk


VTFEdit (http://nemesis.thewavelength.net/index.php?p=41)

For see original files(.vtf) information.

Paint.net (http://www.getpaint.net/download.html)

and VTF plugin (http://nemesis.thewavelength.net/index.php?c=225)

For make .vtf . Convert image file(.jpg.png...) to .vtf.

VTF plugin install : Download file and extract. copy all *.dll to Paint.NET\FileTypes\

vpk.exe (Source SDK)

For make .vpk

Install : Start Steam client. Library->'Source SDK' install.

path = C:\Program Files (x86)\Steam\SteamApps\common\nmrih\sdk\bin\vpk.exe

*** Original file Information. ***

20151005_131605.JPG

View nmrih\nmrih_dir.vpk by GCFScape

Path

Windows

materials\console\background01.vtf

materials\console\background01_widescreen.vtf

Linux( Attention. I have not linux environmenet. )

materials\console\background_linux\background01.vtf

materials\console\background_linux\background01_widescreen.vtf

Extract

Drag to desktop

View four desktop\.vtf by VTFEdit

File size = 2.67MB

Image size = 2048 x 2048

Format = DXT1

Flags = No Mipmap/No Level Of Detail

*** Procedure ***

1. Make work folder

Make desktop\source\console\background_linux

2. make .vtf

Start paint.net.

Open image file( .jpg .png ...)

Image->Resize->Width=2048 pixels , Height=2048 pixels->OK

FIle->Save as->File type=VTF(*.vtf)

->General tab

->Click Defaults

->Image Format=DXT1(Common)

Generate Thumbnail=uncheck the box

->Mipmaps tab

->Generate Mipmaps=uncheck the box

->Flags

->No Mipmap=check the box

->No Level Of Detail=check the box

->No Minimum Mipmap=check the box

->Normals tab

->Generate Normal map=uncheck the box

->click OK

3. Copy files

Copy your .vtf to desktop\source\console\

Rename your .vtf to background01.vtf

Copy background01.vtf to background01_widescreen.vtf

Copy background01.vtf to background_linux\

Copy background01_widescreen.vtf to background_linux\

Result.

DESKTOP\SOURCE

└─materials

└─console

│ background01.vtf

│ background01_widescreen.vtf

└─background_linux

background01.vtf

background01_widescreen.vtf

3. Make .vpk

Make source.vpk by vpk.exe

(1) Command prompt

start Command Prompt.

vpk C:\Users\b\Desktop\source <- path is your desktop folder.

exit

(2) Rename vpk

Rename vpk for Release

background01_XXX.vpk

4. Test .vpk

Install test.

(1) Copy background01_XXX.vpk to nmrih\custom\

(2) Start NMRiH

(3) You can see your .vtf?

(4) exit NMRiH

Uninstall test.

(1) Move desktop\custom\background01_XXX.vpk to desktop\

(2) Start NMRiH

(3) You can see Original .vtf?

*** FYI ***

Experiments.

Animation background.

Make .vmt for each .vtf ( 4 files. )

====================================

"LightMappedGeneric"

{

"$baseTexture" "xxx"

"Proxies"

{

"AnimatedTexture"

{

"animatedTextureVar" "$basetexture"

"animatedTextureFrameNumVar" "$frame"

"animatedTextureFrameRate" "1"

}

}

}

====================================

background01.vmt xxx="console\background01"

background01_widescreen.vmt xxx="console\background01_widescreen"

background_linux\background01.vmt xxx="console\background01"

background_linux\background01_widescreen.vmt xxx="console\background01_widescreen"

"animatedTextureFrameRate" "1" <- 1=1second. animation speed.


Start NMRiH

Background is black. <-Problem

Login server and logout server.

Background is animation.

Edited by yomox9
1 person likes this

Share this post


Link to post
Share on other sites

Awesome! I'll probably use this x3

Share this post


Link to post
Share on other sites

Good work :D

by the way, I could not download it because I have not authentication. Probably you must 'share' it.

Share this post


Link to post
Share on other sites

Good work :D

by the way, I could not download it because I have not authentication. Probably you must 'share' it.

oops, i forgot to mark access, thx ^^

hope now it is working :ph34r:

Edited by Teenie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now