Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...

New cnc-ddraw release (Red Alert 1 & C&C95)


FunkyFr3sh
 Share

Recommended Posts

On 11/14/2018 at 9:58 AM, hgjcool said:

U are not online this day , how to send message to U in cncnet forums( no topics no  posts ) ?

Can you use discord ?

 

 

New test release is out with support for 16 bit color depth games

https://github.com/CnCNet/cnc-ddraw/releases

 

Support for 16 bit color depth games

Some games that were tested:
Dune 2000
Command & Conquer: Tiberian Sun
Command & Conquer: Red Alert 2: Yuri's Revenge

'handlemouse' must be set to 'false' for Tiberian Sun / Red Alert 2. Don't use the games built-in windowed mode, use the cnc-ddraw windowed mode instead (Alt+Enter)

Link to comment
Share on other sites

8 hours ago, FunkyFr3sh said:

Can you use discord ?

 

 

New test release is out with support for 16 bit color depth games

https://github.com/CnCNet/cnc-ddraw/releases

 

Support for 16 bit color depth games

Some games that were tested:
Dune 2000
Command & Conquer: Tiberian Sun
Command & Conquer: Red Alert 2: Yuri's Revenge

'handlemouse' must be set to 'false' for Tiberian Sun / Red Alert 2. Don't use the games built-in windowed mode, use the cnc-ddraw windowed mode instead (Alt+Enter)

Very good , i ll try later

Link to comment
Share on other sites

New stable release

https://github.com/CnCNet/cnc-ddraw/releases

 

Changelog

  • Support for 16 bit color depth games
  • Several bug fixes and improvements

The following games should be working with this release (and probably some others):
Dune 2000
Command & Conquer: Tiberian Sun
Command & Conquer: Red Alert 2: Yuri's Revenge
Nox

Note: For better performance this release was built with visual Studio 2017 (v141_xp) and requires now at least Win XP SP3

Instructions

  1. Download cnc-ddraw.zip and extract it into your game folder
  2. Disable all compatibility modes for all of the game executables
  3. Start the game

Hotkeys

  • [Alt] + [Enter] = Switch between windowed and fullscreen mode
  • [Ctrl] + [Tab] = Unlock cursor
  • [Right Alt] + [Right Ctrl] = Unlock cursor
Link to comment
Share on other sites

  • 2 weeks later...
On 10/13/2018 at 7:04 PM, FunkyFr3sh said:

 

The frame rate limiter doesn't slow down the scroll speed anymore with the latest cnc-ddraw since that was a pretty bad solution from many years ago. It actually slowed down the whole game, not just the scroll (which ended up causing lag in online games).

I assume you're talking about CnC95, not RA95? The CnC95 campaign doesn't have the scroll speed limiter patch yet, so you'll have to enable a workaround I added to cnc-ddraw until nyerguds updates his installer.

 

Add the following line to ddraw.ini

 

You can choose a number between 1 and 16, higher number means slower scroll speed. It's probably the best to keep the number as low as possible to prevent slow downs during the gameplay.

OK

Edited by bright_hawkins
Link to comment
Share on other sites

Is it possible to handle pillarboxing from cnc-ddraw 1.3.2.0? 

I’m trying to get C&C95 rendered in 640x400 and upscaled to 2400x1800. The problem is I can’t get the fullscreen to be pillarboxed on a 2880x1800 display.

I’ve been tweaking AMD Radeon settings to use GPU scaling with maintaining aspect ratio setting, but I see no difference. It also seems like maintas setting is for the upscaling part, so enabling it does not help with required stretching from 8:5 to 4:3. 

1. Does setting width and height make a difference in what resolution is requested with fullscreen=true? I’m not sure whether it’s my driver forcing the stretching at this point.

2. Is setting windowed=true supposed to make a difference in this case? My expectation was it would create a window to fill the screen while only using the requested width and height, but that did not happen. 

