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 Micco
      Trying to join ladders but dont get verify email. Trying to get new verify email again and again but never receiving email. Have already checked trash folders etc...
      Can only closed circle play ladder games, you fear one new noobie challenger?
    • By electromusichall
      Hi, can unofficial game translation patches be used?
    • By Volkov Boris
      Can any one make a mod for red alert remastered that allows the ai build super weapons,special and T3 units and naval units? 
    • By FunkyFr3sh
      All Medals were reset and a new map was created, please check the new rules below
       
      Rules:
      1. Settings = Color: Yellow, Country: Germany, Speed: 7
      2. You must destroy all enemy tanks before the time runs out
      3. You need to win using hotkeys like in the video shown below (ctrl shift etc..)
      4. Stacking/fooling the AI is not allowed - Do not park any tanks next to the kennels to destroy/block them on purpose (no force fire etc..)
      5. Your screen resolution must be 1280x width or below and 720x height or below (1024*768, 1920x1080 etc... are not allowed)
      6. 1 trusted spectator must watch you playing the map (See names below)
      7. The spectator must host the game room and not the player
      8. The game must run at an acceptable speed, laggy games don't count
       
       
      Spectators: robskate, Bravo, At0m1, FunkyFr3sh, Lauta, D1GA, Commander, Lovehandles, Ferret, ra168uk, lordy
       
      Note to Spectators: After the game you must check the resolution of the player in the score screen to ensure the player did not use a too high resolution. When the ready button was clicked there should be no cheat warning.
       
      Example video: https://www.youtube.com/watch?v=JDzDXvyPjCw
       
       
      Search for "Gold Medal Challenge V2.1" or type the following command inside a game room: 
      /map 72f6a01ff66dbc3e193cdbe84adf51f6636f4956
       
       

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...