Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » High resolutions support added
High resolutions support added[message #316005] Wed, 06 March 2013 15:00 Go to next message
Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Hi,

I've added support of high resolutions to JA2-Stracciatella.

It is still 640x480 by default. But you can start the game with any reasonable resolution you want using the command-line key. For example, ja2.exe -res 1024x768 start the game in 1024x768 mode. No changes in game resources is necessary.

I think this patch strikes a good balance between preserving original JA2 and adding much needed support of higher resolutions.

Here are some screenshots:

640x480
http://s23.postimage.org/719oehkrr/omerta_640x480.jpg

800x600
http://s24.postimage.org/vgzcvrfch/omerta_800x600.jpg

1024x600
http://s17.postimage.org/5rkgf31yz/omerta_1024x600.jpg

1024x768
http://s12.postimage.org/r8gvfx2k9/omerta_1024x768.jpg

1680x1050
http://s9.postimage.org/tqvroxlff/omerta_1680x1050.jpg

1920x1080
http://s1.postimage.org/uncu1fexn/omerta_1920x1080.jpg

Laptop
http://s23.postimage.org/6kb5679t3/laptop_1024x768.jpg

Strategic map
http://s13.postimage.org/4zjml8glf/map_1024x768.jpg

Tactical positioning
http://s21.postimage.org/6cgm72wr7/tactical_positioning_1024x768.jpg

Some weird stuff is possible - 640x1000
http://s21.postimage.org/si5bb4c43/screenshot_640x1000.jpg

There are still some glitches and bugs, but it should be playable now. One of the bugs: game crashes if the sector is very small (rebels' basement, for example) and the resolution is very big (e.g. 1920x1080). Workaround for this bug for the moment is to play these bits of the game in lower resolutions.

Sources can be found here: JA2-Stracciatella Continued
Build for Windows: ja2-v0.12.47.zip

Big thanks go to Erpe who started this back in 2010:

Erpe

I have done this some time ago here:
http://git.oldsch00l.com/?p=ja2-stracciatella.git;a=summary

This repository stays in sync with trons svn, and i also had 2 branches, one for cmake support and another for dynamic resolution setting (you could choose the resolution on start up, 640x480 default or mythrells 800x600).
The dynamic resolution branch wasn't finished and had some bugs.

I always wanted to bring some more flexibility into ja2 and not only some hard coded resolutions.


I just continued his work - fixed some bugs and repositioned all non-tactical UI into the center of the screen.

Bug report are welcome, patches even more so Smile

Re: High resolutions support added[message #317559] Fri, 19 April 2013 00:24 Go to previous messageGo to next message
dnyarri
Messages:4
Registered:January 2010
Location: Russia
Having some specific trouble with your latest build and 1024x768 resolution -- all unnamed civilians disappear over time. Had same problems with another resolution mod couple years back: http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/253710/Helios.html#Post255979
Hope it'll get sorted out.
Re: High resolutions support added[message #317653] Mon, 22 April 2013 22:51 Go to previous messageGo to next message
Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Dnyarri
Having some specific trouble with your latest build and 1024x768 resolution -- all unnamed civilians disappear over time. Had same problems with another resolution mod couple years back: http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/253710/Helios.html#Post255979
Hope it'll get sorted out.


Thanks for the report. I've added it into the bug tracker: https://bitbucket.org/gennady/ja2-stracciatella/issue/48/unnamed-civilians-disappear
I will take a look into this.
Re: High resolutions support added[message #317654] Mon, 22 April 2013 22:59 Go to previous messageGo to next message
mgl

 
Messages:254
Registered:December 2007
Location: France
Dnyarri
Having some specific trouble with your latest build and 1024x768 resolution -- all unnamed civilians disappear over time.

The missing civilians bug should not be related to the resolution. It's a bug from Tron (the author of stracciatella).

If I remember correctly, civilians are missing on a sector as soon as one of them who has a "profile" on the map you are loading shouldn't be added to the sector. Carmen for example: he is present on several maps. If you enter a sector where he could be spawned but is not, the creation of all the other civilians in the sector will be cancelled.

I think sunshine fixed it in his own repository of stracciatella. I have my fix too but I didn't release it. I will look at it later if required.

This is what I remember:
Technically, there is a function somewhere to add anyone to the current sector. Tron asserted that the function fails because there are too many people already added, but it can fail too if a civilian with a "profile" like Carmen in considered to be added but should not.

I think sunshine simply makes the caller don't care if the function fails or not. My own patch considers letting the function fail for some of the civilians.

I'll try to release my patch as soon as possible.

Edit: Link to the patch topic

[Updated on: Tue, 23 April 2013 22:36] by Moderator


Re: High resolutions support added[message #318470] Thu, 02 May 2013 10:37 Go to previous message
rp-

 
Messages:13
Registered:June 2008
Location: Austria
thanks keeping my work alive
Previous Topic: [Fix] Missing civilians
Next Topic: [Mod] Recruit Maria using the Playable Characters Mod
Goto Forum:
  


Current Time: Sat Sep 23 19:19:07 EEST 2017

Total time taken to generate the page: 0.00802 seconds