Home » MODDING HQ 1.13 » v1.13 Feature Requests » Request: XBR-filter(scaler) for ja2 1.13
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336275] Sun, 28 September 2014 16:54 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
I set my ja2 executable to windowed mode and the resolution to 640x480.

Never use ExShell for running games in windowed mode. All games have fullsreen mode and only few of them have windowed mode, and as ExShell force fullscreen applications run in windowed mode itself, its much more easy for it to emulate fullscreen mode, then to change existing windowed mode. I don't think that this can cause any problems.

RoWa21
in the log file of your tool it tells me I should press Enter to continue and the it crashes.

To be able to see log while crashing I made option:
$ConsoleWait: YES	~ Pause console log at process termination
So it's normaly behavior, the main quastion why it termites\crashed. As I suppose the reason is that in JA2 config set windowed mode.

RoWa21
then I set the ja2 executable to fullscreen and the game started, but it was black and white instead of colored.

It's normal, look in config there are used 2 filters: Grayscale and AdMame2x upscaler, remove Grayscale filter and you will get colored image.

RoWa21
- when using the tool, should I always run the game in windowed mode or does it also work in fullscreen?

Tool was made for running games in windowed mode, for now it can't work in fullscreen mode, but you can configure it to use window with you desctop resolution without border and stretching screen to window size, so it will be look similar as in fullscreen mode. As for running game it must use fullscreen mode.

RoWa21
- do I have to set the windows colors to 16 bit before running the with the tool?
No, thow it's not take mention about what desctop color mode is set - it wasn't tested in 16 bit color mode.


Config is just example it's impossible to make such tool that will make all happy thats why evry one need to configure it for himself itself. Evry one have different harware, resolutions and difference tastes. Someone like pixaleted images someone smoothing and so on. Thats why I made it very configurable, and for this reson you need to look throw config to get result that you expect. First you need just to run game after this you can play with config and look what is changed if you change smth there )

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336278] Sun, 28 September 2014 17:31 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Thanks for your help. No I could start the tool without any problems. I just had to set the ja2 executable to fullscreen in ja2.ini. I also remoed the grayscale ($ImageFilter: #0001) filter from the *.ecd file.

2 problems I got
- The game was running very, very slow. It looked like a slideshow ...
- The seems to be a little display problem with some of the ingame fonts

OK, here are a few more questions:
1.) Any ideas how I could increase performance. What do I have to adjust in the ecd file?
2.) Should I set the ja2 screen resolution to the same than the exshell resolution?
3.) What filters do you suggest to get the best graphics for JA2. Can you list them.

Thanks!

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336279] Sun, 28 September 2014 18:25 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
- The game was running very, very slow. It looked like a slideshow ...

Try use other filters or resolution. Upscale filters are rather hard and need good harware, especialy for big resolutions. As for me upscaling 1280x720 to 2560x1440 with Admame2x give very good result (i7-4820K (3700 MHz), DDR3-1866 9-9-9-27 (8x8 Gb))


RoWa21
- The seems to be a little display problem with some of the ingame fonts

What problems? Any way it's uther result of filter or result of final straching. Make sure that you don't use downscale with GDI blitter, as it work good only for upscale, not for downscale.

RoWa21
1.) Any ideas how I could increase performance. What do I have to adjust in the ecd file?

- Perfomance dependes first of all on game resolution and applying filters. So try to change them, you can disbale upscalers at all if you choose None filter. See redme for perfomance tests of filters (result was getted from my PC, results can differe on other hardware)
- Try to decreese FPS limit, many old games don't update screen often so even with 20-40 FPS you can see same as with 60+
- Turn off console and OSD that willn't give much, but will little increse perfomance.
- Also disable strectching for blitter will give litle increase performance, but not such large as disabling filters.
- If you are Win8 user, then possibly problem can be related with problems of compatibility DirectDraw on Win8. As I'm not win8 user I don't know much about this.

In any cases try and look on OSD to see curent value of FPS and CPU load (for most easy 100% means loading not all CPU, but only 1 core. As old games don't use severall CPU 100% is limit, if they can use sevaral CPU don't be surprised to see 200%). To make your game working good you need to get such options for recive CPU load below 80-100% with FPS that satisfy you.

RoWa21
2.) Should I set the ja2 screen resolution to the same than the exshell resolution?