Link to comment
Share on other sites

 

59 minutes ago, touko said:

Is it possible to handle pillarboxing from cnc-ddraw 1.3.2.0? 

I’m trying to get C&C95 rendered in 640x400 and upscaled to 2400x1800. The problem is I can’t get the fullscreen to be pillarboxed on a 2880x1800 display.

I’ve been tweaking AMD Radeon settings to use GPU scaling with maintaining aspect ratio setting, but I see no difference. It also seems like maintas setting is for the upscaling part, so enabling it does not help with required stretching from 8:5 to 4:3. 

1. Does setting width and height make a difference in what resolution is requested with fullscreen=true? I’m not sure whether it’s my driver forcing the stretching at this point.

2. Is setting windowed=true supposed to make a difference in this case? My expectation was it would create a window to fill the screen while only using the requested width and height, but that did not happen. 

 

fullscreen=true would use whatever resolution you're using currently in your OS. Once it's set to true, width and height are both ignored.

 

If you set fullscreen=true+windowed=true it will look the same for you as if you had fullscreen=true+windowed=false, the only difference is that one is using fullscreen exclusive mode and one not. 

For best performance:            fullscreen=true+windowed=false       (Fullscreen exclusive)

For no tearing/fast alt+tab:    fullscreen=true+windowed=true        (Windowed-Fullscreen)

 

However, you don't really need to use fullscreen=true, you can also set the width/height manually as shown in the example below.

 

 

For stretching 8:5 to 4:3 you can either have letterboxing:

[ddraw]
width=2400
height=1800
maintas=true
boxing=false

 

Or windowboxing:

[ddraw]
width=2400
height=1800
maintas=false
boxing=true

 

Or stretched to fill the whole screen:

[ddraw]
width=2400
height=1800
maintas=false
boxing=false

 

Link to comment
Share on other sites

16 minutes ago, Mafier said:

Mental Omega.But ts ddraw is exceptional.

508679616_Annotation2018-12-09191301.jpg.f673c9ac774cdf27a6817b0591a755c8.jpg

1029361496_Annotation2018-12-09191450.jpg.38765957b9e3b75a09e79094172eca2a.jpg

 

Yes, ts-ddraw overrides all settings and enables all CPUs.

 

By default all CPUs are used, that means something in Mental Omega changes it to CPU 0. Do you maybe have any compatibilty modes enabled for your game executables? Disable all and then try again.

Link to comment
Share on other sites

15 minutes ago, FunkyFr3sh said:

 

Yes, ts-ddraw overrides all settings and enables all CPUs.

 

By default all CPUs are used, that means something in Mental Omega changes it to CPU 0. Do you maybe have any compatibilty modes enabled for your game executables? Disable all and then try again. 

No, I just set Renderer Option and replace their ddraw.ini  . Can cnc-ddraw be designed to override all settings directly like ts-ddraw?

494645976_Annotation2018-12-09194713.jpg.8e7ad10e1ba5cc683f42bbd7d75bc208.jpg

 

Link to comment
Share on other sites

  • 4 months later...

Just a quick question here.  I got a new widescreen monitor (native resolution of 1920x1080).  I was tinkering with C&C95 for a few hours, and it seems that the only decent setting without bugs is 1024x768 but stretched to fit my monitor height (I have the black bars on the side by setting my Nvidia profile to scale on the GPU).  Although the game looks ok, it looks very blurry compared to what I am used to on my old fullscreen monitor...  The odd thing is that Linear looks no different than Nearest.  You would think that Nearest would look sharper, but it still looks just as blurry.  Any ideas on what else I can tweak?

Edited by Lightning Hunter
Link to comment
Share on other sites

The linear and nearest settings have been removed long time ago, in newer versions you'll have to use "shader=" + "renderer=opengl"

http://downloads.cncnet.org/addons/td-config.7z

 

For nearest use "shader=", linear doesn't exist anymore but you can use "shader=Shaders\cubic.glsl" instead.

 

