Home » MODDING HQ 1.13 » v1.13 Feature Requests » Request: XBR-filter(scaler) for ja2 1.13
Request: XBR-filter(scaler) for ja2 1.13[message #334100] Wed, 09 July 2014 00:50 Go to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
Idea:

Use real-time graphic filter(scaler) for ja2.

based on new scaling technology -
XBR. (xbr 2x no blend)
(brz)

It's like good 4\8x AA for 3d games.


wiki compare -
http://en.wikipedia.org/wiki/Image_scaling#mediaviewer/File:HQx-xBRZ-comparison.png


---
This filters use emulation soft for snes, sega,

DOS-emulator dos-box, also HD ver. of fallout 1\2
use some filters(scalers) for better graphic.


---
test files -
https://yadi.sk/d/BAu3Hp2BWEJwu

or
http://www.adrive.com/public/MvMH5u/xbr_filter_ja2_VS_original.zip

(files to compare)

Optimal view on full-HD 1080p\ on ACDsee program.


==============
fast demo:
http://111.imagebam.com/download/mDg5zct5fB4OuSXizYi10g/33774/337739837/__fast_test.png


=====
Test ANY images using this filter -

https://code.google.com/p/2dimagefilter/downloads/list


optimal variant for ja2 is xbr 2x _no_blend.


======
or this soft -


http://hqmame.sourceforge.net/ScalerTest.zip

(xBRZ Scaler Comparison and Testing Tool)


______

http://112.imagebam.com/download/_3cW5MJWB5u_5uuHgzKZhw/33776/337750877/__fast_test_2.png


*original -
http://112.imagebam.com/download/_3cW5MJWB5u_5uuHgzKZhw/33776/337750877/__fast_test_2.png

===

[Updated on: Tue, 05 August 2014 19:37] by Moderator

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334101] Wed, 09 July 2014 00:57 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010


====
main problem - as was in fallout-2 HD .. -

direcDraw hardware acceleration \ or any other hardware acceleration for filter

which uses the all power of graphics card.(directX 2d HW acceleration)


==
otherwise the game can work very slow...

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334112] Wed, 09 July 2014 18:27 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
that looks great!

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334114] Wed, 09 July 2014 19:43 Go to previous messageGo to next message
Slax is currently offline Slax

 
Messages:1411
Registered:July 2006
Location: People riding polar bears...
Still waiting for a GL port or some such. 32-bit windowed mode and shader/scaler goodness galore. Mmmm...

Report message to a moderator

Sergeant Major
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334117] Thu, 10 July 2014 03:15 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
RoWa21
that looks great!


thanks !

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334118] Thu, 10 July 2014 03:26 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
Slax
Still waiting for a GL port or some such. 32-bit windowed mode and shader/scaler goodness galore. Mmmm...


I know that some emulators of 8bit\16bit games use 16bit colors or 256 ...

ja2 use 16bit ...

so... it's not BIG problem i think add that scaler to game ...

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334399] Mon, 21 July 2014 00:10 Go to previous messageGo to next message
Headhunter is currently offline Headhunter

 
Messages:264
Registered:November 2009
Location: Sweden
Kirill
Slax
Still waiting for a GL port or some such. 32-bit windowed mode and shader/scaler goodness galore. Mmmm...


I know that some emulators of 8bit\16bit games use 16bit colors or 256 ...

ja2 use 16bit ...

so... it's not BIG problem i think add that scaler to game ...



If you make it possible to run JA2 in 32-bit colour I will literally kiss the ground where you stand. Ok, maybe not literally but it would the one of the best additions to JA2 ever.

[Updated on: Mon, 21 July 2014 00:11] by Moderator

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #334646] Sat, 26 July 2014 22:59 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
Headhunter


If you make it possible to run JA2 in 32-bit colour I will literally kiss the ground where you stand. Ok, maybe not literally but it would the one of the best additions to JA2 ever.



Smile)

this is just external filter ... not remake of ja2 in 32bit mode ... Smile

[Updated on: Sat, 26 July 2014 23:00] by Moderator

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #335986] Sun, 21 September 2014 16:48 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
*firts real-time test ... -

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



work in progress !

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

(original) -
http://www.kachalka.com/images/irwhlvrfuqrb3fpzxzkq.png

[Updated on: Sun, 21 September 2014 16:50] by Moderator

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336004] Mon, 22 September 2014 08:46 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
awesome, so you are currently working to get the filter implemented in the dev source??

