Author Topic: baseXResolution and baseYResolution: removed feature?  (Read 10929 times)

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
baseXResolution and baseYResolution: removed feature?
« on: April 03, 2016, 08:05:03 am »
Hello,

I have a 3-years old OpenXCom with those two variables defined. But they don't appear in the config file with my new OpenXCom build. Were those variables removed? Or were they renamed or something like that?

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #1 on: April 03, 2016, 08:58:04 am »
now that's all handled under the battlescape/geoscape scaling options in the menu

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #2 on: April 03, 2016, 10:41:18 am »
I am afraid this options don't let me do what I was doing before...
I remember I could play with Resolution 1280x1024 and get rid of black bands without reducing image size per setting baseYResolution to a different value, but it seems I cannot do that any more...

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #3 on: April 03, 2016, 01:38:19 pm »
disable letterboxing?

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #4 on: April 03, 2016, 05:06:51 pm »
We can remove the black bands this way, but the image is stretched. Not what I wanted either...

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #5 on: April 04, 2016, 12:24:09 am »
Geo/Battlescape scale -> full display

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #6 on: April 04, 2016, 08:42:19 am »
Geo/Battlescape scale -> full display

I said "without reducing image size", maybe that's not very clear.

I mean I was able to set a base resolution of 320x256 and get it scaled to 1280x1024, (which is x4) I don't see how to do that now...

Offline Xtendo-com

  • Colonel
  • ****
  • Posts: 118
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #7 on: April 09, 2016, 08:22:42 pm »
As I understand you want to get a retro sharp pixelated view instead of using a lower resolution that upscales by videocard because it uses a blurry upscale method. For retro feels you may try a CRT or dot_n_bloom shader and if you don't like a dark view that they provides, you can adjust brightness of shader by editing that shader with a simple text editor (path of shaders .\common\Shaders).

Offline Xtendo-com

  • Colonel
  • ****
  • Posts: 118
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #8 on: April 09, 2016, 08:49:02 pm »
I said "without reducing image size", maybe that's not very clear.

I mean I was able to set a base resolution of 320x256 and get it scaled to 1280x1024, (which is x4) I don't see how to do that now...
Currently the best you can do is to set 1/3 display. You will get rid of black bands without losing a proportions. But your image will not looks like a retro big sharp pixelated image with a big sharp pixelated UI.

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #9 on: April 09, 2016, 09:00:43 pm »
Currently the best you can do is to set 1/3 display. You will get rid of black bands without losing a proportions. But your image will not looks like a retro big sharp pixelated image with a big sharp pixelated UI.

Maybe I am gonna work on improving this, once I will have determined what is currently the better way to use MinGW64.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #10 on: April 10, 2016, 06:22:09 am »
there IS an option for non-square pixels, that may help?

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #11 on: April 10, 2016, 07:43:32 am »
there IS an option for non-square pixels, that may help?

Sorry, I don't understand, what is this option? Is that a command line option?
And why non-square pixels? I'm trying to see if I can play with a base resolution of 320x256 with a x4 display adjustment...

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #12 on: April 10, 2016, 07:46:12 am »
the base resolution is 320x200, if you want 320x240 (or 256) that means your pixels would be non-square (approximately 20% taller than they are wide)
it's in the config file.

Offline JDarthenay

  • Captain
  • ***
  • Posts: 55
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #13 on: April 10, 2016, 07:52:00 am »
No, when I was able to change baseXResolution from the config file with an OpenXCom 0.9, I was slightly extending area display. Is that still possible? If it is not, no big deal, I will try to add an option for this.

Offline Xtendo-com

  • Colonel
  • ****
  • Posts: 118
    • View Profile
Re: baseXResolution and baseYResolution: removed feature?
« Reply #14 on: April 10, 2016, 07:59:36 am »
To be fully clear, since I fully sure what JDarthenay need:
Upscale the lower possible resolution that close to original to 1280x1024:
1) Using nearest-neighbor scaling method in order to get sharp pixelated view
2) Without image distortion caused by upscaling not by a multiple of 100%
3) Without blank bands
4) Without losing proportions by stretching
5) Square aspect ratio.
It's possible by changing base resolution 320x200 to 320x256, so you get extended view and you can upsacle by a multiple of 100% to fully fill 1280x1024.