Here some examples of other shaders: https://imgur.com/a/kxsM1oY

Link to comment
Share on other sites

Ok, so I messed around with this for a few more hours, but I only managed to make the game look worse instead of better.  I checked all the shaders that came with the pack, and I also downloaded some from https://github.com/libretro/glsl-shaders.

I honestly saw barely any difference no matter what shader I tried, except for the scanlines which are just ugly.  I sure do miss how sharp the game looked on my old monitor!  What I've done is set the resolution to 1024x768 (any higher and the game is played on the top left corner of the screen), and I set my Nvidia settings so the game is not stretched (I prefer the black bars on the sides to get the original aspect ratio).  However, all this makes the game look blurry.  Here are my settings:

	; cnc-ddraw - https://github.com/CnCNet/cnc-ddraw - https://cncnet.org
	[ddraw]
; ### Optional settings ###
; Use the following settings to adjust the look and feel to your liking
	
; Stretch to custom resolution, 0 = defaults to the size game requests
width=0
height=0
	; Override the width/height settings shown above and always stretch to fullscreen
; Note: Can be combined with 'windowed=true' to get windowed-fullscreen aka borderless mode
fullscreen=false
	; Run in windowed mode rather than going fullscreen
windowed=False
	; Maintain aspect ratio - (Requires 'handlemouse=true')
maintas=false
	; Windowboxing / Integer Scaling - (Requires 'handlemouse=true')
boxing=false
	; Real rendering rate, -1 = screen rate, 0 = unlimited, n = cap
; Note: Does not have an impact on the game speed, to limit your game speed use 'maxgameticks='
maxfps=180
	; Vertical synchronization, enable if you get tearing - (Requires 'renderer=auto/opengl/direct3d9')
vsync=false
	; Automatic mouse sensitivity scaling  - (Requires 'handlemouse=true')
; Note: Only works if stretching is enabled. Sensitivity will be adjusted according to the size of the window
adjmouse=True
	; Preliminary libretro shader support - (Requires 'renderer=opengl') https://github.com/libretro/glsl-shaders
; Example: shader=Shaders\crt-lottes-fast-no-warp.glsl
shader=
	; Window position, -32000 = center to screen
posX=-32000
posY=-32000
	; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto = try direct3d9/opengl, fallback = gdi)
