Code Monkey home page Code Monkey logo

openttd-vita's Introduction

OpenTTD port for PS Vita

Extra Dependencies on top of base OpenTTD

Building

Configure with

PKG_CONFIG_PATH=$VITASDK/arm-vita-eabi/lib/pkgconfig ./configure --os=PSVITA --host arm-vita-eabi --enable-static --prefix=/usr/local/vitasdk --with-sdl="pkg-config sdl2" --without-fontconfig --disable-strip --enable-network=0

Then build

make && cd cmake && make && cd ..

openttd.vpk can be found in cmake/

Running

OpenTTD will attempt to load everything from ux0:/data/openttd/

The easiest way to populate this is to install the PC version and copy the files across. In the future when network support is re-enabled the content downloader should be functional and this step will be skippable.

Controls

  • The touch screen is currently mouse input, press and hold for dragging.
  • Use the D-Pad for panning.
  • Circle for right-click (hold while tapping)
  • Triggers for zoom (right trigger zoom-in, left trigger zoom-out)

Current Limitations

  • The game is set to run at 480x272 scaled to the screen size for the sake of speed. It will run at 960x544 or 720x408 but don't expect more than ~10-15 FPS
  • No sound
  • No network support

Other

An initial openttd.cfg can be found in bin/openttd.cfg, the important parts performance-wise are

  • resolution = 480,272
  • sprite_cache_size_px = 8

openttd-vita's People

Contributors

angguss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openttd-vita's Issues

Can't get it to work

Trying to get it work but without success...
Tryed every combination of folders/files but without success.
Can anyone point me to the right direction?
Thanx in advance

How can I get this to work?

Can someone tell me with witch version on OpenTTD i should run it. I tried with 1.9.0-beta2, 1.8.0, 1.7.1, 1.6.0. I tried to copy files from github /bin and without them and nothing happens. I'm copying all files from Program Files\OpenTTD, maybe I need to copy only part of them? I also tried to copy files from linux version but only on 1.9.0-beta2, after that i switched to Windows. I have slim version of vita with 3.68 system. And of course I'm copying them to ux0:data/openttd. I have vita2sd but i think this don't change anything.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.