More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#seo: | {{#seo: | ||
|title=Vita Homebrew Games ( | |title=Vita Homebrew Games (Game engine) - GameBrew! | ||
|title_mode=append | |title_mode=append | ||
|image=renpyvita.jpg | |image=renpyvita.jpg | ||
Line 12: | Line 11: | ||
|author=SonicMastr | |author=SonicMastr | ||
|lastupdated=2021/09/17 | |lastupdated=2021/09/17 | ||
|type= | |type=Game engine | ||
|version=1.0 | |version=1.0 | ||
|license=MIT | |license=MIT | ||
|download=https://dlhb.gamebrew.org/vitahomebrews/renpyvita.7z | |download=https://dlhb.gamebrew.org/vitahomebrews/renpyvita.7z | ||
|website= | |website=https://renpy.org/ | ||
|source=https://github.com/SonicMastr/renpy-vita | |source=https://github.com/SonicMastr/renpy-vita | ||
}} | }} | ||
A | '''Ren'Py''' is a native ren'py visual novel port for the PSVita. Based on [https://github.com/uyjulian/renpy-switch/ 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== | ==Media== | ||
<youtube>C3Ldd-5PKCw</youtube> | <youtube>C3Ldd-5PKCw</youtube> | ||
==Here are just a few of the games made with Ren'Py== | |||
== | |||
https://dlhb.gamebrew.org/vitahomebrews/renpyvita-01.jpg | https://dlhb.gamebrew.org/vitahomebrews/renpyvita-01.jpg | ||
https://dlhb.gamebrew.org/vitahomebrews/renpyvita-02.jpg | https://dlhb.gamebrew.org/vitahomebrews/renpyvita-02.jpg | ||
https://dlhb.gamebrew.org/vitahomebrews/renpyvita-03.jpg | https://dlhb.gamebrew.org/vitahomebrews/renpyvita-03.jpg | ||
https://dlhb.gamebrew.org/vitahomebrews/renpyvita-04.jpg | https://dlhb.gamebrew.org/vitahomebrews/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)<br /> | |||
Cython<br /> | |||
Python 2.7.18<br /> | |||
Git<br /> | |||
Clone this repo<br /> | |||
Grab <code>PSVita_Release.zip</code> and <code>vitasdk_stubs.zip</code> from [https://github.com/GrapheneCt/PVR_PSP2/releases PVR_PSP2 releases]<br /> | |||
Clone [https://github.com/libsdl-org/SDL SDL]<br /> | |||
Clone [https://github.com/PythonCharmers/python-future Python Future] | |||
=== Steps: === | |||
# Copy the contents of <code>vitasdk_stubs.zip</code> into your VitaSDK lib directory | |||
# Copy all of the files in [https://github.com/GrapheneCt/PVR_PSP2/tree/main/include include] into your VitaSDK include directory | |||
# Copy files WITHOUT underscores in <code>python-future/src</code> to the Python2.7 folder in your VitaSDK lib directory.<br /> | |||
(This will be removed in the future. Heh) | |||
# Navigate to the SDL directory and run<br /> | |||
<code>cmake -S. -Bbuild -DVIDEO_VITA_PVR=ON -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release</code> | |||
# Once complete, navigate to the newly create build folder and run <code>make -j4 install</code> | |||
# Navigate to the <code>renpy-vita</code> folder and run <code>git submodule init</code> and then <code>git submodule update</code> | |||
# Navigate to the <code>renpy-vita/renpy/module</code> folder and run <code>RENPY_DEPS_INSTALL=$VITASDK/arm-vita-eabi RENPY_STATIC=1 python2 setup.py</code> | |||
# Navigate to <code>renpy-vita/pygame-sdl2</code> and run <code>PYGAME_SDL2_STATIC=1 python setup.py</code> | |||
# Navigate to <code>renpy-vita/renpy-vita</code> and run <code>./link_compile_pylibs.bash</code> and then <code>./link_sources.bash</code> (may need to chmod) | |||
# Now run <code>cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release</code> | |||
# Navigate to the build directory and run <code>make -j4</code> | |||
# And now you're all done | |||
== Ren'Py Vita Ports == | |||
*[[Doki Doki Literature Club Vita]] | |||
*[[Contract Demon Vita]] | |||
== Thanks == | |||
*[https://github.com/uyjulian uyjulian] for the inspiration and base. This project wouldn't have been conceived without him | |||
*[https://github.com/cuevavirus cuevavirus] for the base port of Python 2.7 so I could actually work on fixing up the rest | |||
*[https://github.com/strikersh strikersh] for fixing Python threads | |||
*[https://github.com/GrapheneCt GrapheneCt] for PVR_PSP2 and allowing me to also contribute to that to fix some specific bugs in Ren'Py :P | |||
*[https://github.com/isage isage] for his SDL contributions and lending me an early version with PVR_PSP2 support for me to dev on | |||
*[https://github.com/Princess-of-Sleeping Princess-of-Sleeping] for devkit assistance and making me realize I was in Software Render mode | |||
*[https://github.com/Ibrahim778 Ibrahim778] for getting on my ass about finishing this over and over and over again | |||
*The [https://github.com/vitasdk VitaSDK] maintainers for adding requesting changes essential for Ren'Py to work | |||
==Changelog== | |||
'''(v.1.0)''' | '''(v.1.0)''' | ||
* First Release. | * First Release. | ||
== External links == | == External links == | ||
* Official Website - | * Official Website - https://renpy.org/ | ||
* Github - https://github.com/SonicMastr/renpy-vita | * Github - https://github.com/SonicMastr/renpy-vita | ||
* | * Github (Switch Version) - https://github.com/uyjulian/renpy-switch/ | ||
Revision as of 03:08, 23 November 2022
Ren'Py | |
---|---|
File:Renpyvita.jpg | |
General | |
Author | SonicMastr |
Type | Game engine |
Version | 1.0 |
License | MIT License |
Last Updated | 2021/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
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:
- Copy the contents of
vitasdk_stubs.zip
into your VitaSDK lib directory - Copy all of the files in include into your VitaSDK include directory
- 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)
- 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
- Once complete, navigate to the newly create build folder and run
make -j4 install
- Navigate to the
renpy-vita
folder and rungit submodule init
and thengit submodule update
- Navigate to the
renpy-vita/renpy/module
folder and runRENPY_DEPS_INSTALL=$VITASDK/arm-vita-eabi RENPY_STATIC=1 python2 setup.py
- Navigate to
renpy-vita/pygame-sdl2
and runPYGAME_SDL2_STATIC=1 python setup.py
- Navigate to
renpy-vita/renpy-vita
and run./link_compile_pylibs.bash
and then./link_sources.bash
(may need to chmod) - Now run
cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
- Navigate to the build directory and run
make -j4
- 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
- Official Website - https://renpy.org/
- Github - https://github.com/SonicMastr/renpy-vita
- Github (Switch Version) - https://github.com/uyjulian/renpy-switch/