renderer=opengl
	; Developer mode (don't lock the cursor)
devmode=false
	; Show window borders in windowed mode
border=true
	; Bits per pixel, possible values: 16, 24 and 32, 0 = auto
bpp=32
	; Enable C&C video resize hack - Stretches C&C cutscenes to fullscreen
vhack=False
	 
	; ### Compatibility settings ###
; Use the following settings in case there are any issues with the game
	
; Hide WM_ACTIVATEAPP messages to prevent problems on alt+tab
noactivateapp=false
	; Max game ticks per second, possible values: 0-1000
; Note: Can be used to slow down a too fast running game, fix flickering or too fast animations
maxgameticks=0
	; Gives cnc-ddraw full control over the mouse cursor (required for adjmouse/boxing/maintas)
; Note: This option only works for games that draw their own cursor and it must be disabled for all other games
handlemouse=true
	; Use Waitable Timer Objects rather than timeGetTime+Sleep to limit FPS/Ticks/Flip
; Note: To workaround tearing/stuttering problems, set maxfps 1 lower than screen refresh rate (59 for flip games)
accuratetimers=false
	; Force CPU0 affinity, avoids crashes/freezing, *might* have a performance impact
singlecpu=false
mhack=False
filter=nearest
	 
	; ### Game specific settings ###
; The following settings override all settings shown above, section name = executable name
	
; Carmageddon
[CARMA95]
renderer=opengl
noactivateapp=true
maxgameticks=30
	; Command & Conquer Gold
[C&C95]
maxgameticks=120
windowed=False
fullscreen=False
	; Command & Conquer: Red Alert
[ra95]
maxgameticks=120
	; Age of Empires
[empires]
handlemouse=false
	; Age of Empires: The Rise of Rome
[empiresx]
handlemouse=false
	; Age of Empires II
[EMPIRES2]
handlemouse=false
	; Age of Empires II: The Conquerors
[age2_x1]
handlemouse=false
	; Outlaws
[olwin]
noactivateapp=true
maxgameticks=60
	; Dark Reign: The Future of War
[DKReign]
maxgameticks=60
	; Star Wars: Galactic Battlegrounds
[battlegrounds]
handlemouse=false
	; Star Wars: Galactic Battlegrounds: Clone Campaigns
[battlegrounds_x1]
handlemouse=false
	; Carmageddon 2
[Carma2_SW]
renderer=opengl
noactivateapp=true
maxgameticks=60
	; Atomic Bomberman
[BM]
maxgameticks=60
	; Dune 2000
[dune2000]
maxfps=59
accuratetimers=true
	; Dune 2000 Online
[dune2000-spawn]
maxfps=59
accuratetimers=true
	; Command & Conquer: Tiberian Sun
[game]
noactivateapp=true
handlemouse=false
maxfps=60
	; Command & Conquer: Tiberian Sun Online
[ts-spawn]
noactivateapp=true
handlemouse=false
maxfps=60
	; Command & Conquer: Red Alert 2: Yuri's Revenge
[gamemd]
noactivateapp=true
handlemouse=false
maxfps=60
	; Command & Conquer: Red Alert 2: Yuri's Revenge Online
[gamemd-spawn]
noactivateapp=true
handlemouse=false
maxfps=60
	
[cnc95]
windowed=False
fullscreen=False

Edited by Lightning Hunter
Link to comment
Share on other sites

It actually looks exactly the same when I choose those settings.  Any other options I can try, or am I just expecting too much?

Edit:  Hmm, maybe the shaders do more when I stretch the image to widescreen. Is there a way to set it so the black bars are on the sides to maintain fullscreen aspect ratio?  I was doing that through my graphics card before, but maybe I should do it through ddraw if possible.

Edited by Lightning Hunter
Link to comment
Share on other sites

You should be able to see quite a big difference between "shader=" and "shader=Shaders\cubic.glsl" with fullscreen=true

 

use maintas= to enable/disable the black bars on the sides

 

 

Edit:

Remove this here first (Settings written on the bottom override the ones on the top). 

[C&C95]
windowed=False
fullscreen=False
[cnc95]
windowed=False
fullscreen=False

 

Instead of removing the sections on the bottom you can also do it via the config program instead, set display mode to "stretched"

image.png

Link to comment
Share on other sites

So I pretty much went through every single shader in that link above.  Although I didn't find exactly what I was looking for, I found a few that are nice.  One in particular I think you should include in your pack, Funky.  It has a unique photographic-style feel to it that has really grown on me. Although it is not for everyone,  I personally feel it emphasizes the gritty feel of the original game.  It is kind of how I always pictured the game based on the original C&C DOS instruction manual.

https://github.com/libretro/glsl-shaders/blob/master/xbr/shaders/super-xbr/custom-jinc2-sharper.glsl

 

Link to comment
Share on other sites

54 minutes ago, Lightning Hunter said:

So I pretty much went through every single shader in that link above.  Although I didn't find exactly what I was looking for, I found a few that are nice.  One in particular I think you should include in your pack, Funky.  It has a unique photographic-style feel to it that has really grown on me. Although it is not for everyone,  I personally feel it emphasizes the gritty feel of the original game.  It is kind of how I always pictured the game based on the original C&C DOS instruction manual.

https://github.com/libretro/glsl-shaders/blob/master/xbr/shaders/super-xbr/custom-jinc2-sharper.glsl

 

 

Just tried it, but it looks like nearest (no shader). Maybe it just doesn't work for me, you got a screenshot?

 

btw... you get the best results with integer scaling, since you said your monitor supports max 1920x1080 you could run the game at 960x540 (2x scaling) rather than 1024x768

Link to comment
Share on other sites

2 hours ago, FunkyFr3sh said:

 

Just tried it, but it looks like nearest (no shader). Maybe it just doesn't work for me, you got a screenshot?

 

btw... you get the best results with integer scaling, since you said your monitor supports max 1920x1080 you could run the game at 960x540 (2x scaling) rather than 1024x768

How do I take a screenshot in C&C?  I never was able to... I read Nyergud's tutorial once, but all I ever get is a completely black image when I use print screen (no image data at all).  Also, his palettes cannot be imported by photoshop.

I tried turning on integer scaling with 960x540, but there are just black bars on top, bottom, and the sides now (the game is centered and looks tiny).  Is there a certain combination I need with maintas and fullscreen?

Edit: So I just figured out that pressing print screen while in-game creates a screenshot in the C&C folder, but all the screenshots look the same no matter what shader I'm using (so I guess it does not capture shaders in the shot).  Even xbrz-freescale.glsl looks the same in the screenshot.

Edited by Lightning Hunter
Link to comment
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
 Share

  • Similar Content

    • By sgtmyers88
      EDIT: The new mod profile is live!
       
      So long time no chat. lol 😀 Since finally completing the story campaigns for Tiberian Dawn Redux a couple years ago I have been repeatedly approached about carrying the mod over into the RA universe with a spinoff. While it's still in the very early stages of development, Red Alert Redux is slowly being brought to life. I haven't decided if it will be a mini-mod type add-on built into TDR (think GDI/Nod vs. Allies/Soviets in skirmish) or a standalone project built off of the renovated C&C Generals SAGE engine TDR is now using. I know a lot of the assets and coding between the original TD and RA games is nearly the same so it would streamline development quite a bit. (looking into the original game files I noticed a lot of the art and audio assets are using the same filenames to confirm this) The biggest hurdles I have will be making a decent naval system, designing, coding, and animating attack dogs and then the Chronosphere stuff. I may also (as I did with TDR) consolidate the unit and structure tech tree and add unit upgrades and special abilities. (e.g. Engineers doubled as Mechanics and APC's doubled as Medics) So who wants Red Alert Redux? And I will say it will not be a 1:1 remake. As I did with TDR I aim to keep as much of the original wacky tech and atmosphere Westwood developed for TD and RA but also have a more realistic spin on it in both appearance and gameplay. I have been considering consulting with the former Cold War Crisis Mod Team and the guys behind Red Alert: A Path Beyond.
       
       
       



    • By DrPhilly
      Hi Guys,

      A befriended-long time RA1-player names WorstPlayer is banned all of a sudden. I've checked the logs but I can't find any reason why he could have been banned. I asked NateDiaz for intel, he checked it and tried to unban but that didn't work. I sent Funky a private message via Discord but no response, so that's why I'm posting this topic.

      Could someone please unban him? Or if he's banned could you explain to me why, so I can tell him because he has no idea why he has been banned. The Scunthorpe-ban is only for 5 mins, but it seems he's banned for a longer period. He's a decent player, he doesn't use foul language, so please let me know.

       
      <WoRsTpLaYeR> SCUNTHORPE FC FOREVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [21:59] :[email protected] MODE #cncnet +b [email protected] [21:59] SpamServ kicked WoRsTpLaYeR (Badword has been found in channel message [Be friendly! 5minute ban].)   Error:Cannot join game you are banned
    • By [Spro]Sin
      The new update the game has made this game a far worse game for me 
      I have been doing much Research of my own hours of testing 
      This is a complex topic that have too sides i understand this 
       
      nicknamed Steroid Tanking by crush, many alternative ways of tanking turned out too exist
       the known ways of tanking are q tanking gq tanking & sgq tanking
      the crush video link cheat methed to used here  ,,,> https://www.youtube.com/watch?v=J7Qhj9Nqtx8
       
      alt & g & q  tanking worked before the update for some pros 
      it no longer works
      I don^t fully understand the buttons used or the timing needed 
       
      also gq & q together sametime I used myself mostly in mini q master games vs others pros noobs & the ai no longer works 
      too understand what this is dual q & gq marge into one 
      gq-ing your tanks & q-ing your tanks at the same time has the traits of both q & gq is powerfull tanks auto fire like in gq but by also q-ing u also fire kill more tanks by aiming your self as well
       
      The topic cheating come up on Steroid Tanking  yes many players used the hotkey editer too bind keys into one button yes I agree this is cheating
      but Steroid Tanking its self is not cheating and should not be considerd as cheating it was used be possable hold down 2 buttons on your keyboard same time tank this way do the same kind of thing without cheating of any kind at least with my way of using it 
       
      Steroid Tanking was  a closely guarded secret by many pros who used it myself too i didn't know other pros had there own ways of using it but also I know there was lot more out there then what meets the eye 
      In a black & white world of q gq & sgq its turns out colour existed too
       
      i wish only too preserve game mechanics from being lost forever 
       
      I have many online friends on cncnet i don't want lose my friend ships and the game used to the best game in the world to me there never be a game as this one was 
      however am looking for a new game get into now. red alert 1 was good in its day 
       
      i don't want to cause a butterfly effect but i know philly retire too if I do a lot players be upset too petersky cloutiers return not go well 13clan members be upset many others friends of mine too 
      but the fun in the game is gone for me becouse this patch and update has set the game on the wrong path 
       
      what am asking for is fix the patch so hotkeys work without using cheats too gq & q same time is a tanking style where tanks can be in a q & gq state at the same time and i wish safe as many other ways of tanking as possable
       
      but i dont want players using key binding as this is cheating but there is a differences holding down many buttons with fingers on keyboard and using the hotkey editer to do this 
       
      The level of play in red alert 1 has gone up over the years for many years players didn't know gq existed only use q
      ehy used gq as well he know of it before many others its what made him so powerful in tank batties  
      sadly my understanding of far past is limited but I been here for a long time about 7 years online back then updates didn't hurt the game in any way i know of at least
      ehy was skilled at making super tesla too ended up getting a update that got super tesla added bug fix settings  
       
      i think another fix is just add Steroid Tanking as a setting players room host can turn on or off  same way super tesla works 
      it make both sides happy 
       
      red alert 1 is a very unique game hotkeys & base walking 
      being able too q & gq simultaneously 1 group of tanks is what made game fun for me 
       
      my decision too retire or not is not set in stone all options are on the table its not too late yet 
      its depends on if this update patch gets fixed or not and the responses too my posts 
       
       
       
       
       
       
       
       
       
       
       
    • By Ford (retired)
      In Red Alert 1 since there are so few players already, there is a big issue of players camping the top 3 spots and then not playing at all which effectively causes the ladder to be unplayable on certain days.  I think a decay system should be an option for each ladder to be enabled and mitigate this issue.  Decay settings would be a signifcant improvement, but the grace period and amount of decay should be customizable like the other settings.
       - add ability to set grace period
       - ability to set the % of total points lost per day after grace period is up
       - ability to set the lowest rank to be affected and/or make it so points cannot decay lower than (ie. 5th rank's points)
       - display to players if they are going to decay and how long until they do
           Thank you for creating the quickmatch ladder.  I hope the devs all enjoyed doing so.
      Cheers
    • By Genio
      Hi again,
       
      I´m trying to build a multiplayer team misson map. So I set IsCoopMode=Yes.
      Do I habe the possebility to fix the coutry for the players? So the player can´t choos soviet or allied?
       
      Thanks for help
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...