Skip to content

Commit

Permalink
Use 480x272 resolution by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Northfear committed Jun 11, 2021
1 parent 3569647 commit 21446d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Download openxcom.vpk from https://github.com/Northfear/OpenXcom-vita/releases a

Download openxcom-data.zip from https://github.com/Northfear/OpenXcom-vita/releases, extract it and copy ```OpenXcom``` folder into ```ux0:data/```.

Copy content of installed Enemy Unknown folder into ```ux0:data/OpenXcom/UFO``` or/and installed Terror From The Deep into ```ux0:data/OpenXcom/TFTD```. You can check README.txt inside each folder for details.
Copy content of installed Enemy Unknown folder into ```ux0:data/OpenXcom/UFO``` or/and installed Terror From The Deep into ```ux0:data/OpenXcom/TFTD```. Check README.txt UFO/TFTD for details about exact game folders that need to be copied.

[rePatch reDux0](https://github.com/dots-tb/rePatch-reDux0) OR [FdFix](https://github.com/TheOfficialFloW/FdFix) plugin may be required for proper suspend/resume support (only use one at a time).

Expand Down Expand Up @@ -66,9 +66,9 @@ RAM is pretty limited on Vita, so there's a chance that game would just crash wi

You can change game resolution in the "Video" options menu.

320x200 provides the best performance. 480x272 with Display Mode set to "Fullscreen" and Geoscape Scale/Battlescape Scale set to "Full Display" privides better visuals while still having good performance.
320x200 provides the best performance. 480x272 with Display Mode set to "Fullscreen" and Geoscape Scale/Battlescape Scale set to "Full Display" provides great visuals (x2 pixel scaling) while still having good performance.

"Fullscreen" display mode scales game surface to fullscreen. "Windowed" mode centers the game area w/o scaling it (640x400 in windowed mode is perfect x2 scale).
"Fullscreen" display mode scales game surface to fullscreen. "Windowed" mode centers the game area w/o scaling it.

You can skip intros by tapping on screen.

Expand Down
9 changes: 7 additions & 2 deletions src/Engine/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void create()
_info.push_back(OptionInfo("asyncBlit", &asyncBlit, false));
_info.push_back(OptionInfo("keyboardMode", (int*)&keyboardMode, KEYBOARD_OFF));
#elif VITA
_info.push_back(OptionInfo("displayWidth", &displayWidth, Screen::ORIGINAL_WIDTH));
_info.push_back(OptionInfo("displayHeight", &displayHeight, Screen::ORIGINAL_HEIGHT));
_info.push_back(OptionInfo("displayWidth", &displayWidth, Screen::VITA_WIDTH / 2));
_info.push_back(OptionInfo("displayHeight", &displayHeight, Screen::VITA_HEIGHT / 2));
_info.push_back(OptionInfo("fullscreen", &fullscreen, true));
_info.push_back(OptionInfo("asyncBlit", &asyncBlit, true));
_info.push_back(OptionInfo("keyboardMode", (int*)&keyboardMode, KEYBOARD_ON));
Expand All @@ -89,8 +89,13 @@ void create()
//_info.push_back(OptionInfo("baseYGeoscape", &baseYGeoscape, Screen::ORIGINAL_HEIGHT));
//_info.push_back(OptionInfo("baseXBattlescape", &baseXBattlescape, Screen::ORIGINAL_WIDTH));
//_info.push_back(OptionInfo("baseYBattlescape", &baseYBattlescape, Screen::ORIGINAL_HEIGHT));
#ifdef VITA
_info.push_back(OptionInfo("geoscapeScale", &geoscapeScale, 5));
_info.push_back(OptionInfo("battlescapeScale", &battlescapeScale, 5));
#else
_info.push_back(OptionInfo("geoscapeScale", &geoscapeScale, 0));
_info.push_back(OptionInfo("battlescapeScale", &battlescapeScale, 0));
#endif
_info.push_back(OptionInfo("useScaleFilter", &useScaleFilter, false));
_info.push_back(OptionInfo("useHQXFilter", &useHQXFilter, false));
_info.push_back(OptionInfo("useXBRZFilter", &useXBRZFilter, false));
Expand Down

0 comments on commit 21446d2

Please sign in to comment.