Half-Life

Half-Life

评价数不足
Make Your Own Custom Spray in 1 minute
由 Nozomi Miyamori 制作
You can make your own custom spray in a minute: just drag and drop an image!
   
奖励
收藏
已收藏
取消收藏
TL;DR
  1. Go to the page[tempdecal-conv.pages.dev]
  2. Drag and drop an image
  3. Done.
Detail description
Preface

The original guide was written for Sven Co-op, which is based on Goldsrc. This guide is helpful for Half-Life too because it is based on Goldsrc too, of cource.

Original post

Hi, all Half-Life enjoyers.

You might have seen some players used non-default sprays like the one below. To use your own sprays, you have to replace the spray file, namely tempedecal.wad.
The original work[www.irasutoya.com]is by Irasutoya (いらすとや).

To this end, I made the image spray converter[tempdecal-conv.pages.dev], which runs on your browser. You can create your own spray just by drag and drop an image. You will get your own custom spray in a sec.

Next, you have to replace <Game Folder>\valve\tempdecal.wad with the new one (to open <Game Folder>, go to Steam Library, right click the game, then select Manage > Browse local files). You should set tempdecal.wad Read-only to keep it from being overwritten. Open Properties of tempdecal.wad, check Read-only, then click OK.

That's it. Happy spraying!

Point resampling option

You can produce a shaper image especially for pixel art by enabling point resampling option. The comparison of without and with the option is below (left is w/o, right is w/). It may not be good for non-pixel art images.

The original work[www.deviantart.com]is by JustinGameDesign.

Also, you have to uncheck "Enable texture filtering" to get sharper effect.
Notes
The converter runs on your web browser. It does not upload image data to the server. It works on macOS and Linux too.

You can find the source code here[github.com].

Feel free to ask questions in comments below. Thank you!
10 条留言
Nozomi Miyamori  [作者] 1 月 24 日 上午 12:19 
It's kinda safe. It does not gather any data, but Cloudflare gather some data except the image you put to the converter.
Mr. (Ant) Tenna 1 月 23 日 上午 1:17 
is tempdecal converter safe?
X Ray 2024 年 7 月 29 日 下午 12:24 
You're legend.
꧁ღ༺ Jalk1ss ༻ღ꧂ 2024 年 5 月 1 日 上午 12:14 
thats actuallz usefull
therealjoz 2024 年 4 月 9 日 上午 4:39 
Thanks!
Nozomi Miyamori  [作者] 2024 年 4 月 8 日 下午 11:12 
https://rafradek.github.io/Mishcatt/ is useful for Source.
therealjoz 2024 年 4 月 8 日 上午 4:59 
Can you make smth similar for Source games as HL2DM, CSS
therealjoz 2024 年 4 月 8 日 上午 4:50 
Yout made this? This is actually very well made
femcellord 2023 年 12 月 23 日 下午 12:06 
yeah but waht the carap is this example spray image of a girl on a slide :GDDemon:
.error 2023 年 12 月 18 日 上午 7:25 
This works like a charm, ty!