Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve speed and controls on vita, enable sound fx on vita #1

merged 1 commit into from Mar 7, 2019


None yet
2 participants
Copy link

rsn8887 commented Mar 4, 2019

Vita control improvements:

  • Left analog joystick controls the mouse pointer much more responsive and smoothly now.
  • The touch screen is now used for indirect mouse input, like on a laptop touchpad. Move a single finger to move the mouse pointer. Use short tap for left click. Hold a single finger while tapping a second finger for right click. Drag with two fingers to drag and drop.
  • Mappings with this PR are as follows:
    • Left analog stick = mouse pointer control
    • D-Pad or right analog stick = scrolling the map.
    • Cross or R = left mouse click
    • Circle or L = right mouse click
    • Square = zoom-in
    • Triangle = zoom-out
    • Double clicking with cross or R over a text field = brings up the built-in on-screen keyboard

Vita speed improvements:

  • Standard overclocking applied, note this does not harm the Vita, it is used by almost all commercial games, too. This gives a large speed improvement.
  • Draw the screen to a native vita2d texture with the correct format (1BGR8888 instead of RGB888). This also gives a large speed improvement.
  • Change default resolution to native 960x544.
  • Remove non-native resolution presets. They were only needed when the game was too slow to run in native res. Custom resolutions can still be set by editing the .cfg file with a text editor.

Vita sound improvements:

  • enable sound fx on Vita by changing a #if defined(SDL) to the correct #if defined(WITH_SDL). To hear sound fx, the original file SAMPLE.CAT from the TTD CD must be present in openttd/baseset dir. Then in the settings original dos can be selected as a sound package.

@angguss angguss merged commit f220631 into angguss:feature-vita-support Mar 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.