edit: i see you use resharper. good choice Smile

edit2: if you have any patch file (even if you make small progress) give it to me and I can commit your work.

[Updated on: Mon, 22 September 2014 08:48] by Moderator

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336010] Mon, 22 September 2014 15:41 Go to previous messageGo to next message
Uriens is currently offline Uriens

 
Messages:346
Registered:July 2006
Ok, now a question - will this help game play at the 'standard' 800x600 or 1024x768 size units/objects in game while looking far less blocky (like playing on larger resolutions)?

Biggest problem I have with larger resolutions is that everything is way too small. That is why I usually go to 1024x768 and live with minecraft size blocks on my units.

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336012] Mon, 22 September 2014 17:22 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
awesome, so you are currently working to get the filter implemented in the dev source??

edit: i see you use resharper. good choice Smile

edit2: if you have any patch file (even if you make small progress) give it to me and I can commit your work.
It's not modification of JA2 sources it's individual application that inject own code to running procces to set hooks for WinApi functions and DirectX methods. So it will have be compatible with most games that use DirectDraw or GDI for drawing. I begin working on it as I hate fullscreen mode and too lazy to switch desctop color mode, besides on modern monitors PPI (Pixels Per Inch) is much higher and JA2 mercs looks like units from RTS like Age Of Empires. =) So for now it support only DirectDraw2, that is used by JA2, but in future I will add other versions and possible Direct3D.

Uriens
Ok, now a question - will this help game play at the 'standard' 800x600 or 1024x768 size units/objects in game while looking far less blocky (like playing on larger resolutions)?
Yes, its fully customisable. You can run game in any resolution it supported and draw it's screen on window with sizes you wish. You can apply one or several filters (like upscalers xbr, 2xsai and others) to capture screen and get result ither without stretching in selected part of a whindow (alligning to the center or for example to the right-bottom corner) or stretch it to all widow rect as with keeping aspect ratio so without it. You also don't need to change desctop color format, so you can play in 32bit mode. There are also few other options like low-cpu, FPS limit, changing window caption, svaing screen shoots in different formats (yes it can do JA2 but png is much better then TGA) and others. But you have to remember that some filters are very slow for using in realtime with high resolutions. For example now on my PC (i7-4820K 3.7GHz) with resolution 1280x720 scaled to 2560x1440 with 2xSai filter I get little more then 100 FPS, but with filter XBR little more then 10 FPS. Sure it's problem of filter algorithm realeasation and can be improved in future. Now the main task is to make it all working and in future I will work for improvments, adding new filters or rewriting old. For example slow filters can be rewritten with CUDA technology that will solve speed issues. Also in future plans are adding ability to render image by Direct3D that will make possible to use different shader effects and make more quality final image scaling.

For now supporting filters are:
~ #00 - None [ ] - don't use upscale filter (1x)
~ #01 - Simple [2x 3x 4x] - fastest, no smoothing, no filtering
~ #02 - Pixelate [2x 3x 4x] - retro style
~ #03 - Scanlines [2x ] - retro style
~ #04 - ScanlinesTV [2x ] - retro style
~ #05 - MotionBlur [2x ] - blur effect for screen update
~ #10 - 2xSaI [2x ]
~ #11 - SuperEagle [2x ]
~ #12 - Super2xSaI [2x ]
~ #13 - AdMame [2x ]
~ #20 - lq [2x ]
~ #21 - hq [2x ]
~ #22 - xbra [2x 3x 4x]
~ #23 - xbrb [2x 3x 4x]
~ #24 - xbrc [2x 3x 4x]

[Updated on: Mon, 22 September 2014 17:26] by Moderator

Report message to a moderator

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

 
Messages:257
Registered:September 2010

this is project by - StaticZ !!

http://forum.ja2.su/cgi-bin/yabb/YaBB.pl?board=ja2v113;action=display;num=1404850243;start=30#30



==========
big thanks to him !


he make my just idea - to real work !

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336014] Mon, 22 September 2014 17:58 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010


===

http://en.wikipedia.org/wiki/Image_scaling#mediaviewer/File:HQx-xBRZ-comparison.png

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336016] Mon, 22 September 2014 18:31 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Kirill

this is project by - StaticZ !!

