Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Renpy Vita

From GameBrew
Revision as of 03:08, 23 November 2022 by HydeWing (talk | contribs)
Ren'Py
File:Renpyvita.jpg
General
AuthorSonicMastr
TypeGame engine
Version1.0
LicenseMIT License
Last Updated2021/09/17
Links
Download
Website
Source

Ren'Py is a native ren'py visual novel port for the PSVita. Based on renpy-switch by uyjulian (great work)

What is Ren'Py?

Ren'Py is a visual novel engine – used by thousands of creators from around the world – that helps you use words, images, and sounds to tell interactive stories that run on computers and mobile devices.

These can be both visual novels and life simulation games. The easy to learn script language allows anyone to efficiently write large visual novels, while its Python scripting is enough for complex simulation games.

Description

Yeah. It's finally here. About a year into the making (totally not because I can get a bit lazy), Ren'Py Vita is finally out.

A ton of frustration, troubleshooting, and long nights went into getting this to work. From cuevavirus making the base of the Python 2.7 port, to GrapheneCt making PVR_PSP2, to isage working on SDL additions. And we can finally release this gigantic project to you guys. Hope you like it, literally all I wanted to do was play the REAL DDLC on the Vita.

- SonicMastr.

Want to make/port your own game? Use the Distribution Tool

  • I made a Ren'Py PSVita Distribution Tool to ease the process of creating a Ren'Py bubble with the required structure and assets.
  • It was designed to be used in tandem with the official Ren'Py SDK, so it's great for personal projects as well as ports.

How to use

  • In order to create a valid project, you must create a folder with a valid game folder within it. (eg. DDLC/game).
  • The application will automatically find these projects and add them to the list to be built. Be aware that valid Livearea assets also need to be provided, including pic0.png.
  • After that, enter the required information, and click Build! Easy as that. All built VPKs will be put in the dist folder under their project name.

Media

Here are just a few of the games made with Ren'Py

renpyvita-01.jpg renpyvita-02.jpg renpyvita-03.jpg renpyvita-04.jpg

Known Issues

  • Load times can be pretty long and some image loading my cause hitches. This is sadly not something I can fix as it is a Vita hardware limitation.
  • Video playback will not work
  • Quitting will crash (But I kinda left that in. Doesn't do anything bad. I promise)
  • Some games will run into memory issues. I will continue to tweak memory usage as necessary, but the Vita is pretty sparse in memory, so I may not be able to pull a rabbit out of my hat when it comes to full compatibility.

Build Instructions

Pre-Req:

Linux (or WSL1/2)
Cython
Python 2.7.18
Git
Clone this repo
Grab PSVita_Release.zip and vitasdk_stubs.zip from PVR_PSP2 releases
Clone SDL
Clone Python Future

Steps:

  1. Copy the contents of vitasdk_stubs.zip into your VitaSDK lib directory
  2. Copy all of the files in include into your VitaSDK include directory
  3. Copy files WITHOUT underscores in python-future/src to the Python2.7 folder in your VitaSDK lib directory.

(This will be removed in the future. Heh)

  1. Navigate to the SDL directory and run

cmake -S. -Bbuild -DVIDEO_VITA_PVR=ON -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release

  1. Once complete, navigate to the newly create build folder and run make -j4 install
  2. Navigate to the renpy-vita folder and run git submodule init and then git submodule update
  3. Navigate to the renpy-vita/renpy/module folder and run RENPY_DEPS_INSTALL=$VITASDK/arm-vita-eabi RENPY_STATIC=1 python2 setup.py
  4. Navigate to renpy-vita/pygame-sdl2 and run PYGAME_SDL2_STATIC=1 python setup.py
  5. Navigate to renpy-vita/renpy-vita and run ./link_compile_pylibs.bash and then ./link_sources.bash (may need to chmod)
  6. Now run cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
  7. Navigate to the build directory and run make -j4
  8. And now you're all done

Ren'Py Vita Ports

Thanks

  • uyjulian for the inspiration and base. This project wouldn't have been conceived without him
  • cuevavirus for the base port of Python 2.7 so I could actually work on fixing up the rest
  • strikersh for fixing Python threads
  • GrapheneCt for PVR_PSP2 and allowing me to also contribute to that to fix some specific bugs in Ren'Py :P
  • isage for his SDL contributions and lending me an early version with PVR_PSP2 support for me to dev on
  • Princess-of-Sleeping for devkit assistance and making me realize I was in Software Render mode
  • Ibrahim778 for getting on my ass about finishing this over and over and over again
  • The VitaSDK maintainers for adding requesting changes essential for Ren'Py to work

Changelog

(v.1.0)

  • First Release.

External links

Advertising: