Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Zjorz

Scaling filters for C&C 95 and RA1

Recommended Posts

1080p and higher monitors are becoming really common, and it's clear RA1 and C&C 95 don't scale well to these resolutions.

What is currently the optimal way to upscale these games and get the sharpest result for 1080p and 4k?

Is it possible to use scalers similar to the ones for dosbox?

Share this post


Link to post
Share on other sites
12 minutes ago, Zjorz said:

1080p and higher monitors are becoming really common, and it's clear RA1 and C&C 95 don't scale well to these resolutions.

What is currently the optimal way to upscale these games and get the sharpest result for 1080p and 4k?

Is it possible to use scalers similar to the ones for dosbox?

I was looking into xBRZ recently, will probably add a OpenGL shader version of it cause it's cool. For GDI I will probably not add anything, it's just too slow on the CPU

 

Original: https://imgur.com/0cEbu

scaled xBRZ: https://imgur.com/5de2q

 

 

What's currently the best thing do to depends on what resolution you like to play, you could try 960x540 and scale that to 1920x1080 with GDI

Share this post


Link to post
Share on other sites

Great to hear you are looking into the options of scalers. This will really make the game future proof in the long term.  For myself I want to upscale both games to 1080p, so looking for the best setting for that.

Btw, I came across this example for dune 2 upscaling. Check the post "HD graphics for Dune Legacy" Posted on Sep 4, 2016: http://dunelegacy.sourceforge.net/website/news.html

Would this be an option for the C&C95/RA1?

Share this post


Link to post
Share on other sites
35 minutes ago, Zjorz said:

Great to hear you are looking into the options of scalers. This will really make the game future proof in the long term.  For myself I want to upscale both games to 1080p, so looking for the best setting for that.

Btw, I came across this example for dune 2 upscaling. Check the post "HD graphics for Dune Legacy" Posted on Sep 4, 2016: http://dunelegacy.sourceforge.net/website/news.html

Would this be an option for the C&C95/RA1?

wont be possible for us to do it that way, we have to scale the whole thing up in real time. That's the reason why I want to use OpenGL (scaling it on the GPU). But it may look similar or even better, it depends on what scaling method looks the best for the C&C games. I'm gonna try a few and pick the best ones.

 

For 1920x1080: try 960x540 and scale that to 1920x1080 with GDI

That's the only thing you can do now go get a sharp picture, we don't have any fancy scaling methods yet. I could add one quick, would only take a few mins with GDI, but it's too slow for online games... May work fine for singleplayer though.

You can try it out on your own if you can't wait for the OpenGL version https://github.com/CnCNet/cnc-ddraw

Share this post


Link to post
Share on other sites
18 hours ago, FunkyFr3sh said:

For 1920x1080: try 960x540 and scale that to 1920x1080 with GDI

Used this with the "nearest" filter and the result has been great! Maybe worth including this as a preset for the config tool?

Share this post


Link to post
Share on other sites
27 minutes ago, Zjorz said:

Used this with the "nearest" filter and the result has been great! Maybe worth including this as a preset for the config tool?

The latest config tools do most of it already automatically, all you have to do is clicking on the resolution box and then backspace to delete, enter any custom res such as 960x540 and it will scale it up automatically. I thought about adding such half-native resolutions to the list, but haven't done it yet.

 

If you have an older installation, get the latest config tools from here https://forums.cncnet.org/topic/7782-new-cnc-ddraw-release-red-alert-1-cc95/

Share this post


Link to post
Share on other sites

I have the newest config and ddraw version mixed with the neyerguds singleplayer version. Will post feedback in the other topic after playtesting the campaign :)

Share this post


Link to post
Share on other sites

I made a few test  pictures...

Hint: click on the first one and then browse through them using the arrows

1 Original.png

2xSaI.png

Bicubic.png

Bilinear.png

eagle.png

HQ 2x.png

Nearest neighbor.png

scale2x.png

XBR 2x.png

XBRz 2x.png

Share this post


Link to post
Share on other sites

@Zjorz

 

first test version is done! Still need to optimize it and do some tweaks to get all shaders working, but most should be working already (those that require linear=true are not working, nor do the multi-pass ones work)

https://forums.cncnet.org/topic/7782-new-cnc-ddraw-release-red-alert-1-cc95/

 

You can download more shaders here  https://github.com/libretro/glsl-shaders

Don't forget to set the shader path in ddraw.ini: shader=*.glsl

 

It's not smart yet, if you use a 2x shader then make sure you set Width/Height in ddraw.ini to 2x of your game res manually. 

e.g. if you play in 640x400, set width=1280 and height=800

 

renderer=opengl must be set in ddraw.ini, it wont work with gdi

 

 

Video with xBRZ freescale http://cnc.cloudns.pro/Test/index.php?video=RedAlert_xbrz-freescale_shader_test.mp4

Note: It's a bit laggy, I have a terrible intel GPU and xBRZ is the most heavy one I tested so far. I guess it will work fine on any semi-good gpu though. If not, then try a less demanding shader instead.

Share this post


Link to post
Share on other sites

@FunkyFr3sh could i use this to add shaders to YR?

For example adaptive sharpening, with anti-aliasing and dithering for prettier graphics?

Share this post


Link to post
Share on other sites
34 minutes ago, FReQuEnZy said:

@FunkyFr3sh could i use this to add shaders to YR?

For example adaptive sharpening, with anti-aliasing and dithering for prettier graphics?

cnc-ddraw doesn't work with YR, it's only for C&C1, Red Alert 1 and a few other non C&C games. I might add it to ts-ddraw later though

Share this post


Link to post
Share on other sites
4 minutes ago, FunkyFr3sh said:

I might add it to ts-ddraw later though

Thanks for the fast reply. :)

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
Sign in to follow this  

  • Similar Content

    • By DoMiNaNt_HuNtEr
      I wanna download C&C95 but the link on your website is dead. You guys still got access to that file?
    • By MrFlibble
      A very long time ago I found a Russian website with a RA1 TC called Third Revolution. It's a stand-alone total conversion with new campaigns and a setting unrelated to the C&C universe -- rather, it tells the story of a post-1991 restoration of the Soviet Union and its struggle against Capitalist adversaries. The author had problems with the black/transparent colour in the palette but otherwise it was pretty solid all-in-all.
      Back then I downloaded the Russian version, but later forgot about that TC until recently (had to ask around to remember the title). Anyway, the Russian version of the TC is available from The Red Alert Archive, however the developer's page also lists an English version (thirden.rar) among downloads, as well as a music pack (scores_full.rar). Supposedly, these were hosted at http://ra.afraid.org/thirdrev/, but the Wayback Machine does not have the respective files, and apparently they were at some point removed, for whatever reason.
      I was wondering if anyone still has these files archived somewhere? Also, it seems that the TC is based on Aftermath 2.02, would it be possible to upgrade to 3.03 Beta?
    • By FunkyFr3sh
      Running CnCNet server using systemd (Linux x64)
       
      wget downloads.cncnet.org/tunnel.sh sh tunnel.sh 200 "Unnamed Server" If you're unsure what linux distro to choose, just take the latest version of Ubuntu
       
       
      Using the above method you can run both CnCNet servers as a service and they will continue to run even after the server restarted.
       
      Alternatively you can also run the servers individually (see below):
       
       
       
       
       
      New Server (All Games)
       
       
      Linux x64 example:
      wget -c https://downloads.cncnet.org/cncnet-server.tgz -O - | tar -xz nohup ./cncnet-server --name "My cool server" --maxclients 200 --port 50001 --portv2 50000 > cncnet-server.log 2>&1 & Linux ARM
       
       
      Windows:
      On XP, Vista and 7 make sure .NET 4.0 is installed: https://www.microsoft.com/en-US/download/details.aspx?id=17113
      Download the server and start it: http://downloads.cncnet.org/cncnet-server-gui.exe
       
       
      Note: Servers are chosen automatically by CnCNet and are only used in case 2 players fail to establish a Peer-To-Peer connection. Yuri's Revenge players can select a specific server via the advanced settings while hosting a game room.
       
       
       
       
       
      Old Server (Yuris Revenge only)
       
       
      Linux (Ubuntu) example:
      sudo apt-get install default-jre wget http://downloads.cncnet.org/cncnet-tunnel.exe nohup java -jar cncnet-tunnel.exe -name "My cool server" -maxclients 200 -port 50000 -headless > cncnet-tunnel.log 2>&1 &  
       
      Windows:
      Download the server and start it: http://downloads.cncnet.org/cncnet-tunnel.exe
       
       
      Note:  To use a specific server you'll have to select it via the advanced settings while hosting a game room.
       
       
       
       
       
      The servers will not show up instantly on the website, it can take up to 4 hours
       
       
       
    • By AndrewFord
      CnCNET is great, and since RA source code has been released this is a huge step in improving the game and adding nice juicy features that allow us to enjoy the game we love.
      Add a replay system, maybe as an option as saving a replay could add more lag to games.
      Fix bug where you can ally someone who is trying to Engi your building which prevents it from being captured
      New .ini keywords, this would allow for more control over making maps of all types from nurple to Defense maps
      I'll list a few keyword suggestions
      Ability to remove darkness crate as random chance Chrono (superweapon) Crate Size of Nukes/Demo Trucks explosions Force Ore Regrowth on (ignores lobby setting "Ore Regenerates") Crusher Flag for vehicles Helicopter Firing Delay Auto Attack Flag (Tanya for example) Build Speed Multiplier (per unit/building) New Triggers New blank units if modders want to add them to maps. (Like Ferrets Tiberian Alert mod)
       
       
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...