Duke4.net Forums: How to use swupscale.zip and Sw_Hrp.zip - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to use swupscale.zip and Sw_Hrp.zip

User is offline   geoliv2104 

#1

Hi, I'm a newbie and would like to play ShadowWarrior with voidsw under Linux.
I still have the Original SW 1997 DosVersion files ( sw.rts, sw.grp ) and
copied them to ~/.config/voidsw
The voidsw binary, I compiled myself after doing
# git clone https://voidpoint.io...inx/eduke32.git
# make sw
and copy voidsw to /usr/local/bin
It works fine and I can start the game with /usr/local/bin/voidsw
(the ~/.config/voidsw/sw.rts and ~/.config/voidsw/sw.grp files are automaticly used)

Now I want to enhance graphics and therefore I downloaded two files:
swupscale.zip ( from www.moddb.com/games/shadow-warrior/addons/shadow-warrior-upscale-pack-v11)
Sw_Hrp.zip ( cannot remember the source)
My questions are:
How can I use these files?
unpack or not?
use them both?
and most important, where to put them?

please help
0

User is online   Phredreeke 

#2

This is going off memory. First VoidSW doesn't support autoload folder, so you'll have to extract both zip files to ~/.config/voidsw/
then you need to edit sw.def and add include swupscale.def somewhere in the file. You may also want to comment out include statements for enemy models (as models take precedence over upscaled sprites) depending on your preference
0

User is offline   geoliv2104 

#3

View PostPhredreeke, on 10 February 2026 - 07:23 AM, said:

This is going off memory. First VoidSW doesn't support autoload folder, so you'll have to extract both zip files to ~/.config/voidsw/
then you need to edit sw.def and add include swupscale.def somewhere in the file. You may also want to comment out include statements for enemy models (as models take precedence over upscaled sprites) depending on your preference

0

User is offline   geoliv2104 

#4

Thank you for the answer!
After unpacking both zip files my ~/.config/voidsw/ folder looks like this
filter/
highres/
lr/
skyboxes/
tdupscale/
upscale/
wdupscale/
grpfiles.cache
info.txt
lr.def
swgdx.def
sw.grp
swindexed.def
sw.rts
swskyboxes.def
swupscale.bat
swupscale.def
tdindexed.def
tdupscale.def
texturecache
texturecache.index
voidsw.cfg
voidsw_cvars.cfg
wdindexed.def
wdupscale.def

I found sw.def under ~/.config/voidsw/highres/sw.def
It looks like this after adding -> include swupscale.def
// Extra additions to the game
//Screen
include highres/screen/fonts.def
include highres/screen/menu.def
include highres/screen/hud.def

//Skyboxes
include highres/skyboxes/skyboxes.def

//Sprites
include highres/sprites/characters.def
include highres/sprites/decals.def
include highres/sprites/effects.def
include highres/sprites/firstperson.def
include highres/sprites/monsters.def
include highres/sprites/pickups.def
include highres/sprites/props.def
include highres/sprites/signs.def
include highres/sprites/switches.def
include highres/sprites/voxels.def
include highres/sprites/projectiles.def

//Textures
include highres/textures.def

//User
include user.def
include swupscale.def 

definetint 11 174 186 142 0
definetint 13 148 192 255 0
definetint 14 255 110 80 0

To comment out the enemy models may be a next step.
But so far, after restarting voidsw, I could not see any enhancement.
Maybe I need to tell voidsw to use ~/.config/voidsw/highres/sw.def
e.g. on the command line?
0

User is online   Phredreeke 

#5

You need to move sw.def to ~/.config/voidsw/
0

User is offline   geoliv2104 

#6

View PostPhredreeke, on 11 February 2026 - 08:54 AM, said:

You need to move sw.def to ~/.config/voidsw/

Thank you again!
Now it seems to work.

Remark: I stil wonder one thing.
It seems to bee alot of work to create these enhancement packages.
but why is it so poorly documented, or hard to find information how to use.
0

User is offline   DNS 

#7

View Postgeoliv2104, on 12 February 2026 - 04:41 AM, said:

Remark: I stil wonder one thing.
It seems to bee alot of work to create these enhancement packages.
but why is it so poorly documented, or hard to find information how to use.


Because like most software linux was an afterthought or not initially supported at all. You can blame microshaft for monopolizing the OS market in the 90's and indoctrinating children during their school years to fear anything that isn't windows until they eventually have enough of the bullshit, grow a spine and explore other options.

Although what phredreeke mentioned will work as a bare minimum you will run into problems moving forward if you ever decide to make any changes such as running different mods or non-vanilla addons. You'll still have to combine additional ".def" files when more than one is present due to limitations in how build games function but I strongly recommend not having a single dump of additional files in the main voidsw/eduke32 directory. You can call other directories with the command line parameters mentioned here. That should answer your previous inquiry as well. There are a couple that didn't work with voidsw at one point but all the important ones do at least when I setup my installs.

This post has been edited by DNS: Yesterday, 05:09 PM

0

User is online   Phredreeke 

#8

View PostDNS, on 14 February 2026 - 04:50 PM, said:

Because like most software linux was an afterthought or not initially supported at all. You can blame microshaft for monopolizing the OS market in the 90's and indoctrinating children during their school years to fear anything that isn't windows until they eventually have enough of the bullshit, grow a spine and explore other options.


If you think that's bad, Gen alpha is clueless when it comes to anything without a touch screen or so I've heard
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options