GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Counter Strike 1.6 Resource UI Editor

A Modding Tool for Counter-Strike 1.6

Updates

Hotfix 1.1 19d
  • BugFix Removed forced GC of unused controls (Might prevent crashes on lower-end PCs)
  • BugFix BitmapImagePanel: fixed NOIMG image spam when failed to load resource image
  • - Fixed typo of PNG To TGA Converter Shortcut
Uninstall the previous version first before installing the latest fix.

Finally! an editor for resource files for Counter Strike 1.6

Hi there! Internet's good again so another time for another upload.
Here it is:




DISCLAIMER: 

I AM NOT RESPONSIBLE FOR ANY DAMAGE THAT MIGHT CAUSE YOU BY USING THIS TOOL. IF YOU’RE HERE AND WANT TO WALK FURTHER INTO MODDING STREET, PLEASE! PLEASE. PLEASE… MAKE A COPY OF YOUR EXISTING RESOURCE, GFX AND CLASSES FOLDERS FIRST BEFORE MODIFYING ANY CONTENT INSIDE YOUR MOD DIRECTORY. 

 

OVERVIEW: 


This tool has a capability of opening and manipulating .res files inside the resource/UI directory. Some basic editing functions are available like copy and paste. Please note that Undo/Redo function is non-existent (yet) because coding them requires more knowledge, and I’m not knowledgeable about that part yet. Bugs might also be present but I think the tool is now usable for everyone willing to use it. 

 
FEATURES:
 
  • Straightforward editing approach. no bullcat, just edit in no time.
  • Bundled by a simple  TGA to PNG Converter to make image conversion faster.
  • Familiar editor hotkeys like CTRL+O for opening and CTRL+S for saving file.
  • Simplistic design for faster learning curve.
  • Much easier to use (IMO) than the built-in VGUI Editor in-game.
  • Text string recognizer for Labels/Buttons e.g: #Cstrike_Cancel

FAQ: 

1. Can I edit other game’s resources using this editor?

- At the moment, no. This editor is hard-coded all the way down for CS 1.6. Although you can however, open the file by copying the res file and putting it inside the resources folder of cstrike directory temporarily but I wouldn’t recommend it. 

2. Why is undo/redo not implemented? 

- I’m still learning programming and I think I’ve already had success because as of writing this FAQ, I’m close to releasing this to the public. Provided that this tool took me countless hours of continuous work and testing, I’ll keep learning stuff to make this happen. Don’t you worry ;)

3. Canvas area is too small, can I zoom in?

- Unfortunately, no. The mouse movement gets clunky whenever I implement a zoom function so better leave it as it is for now. You can use the built-in magnifier tool in windows as a workaround. 

4. Control is not visible, what do I do?

- Click its name in Control Explorer Panel. Set its visible property to 1. If it’s still not visible, maybe other controls with higher z-index is obscuring it. You can try long-pressing the Left Bracket Key ‘[‘ until it shows up. If it is still not visible, check its xpos and/or ypos property. If it is too high or too low, adjust its position so that it is still seen inside the viewport. Set both to 0 if nothing else works. 

5. How to fix control not selectable or is not moving?

- See first if the control’s enabled property is set to 0. Set it to 1 to enable editing. Other possible cause is the small lock key located in the top-right side in Properties Panel. Click on it to enable editing again. 

6. Can I make my own resource file using this?

- Not really. This tool is created to edit existing resource files. You can try to open an existing file first then saving it to another filename. I’ve done this on purpose so that the application can fetch the game resources in the right folder. 

7. Why are some of the control’s position in the editor differs when in-game?

- My guess is that CS 1.6 uses layout rounding when displaying elements (Fractioned positions are rounded to the nearest whole). Best practice is testing the layout on different screen resolutions and adjust offset controls accordingly. 

8. My game crashes when I added an image to the layout, what is the reason for this?

- Check your imported image size. TGA file supports up to 256x256 image size. Although some sizes can still be allowed like 276x96 and 512x32 but they are rarely used. 

9. Why are some control attributes missing? Like pinCorner, autoResize, etc.

- Believe me, I've tried. I tested those but it seems that it doesn't do anything much to the controls so I just included the essentials.

10. Do you need a rest?

- Yes, a lot. If you’re reading this, I’m sleeping. Just whisper goodnight.

You can read more information about this application by opening CSRUITManual.pdf located inside the app's install location.

DEMO:
This video shows basic editor functions (navigation, control resizing, etc.)
Note: This is from the early build so the footage here and the release build differs.


BEFORE YOU GO:

You can try the "BlueTheme" theme I made to make sure you're following my advice. Backup your  CLASSES, GFX, AND RESOURCES! folders first before overwriting in any of them.

This theme affects:
- Buy Menu
- Team/Class Menu
- Scoreboard





You can download it here: Link

Thanks for stopping by, if you created some customization using this tool, you can share a screenshot in the comments section. I would be happy if this deems useful to someone :)

Files

Sign up to access this!

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
m3owth_47 avatar CS:GO Ports Flag
Affiliation
CS:GO Ports
m3owth_47 username pic Joined 4y ago
Offline
CS:GO Ports Flag Affiliation: CS:GO Ports
8,101 points Ranked 795th
26 medals 5 rare
  • 2nd Place - Water Park Mapping Contest Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Thanked 50 submitters Medal icon
  • Reached 50 subscribers Medal icon
  • One month a member Medal icon
Coder
Special Thanks
shns
TGALib
Nicholas Woodfield
TeximpNet
Hervé Drolon & Floris van den Berg
FreeImage

Submitter

m3owth_47 avatar
m3owth_47 username pic Joined 4y ago
Away from home
CS:GO Ports Flag Affiliation: CS:GO Ports
8,101 points Ranked 795th
26 medals 5 rare
  • 2nd Place - Water Park Mapping Contest Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Thanked 50 submitters Medal icon
  • Reached 50 subscribers Medal icon
  • One month a member Medal icon
m3owth_47 avatar
m3owth_47
CS:GO Ports Flag
Affiliation
CS:GO Ports

Creator
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Details

Attributes

Genre
Coding/Scripting
Operating System
Windows
Compiled Language
C#
Development State
Beta
IDE Used
Visual Studio 2019

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 8
  • 92
  • 849
  • 17
  • 19d
  • 19d
  • 19d

More from Submitter

WiPs by Submitter

More Client Modification Tools