You can use any window resolution it can be larger or smaller then game resolution. But you can also tell ExShell resolution at what your game run (key "$FScreenMode"), otherwise it will work only with part of screen. I recomended AdMame 2x filter, it's very fast and give rather good result. If it's very slower try Pixelate or ScanlinesTV thay are fastest, thow they don't make image smooth, if you whant smooth image try None filter with blitter stretching, it's also fast but don't give good result as upscalers. in future I will made support Direct3D or Direct2D blitter with interpolation (bilinear, bicubic and so on) to get more better streching results.

[Updated on: Sun, 28 September 2014 18:27] by Moderator

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336281] Sun, 28 September 2014 18:40 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
PS you can use notepad++ with syntax higlegh i included in release to make work with config much easy:

http://www.kachalka.com/images/bgdvi3h5kg2z9cj8dl9t.png

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336282] Sun, 28 September 2014 18:50 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
PS possibly better to move discusuion to other topic as it will be hard to found download links here? Where better to create new one?

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336286] Sun, 28 September 2014 19:40 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
It's good but better to create me own to be able to edit 1st post to add links to new versions and so on ))

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336287] Sun, 28 September 2014 19:50 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@staticZ: ok the thread is deleted. you can create an own thread and link it here

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336291] Sun, 28 September 2014 20:35 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
@RoWa21: Done - http://www.ja-galaxy-forum.com/ubbthreads.php/topics/336288#Post336288 I made it in one 1.13 forum as it independed tool and can work with any version and even with other games )

If it's possible then move post from #335986 to new thread.

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336293] Sun, 28 September 2014 21:11 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
which filters did you use in the screenshot in post #335986?

and yes, I will move the post later.

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336300] Sun, 28 September 2014 23:09 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
Looks like XBR, see screen for compare http://www.ja-galaxy-forum.com/ubbthreads.php/topics/336299#Post336299

And lets move discussion in new thread.

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336315] Mon, 29 September 2014 17:37 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
ok !

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #361149 is a reply to message #336315] Sun, 06 September 2020 21:37 Go to previous messageGo to next message
shenanigans is currently offline shenanigans
Messages:2
Registered:August 2020
In my search for a way to upscale 1.13 I found this tool which still seems to work well. However the minimum upscale is 2x, and the game doesn't allow a smaller resolution than 800x600 - which means it's impossible to get a nice display on a 1920x1080 screen. Any chance of the game supporting 960x540 resolution, which will nicely upscale to 1920x1080? Currently if I try that resolution, the game forces me to run at 960x600 which is too big for a 2x upscale.

Report message to a moderator

Civilian
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #365459 is a reply to message #361149] Mon, 17 July 2023 20:11 Go to previous messageGo to next message
howareyou32 is currently offline howareyou32

 
Messages:424
Registered:March 2009
Location: New York, New York
all the links are dead guys. anyway to do this nowadays.

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #365483 is a reply to message #365459] Wed, 19 July 2023 19:50 Go to previous messageGo to next message
Asdow is currently offline Asdow

 
Messages:126
Registered:August 2010
1.13 comes bundled with cnc-ddraw nowadays. You can either use its pixel shaders (it has xbrz scaling as an option. Might have to extract the shaders-package.zip inside Shaders folder first). Alternatively, Reshade works with opengl, so you can use it with the cnc-ddraw

Report message to a moderator

Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #365519 is a reply to message #365483] Fri, 21 July 2023 16:32 Go to previous message
howareyou32 is currently offline howareyou32

 
Messages:424
Registered:March 2009
Location: New York, New York
Asdow wrote on Wed, 19 July 2023 19:50
1.13 comes bundled with cnc-ddraw nowadays. You can either use its pixel shaders (it has xbrz scaling as an option. Might have to extract the shaders-package.zip inside Shaders folder first). Alternatively, Reshade works with opengl, so you can use it with the cnc-ddraw
nice thanks buddy. Have not play 113 for years now. see so many new thingies and have time to try them out. will let you know if it work.
E: it work! look better in my pc but just a little better in my SD. still better. TY guys.

[Updated on: Fri, 21 July 2023 17:05]

Report message to a moderator

Master Sergeant
Previous Topic: Ideas for New Characters for Jagged Alliance 2
Next Topic: Expand Merc Profiles Id Over 256
Goto Forum:
  


Current Time: Fri Mar 29 06:54:08 GMT+2 2024

Total time taken to generate the page: 0.01709 seconds