http://forum.ja2.su/cgi-bin/yabb/YaBB.pl?board=ja2v113;action=display;num=1404850243;start=30#30



==========
big thanks to him !


he make my just idea - to real work !



ok, is the project finished or currently in work?

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336018] Mon, 22 September 2014 18:47 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
ok, is the project finished or currently in work?
In working, but very soon first version will be ready. Very very soon - maybe even today, mayby tommorow.

Report message to a moderator

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

 
Messages:1961
Registered:October 2005
Location: Austria
cool, does it also work with ja2 1.13 executable or only with vanilla ja2 executable?

once you are done, can you post your application and a short readme how to use it. thanks!

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336021] Mon, 22 September 2014 19:43 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
cool, does it also work with ja2 1.13 executable or only with vanilla ja2 executable?
Sure you can use it with any version 2.13, vanilla, demo, other mods (Shady Job, Metavira, and others). It even possible to use it with any other game.


RoWa21
once you are done, can you post your application and a short readme how to use it. thanks!
Sure, all configs are in 1 file and are described in commnets.

Report message to a moderator

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

 
Messages:1961
Registered:October 2005
Location: Austria
@StaticZ: Is it also possible to run the application from the command line (without GUI) and pass the needed filters as parameters. I am thinking about running the game with your tool from the INI Editor Smile

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336025] Mon, 22 September 2014 21:08 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
@StaticZ: Is it also possible to run the application from the command line (without GUI) and pass the needed filters as parameters. I am thinking about running the game with your tool from the INI Editor Smile


For now, there are no any GUI at all. Anithing is loaded from config file, so it's possible modify it at run shell.

As for passing paramters by command line, not sure it's good idea as there are rather big number of them.

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336026] Mon, 22 September 2014 21:22 Go to previous messageGo to next message
Uriens is currently offline Uriens

 
Messages:346
Registered:July 2006
This mod is looking simply awesome. I don't really know what else to say. Simply awesome.

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336035] Mon, 22 September 2014 21:57 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
StaticZ
RoWa21
@StaticZ: Is it also possible to run the application from the command line (without GUI) and pass the needed filters as parameters. I am thinking about running the game with your tool from the INI Editor Smile


For now, there are no any GUI at all. Anithing is loaded from config file, so it's possible modify it at run shell.

As for passing paramters by command line, not sure it's good idea as there are rather big number of them.


even better if there is a config file from which the values are read. no need for passing arguments to the exe.

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336046] Tue, 23 September 2014 17:00 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
Uriens
This mod is looking simply awesome. I don't really know what else to say. Simply awesome.


right !!

big thanks to StaticZ ...


he bring my idea to life ...



will be wait for first alfa\beta versions ...

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336047] Tue, 23 September 2014 17:22 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010


==
one of problem to get finally 1920*1080,

we need I think run good ja2 1.13 at - 960*540 ... (close to 800*600)

then use any 2x scaler = 1920*1080 ...(full-hd)

QHD = 2560*1440 = 1280*720 *2 base rez.

4k = UHD (4K)(3840*2160) = 3x scaler 1280*3 & 720*3 = ja2 on 4k monitor ....

or 4x scaler = 960*540 native *4 = 4k ...


====
problem for 1080 = ja2 1.13 currently don't support - 960*540 ...

how to fix it ?

I think we need native support of 960*540 ... for easy scaling to hd or to 4k ...

___

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336048] Tue, 23 September 2014 18:01 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@kirill: in latest devlopment version of 1.13 you can specifiy any screen resolution you like in ja2.ini (see CUSTOM_SCREEN_RESOLUTION).

of course we can also add the resolution to the pre-defined resolution list if needed.

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336049] Tue, 23 September 2014 18:10 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
RoWa21
@kirill: in latest devlopment version of 1.13 you can specifiy any screen resolution you like in ja2.ini (see CUSTOM_SCREEN_RESOLUTION).

of course we can also add the resolution to the pre-defined resolution list if needed.



good ! very good !

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336050] Tue, 23 September 2014 18:12 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
on 960*540 1.13 work right ? with no problems ?


sorry .. I have only r7292 ... and can't test this res. on last builds ...

[Updated on: Tue, 23 September 2014 18:36] by Moderator

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336055] Tue, 23 September 2014 20:36 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Kirill
on 960*540 1.13 work right ? with no problems ?


sorry .. I have only r7292 ... and can't test this res. on last builds ...


it is also available in official stable 1.13 release. take a look in the ja2.ini file.
but afaik the minimal custom resolution is 800x600...

but if you really need 960*540 we could add it as an offical screen resolution.

[Updated on: Tue, 23 September 2014 20:38] by Moderator

Report message to a moderator

Sergeant Major

Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336056] Tue, 23 September 2014 20:53 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
it is also available in official stable 1.13 release. take a look in the ja2.ini file.
but afaik the minimal custom resolution is 800x600...

but if you really need 960*540 we could add it as an offical screen resolution.


By the way:
1) on 1280x720 resolution max party is 8 mercs and on 1024x768 - 10. As I see in code there checks both for width and height, but there need only for width.
2) there few problems with redraw on same resolution, for example after closing invntory on map screen it doesnt update ofscreen buffer and part of this menu is still visible.
3) never ideas for encreasing interface for wildscreen resolutions, as nowdays the most people have wildscreen monitors?

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336069] Wed, 24 September 2014 01:56 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010
; 24 ... Custom Resolution
;******************************************************************************************************************************

; The screen resolution of the game
SCREEN_RESOLUTION = 24

; The screen resolution of the map editor
EDITOR_SCREEN_RESOLUTION = 4

; Applicable only when set to Custom Resolution, minimum 800x600 in multiples of 2
; Make sure monitor supports the custom resolution if playing in full screen mode
CUSTOM_SCREEN_RESOLUTION_X = 960
CUSTOM_SCREEN_RESOLUTION_Y = 540

;******************************************************************************************************************************
; Select windowed or full screen mode?
; If you like to play in Windowed Mode, you have to switch your Windows Desktop Color Scheme to 16 Bit!

; 0 ... Full Screen
; 1 ... Windowed Mode
;******************************************************************************************************************************

SCREEN_MODE_WINDOWED = 0



===
Windowed - yes ..

Full Screen - not run ...

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336075] Wed, 24 September 2014 06:08 Go to previous messageGo to next message
Buggler is currently offline Buggler

 
Messages:211
Registered:November 2009
StaticZ
By the way:
1) on 1280x720 resolution max party is 8 mercs and on 1024x768 - 10. As I see in code there checks both for width and height, but there need only for width.
2) there few problems with redraw on same resolution, for example after closing invntory on map screen it doesnt update ofscreen buffer and part of this menu is still visible.
3) never ideas for encreasing interface for wildscreen resolutions, as nowdays the most people have wildscreen monitors?


1. Yes. May require more effort as a new tactical screen OffsetX variable will be needed for tactical interface, progress bar etc.

2. Have patch, will travel commit. Those with SVN write access are more than happy to commit your patch. Smile

3. It's e coding for e new interface that's a PITA; graphics work can easily be extended from existing assets.
(I'm pretty satisfied with the current interface on wide screens though. IMHO, time & effort could be better put elsewhere like optimizing the scaler filters performance.) Wink

@ Kirill
960x540 can only be played using OIV (Old Inventory) if it's implemented.

Custom Resolution only allows > 800x600. So 960x540 is actually run at 960x600.

Report message to a moderator

Sergeant 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336095] Wed, 24 September 2014 15:04 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 #336138] Thu, 25 September 2014 13:43 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
Crazy mouse... Does anyone know where mouse handler in JA2 sources? I found "CALLBACK MouseHandler()" in input.cpp (SGP.LIB) that is used as win hook, but it's not using. Only hook that is set is WH_KEYBOARD. But the single place where it is set is commented in "InitializeInputManager()" and WH_MOUSE called instead... I begin filling myself crazy...

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336141] Thu, 25 September 2014 16:17 Go to previous messageGo to next message
StaticZ is currently offline StaticZ

 
Messages:27
Registered:September 2014
Location: Russia
I'm stupied - i was lunching metavira modification and looking in sources of 2.13 xD

But 2.13 also have same problem - it's looks like somwhere it use client mouse coordinates and somwhere - desctop. For example in tactical mode I can select mercs, press buttons and so on, but when i hold RMB to open context menu it appears not under cursor as it tackes other coordinates that game cursor. Same problem are with map borders. Can some one tell where this menu is in source and where it's opening?

Report message to a moderator

Private 1st Class
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336219] Fri, 26 September 2014 22:46 Go to previous messageGo to next message
Kirill_OverK is currently offline Kirill_OverK

 
Messages:257
Registered:September 2010

