Open discussions on programming specifically for the PS Vita.
Forum rules: Forum rule Nº 15 is strictly enforced in this subforum.
#416095 by John Dupe
Sat Jan 07, 2017 3:03 am
Could someone point me in the right direction with this? It could be nothing more than an article about porting x86 ASM to ARM.

Someone please help, and I am capable of compiling for the Vita right now, so don't worry about that.
#416097 by yifanlu
Sat Jan 07, 2017 5:22 am
I'm assuming you're talking about ?

If so, it shouldn't be too hard. OpenRCT2 is built on SDL and some open source projects. Luckily, it seems like every dependency library already has a Vita port! Follow the directions to set up VitaSDK: then get some of the homebrew samples working (especially the SDL rectangle one). Then you can try to compile OpenRCT2 using Vita toolchain (it uses CMake too, so that makes things easy, just do "cmake -DCMAKE_TOOLCHAIN_FILE= $VITASDK/share/vita.toolchain.cmake" and try to compile it). Almost certainly you will run into problems--you can resolve them by either disabling features or by trying to fix them. Run into any cryptic issues and you can ask the #vitasdk IRC room in FreeNode for help.

Good luck!
#416098 by noname120
Sat Jan 07, 2017 5:42 am
OpenRCT2 does not depend on RCT2's executable any longer, so you will not need to translate any assembly.

Here is what could get you started (this will not work but this is a good starting point):
Code: Select allPKG_CONFIG_PATH=/usr/local/vitasdk/arm-vita-eabi/lib/pkgconfig cmake ../ -DCMAKE_TOOLCHAIN_FILE="$VITASDK/share/vita.toolchain.cmake" -DCMAKE_BUILD_TYPE=Debug -DDISABLE_HTTP_TWITCH=on -DDISABLE_NETWORK=on -DDISABLE_OPENGL=on -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config -DCMAKE_PREFIX_PATH=/usr/local/vitasdk/arm-vita-eabi/lib

By the way, you will need SDL_ttf. Edit: It's now included in the vitasdk external libraries.
Last edited by noname120 on Sun Jan 08, 2017 9:56 pm, edited 2 times in total.

Who is online

Users browsing this forum: No registered users and 7 guests