Page 2 of 5

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sat Aug 24, 2019 1:58 pm
by uyjulian
Note about launching taking a couple of minutes: Compile your py and rpy files before you package them up in romfs.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Tue Sep 03, 2019 1:27 am
by uyjulian
Version 1.3 is now out. Please download from https://github.com/uyjulian/renpy-switc ... s/tag/v1.3 . The port has been rebased on top of Ren'Py 7.3.2, and more modules have been added.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sat Sep 14, 2019 7:03 pm
by uyjulian
To reduce the amount of data aborts, set "config.autosave_frequency" to "None" and "config.autosave_on_choice" to "False".

I'm working on figuring out why data abort occurs when using Album override with nx-hbmenu v3.1.1.
I'm working on figuring out why data abort occurs sooner when "config.use_cpickle" is set to "False" compared to when "config.use_cpickle" is set to "True".

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Tue Sep 17, 2019 1:56 am
by uyjulian
Before porting your Ren'Py project using this project... check to make sure that it works with mainline Ren'Py 7.3.2. If it doesn't work there, it probably won't work here.

Next release will probably be when I upstream touch event code.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Wed Sep 18, 2019 4:47 pm
by uyjulian
Autosave does work.

Threading... not so much. Leaked resources? Not sure.

On line 511 of loadsave.py, change

Code: Select all

def force_autosave(take_screenshot=False, block=False):
to

Code: Select all

def force_autosave(take_screenshot=False, block=True):

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sun Sep 22, 2019 2:13 am
by uyjulian
Version 1.4 has been released. Please check out the changelog and binaries. https://github.com/uyjulian/renpy-switc ... s/tag/v1.4

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Wed Oct 02, 2019 2:24 am
by uyjulian
Version 1.5 has been released. Please view the changelog. https://github.com/uyjulian/renpy-switc ... s/tag/v1.5

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Thu Oct 03, 2019 12:24 am
by uyjulian
I noticed an issue with controllers not working. This will be fixed in the next release.

The next release is going to be focused on stability, ensuring that no errors occur while running aging tests.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Thu Oct 03, 2019 12:30 am
by Imperf3kt
Following your progress makes me regret not owning a Switch.
Keep up the good work.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sat Oct 05, 2019 11:35 pm
by uyjulian
Good news: The error causing a data abort (due to a memory allocation failure) has been fixed and will be in the next release.
Bad news: Ren'Py has a memory leak, so you will need to roll back, save the game, restart the game, and load the game.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Wed Oct 09, 2019 12:48 pm
by uyjulian
Version 1.6 has been released. Please view the changelog and try out the binaries. https://github.com/uyjulian/renpy-switc ... s/tag/v1.6

This will probably be the last release for a while unless show-stopping bugs show up.
If nvdec gets implemented, I'll release another version with hardware video decoding support.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sat Nov 02, 2019 1:12 am
by uyjulian
I finally got myself a PlayStation Vita, so I'll be doing a port there also.

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sat Nov 16, 2019 8:24 pm
by Andredron
uyjulian wrote: Sat Nov 02, 2019 1:12 am I finally got myself a PlayStation Vita, so I'll be doing a port there also.
Hi, question. Do you have a playpay or whatever calculation, send you a denyuzhku?

I be a pig if I don’t support you

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Sun Nov 17, 2019 1:01 am
by uyjulian
Andredron wrote: Sat Nov 16, 2019 8:24 pm
uyjulian wrote: Sat Nov 02, 2019 1:12 am I finally got myself a PlayStation Vita, so I'll be doing a port there also.
Hi, question. Do you have a playpay or whatever calculation, send you a denyuzhku?

I be a pig if I don’t support you
Go ahead and support upstream: https://www.patreon.com/renpytom

Re: Ren'Py homebrew port to Nintendo Switch

Posted: Mon Nov 18, 2019 2:20 am
by uyjulian
A PlayStation Vita port won't happen just yet.
I need to fix the out of memory errors first by inhibiting memory growth (by manually deleting objects instead of garbage collection), and also implementing an SDL_Renderer based render backend for fast drawing performance with small size.
Nintendo Switch has 4GB of memory (less addressable by application), and I'm running out of memory, so those errors will be more annoying on the Playstation Vita's 512MB of memory (less addressable by application).

... First, a Python port needs to be done.