===
some news or alpha will be soon !!!

Report message to a moderator

Master Sergeant
Re: New feature: XBR-filter(scaler) for ja2 1.13[message #336249] Sat, 27 September 2014 21:17 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
Kirill

===
some news or alpha will be soon !!!


perfect Smile

Report message to a moderator

Sergeant Major

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

 
Messages:27
Registered:September 2014
Location: Russia
Problems solved, thanks for helping. First release:Essence XWnd Shell 0.01(011.14271). As for other games I can't say anithing for now, as I made only DirectDraw2, but with JA2 it must work correctly (tested on first original "Buka" version, 1.13, Metavira mod)

Report message to a moderator

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

 
Messages:1961
Registered:October 2005
Location: Austria
StaticZ
Problems solved, thanks for helping. First release:Essence XWnd Shell 0.01(011.14271). As for other games I can't say anithing for now, as I made only DirectDraw2, but with JA2 it must work correctly (tested on first original "Buka" version, 1.13, Metavira mod)


Can you give a short example on how to run the JA2 1.13 EXE together with the "exshell.exe".

I have edited the exshell.ecd file and correctly set the path to the EXE file inside my JA2 1.13 directory.

But how do I run the "exshell.exe" together with my JA2 1.13 EXE file. Please give a short example.

Report message to a moderator

Sergeant Major

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

 
Messages:27
Registered:September 2014
Location: Russia
RoWa21
Can you give a short example on how to run the JA2 1.13 EXE together with the "exshell.exe".

I have edited the exshell.ecd file and correctly set the path to the EXE file inside my JA2 1.13 directory.

But how do I run the "exshell.exe" together with my JA2 1.13 EXE file. Please give a short example.


Just run "exshell.exe", if all are is OK it will lunch application that you set in config itself. "exshell.exe" simply run application from config file and inject "exshell.dll" to it. After this it terminate itself and you will see your game running, if it doesn't switched in windowed mode, then it means thats setting hooks from loaded "exshell.dll" failed. Most possible reason is that are something wrong in config, for example encoding, or skipping some keys or smth else. In example what I gave you had only change path for your game (don't forget to switched windowed mode OFF and for test set 640x480 resolution mode). Ah and one more check what exectly are loading, i.e. are your values in loading sections queue and possibly they are overide:

~ Using sections (exshell will look for walues in this sections in left-to right order)
$LoadProfile: { "ShellOptions", "EXSProfile01", "DefaultConf" }



There are no any difference in what sections are declared keys, only 3 restrictions are:
* "[Localisation]" sections is hardcoded and used for parsing language info
* "$LoadProfile" key must be in root section (before sections declarations) and all other keys can't be in root section.
* "$ImageFilter" keys must be declare after declaring "$UsingBliter" key.

So you can move keys, create own sections, remove old how you whant. I made ability for ovveriding values from section for more comfortable changing profiles.

[Updated on: Sun, 28 September 2014 16:11] by Moderator

Report message to a moderator

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

 
Messages:1961
Registered:October 2005
Location: Austria
ok, I re-edited the config file (fixed the wrong path) and started the exe.
it opens a log window.

I set my ja2 executable to windowed mode and the resolution to 640x480.
in the log file of your tool it tells me I should press Return to continue and then JA2 1.13 crashes and the tool quits.

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

a few questions:
- when using the tool, should I always run the game in windowed mode or does it also work in fullscreen?
- do I have to set the windows colors to 16 bit before running the with the tool?
- any ideas why it crahes when running in windowed mode!

EDIT: Here is the screenshot before the crash occurs. It tells me I shoud push Return to contine. If I press Return, it traces one more line to the log and then quits. I couldn't read the last line before it quits...

https://dl.dropboxusercontent.com/u/34560718/exshell_ja2113_crash.png

BTW, I run a debug compiled version of ja2 1.13.

EDIT2: I could create a screenshot with the last log entry before it crashes. Here it is. Maybe that helps:

https://dl.dropboxusercontent.com/u/34560718/exshell_ja2113_crash_2.png

[Updated on: Sun, 28 September 2014 16:36] by Moderator

Report message to a moderator

Sergeant Major

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


Current Time: Tue Apr 16 07:00:13 GMT+3 2024

Total time taken to generate the page: 0.02391 seconds