Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
SubZero

STBAR extender Python script

Recommended Posts

Hello. I made a Python script that extends 320x32 STBARs by using a provided widescreen STBAR template. This works well on STBARs that copy and recolor the design of a pre-existing STBAR with an extended hud made for it, such as the original DOOM STBAR. Output quality of the script depends heavily on the quality of the extended STBAR provided as a template.

 

Please read the README.md in full before actually using the script. Alternatively, you can open .md files using Notepad by right clicking the .md file and selecting "Open With" Notepad. But opening in Notepad will result in the Markdown being unformatted.

 

Here is the zip file. STBAR_extender.zip
Here is the Github repo.

 

 


Here are some examples of extended STBARs created by the script.
Note that this is NOT an exhaustive list of STBARs that this script can work on effectively.

Mayan Mishap

287581482-811c1a23-0bf8-4aee-aa9e-16ec4a47c476.png.dd73b4118af3561cdc4bb003d18d603b.png
287583839-5e596019-7fe3-4bb1-ab88-dc183bfe25ec.png.1fd8819ce3d319018629a114a6ca6b7e.png

Fallen Leaves

STBAR.png.b8b947a75e727407bf548c992aaa130d.png

287580759-3ce2816a-8707-42a1-a75a-eeb0e92579a1.png.9f864ce477904478d218482140d08e5a.png

 

Haste

STBAR.png.f16de44523faeb2e91d891a1265fc8eb.png
287579833-f02c9d0d-0a2e-4ca2-b350-c3301d28f337.png.4e6a3adbfa0d5e082ec62f5394b3c65e.png

Not Even Remotely Fair
287581000-9f3177c4-1706-40f7-8b33-e306886ec952.png.4ffd0f7bf76b5753bac74a83896ac1fc.png

Edited by SubZero : update to commit ID b3f6bde48bc64915997d4f2914609bb20d3bc60b

Share this post


Link to post

5 Dec 2023

-added a .bat file for easier execution for Windows users

-removed 320px width restriction of STBAR.png

-no longer creates "STBAR_extended.png", instead overwrites "STBAR.png" with the extended STBAR
-fixed some bugs that when error occured, program would just exit without letting reader read the error message when using Python terminal

Share this post


Link to post
Posted (edited)

Just wanted to stop by and say thank you for this - I'm a total newbie when it comes to programming and scripting, and I love the capabilities of the tool. It took me longer to install Python and all the libraries required to run the script but I got very good results in the end. I've attached an example of an ultrawide STBAR for The Lost Magic using Doom's original as the template. Now granted, I haven't experimented much with using other bars as the template and there might be issues related to palette translation and all that, but it doesn't have anything to do with the

script. 

 

STBAR.png

Share this post


Link to post
Posted (edited)

Thanks for using my script and leaving feedback. Happy to hear that someone else managed to make use of the script :)

I really tried my best in making the README.md as easy to follow as possible, so that anyone without a programming or IT background can use the script. If you have any suggestions on how I can improve the README.md, I would love to hear them.

Edited by SubZero

Share this post


Link to post

11 Jan 2024

-made script print some licensing and copyright stuff

Share this post


Link to post

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
×