More actions
m (Text replacement - "GameBrew!" to "GameBrew") |
No edit summary |
||
Line 1: | Line 1: | ||
{{#seo: | {{#seo: | ||
|title=Vita Homebrew PC Tools (Developments) - GameBrew | |title=Vita Homebrew PC Tools (Developments) - GameBrew | ||
|title_mode=append | |title_mode=append | ||
|image=jmedialayervita.jpg | |image=jmedialayervita.jpg | ||
|image_alt= | |image_alt=jmedialayer | ||
}} | }} | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title= | |title=jmedialayer | ||
|image=jmedialayervita.jpg | |image=jmedialayervita.jpg | ||
|description=Run Java/Kotlin Natively on the | |description=Run Java/Kotlin Natively on the PS Vita generating C++ with ARC instead GC using JTransc. | ||
|author= soywiz | |author= soywiz | ||
|lastupdated=2016/09/19 | |lastupdated=2016/09/19 | ||
Line 19: | Line 18: | ||
|source=https://github.com/jmedialayer/jmedialayer-psvita-java | |source=https://github.com/jmedialayer/jmedialayer-psvita-java | ||
}} | }} | ||
[https://github.com/jmedialayer/jmedialayer/tree/master jmedialayer] is a project that aims to create a simple layer for graphics/audio and input like SDL but for Java that will provide several backends using jtransc to target browser, PS Vita, 3DS and so on. | |||
jmedialayer for PS Vita is a mixed Java+Kotlin demo that can run in the JVM, the browser and PS Vita, and could be easily ported to other platforms like 3DS among others. | |||
In PS Vita/C++ it uses ARC instead of GC, so the performance is constant and doesn't have any delays. It works thanks to [https://github.com/jtransc/jtransc JTransc] + the great new C++ target in 0.4.0 done by [https://github.com/dsp-omen dsp-omen]. For drawing without dependencies on PS Vita, it uses xerpi's [https://github.com/xerpi/libftpvita/blob/master/sample/draw.c draw.c] from a sample in libftpvita, but you can hook any C library/code easily in order to for example run libvita2d or raw gxm calls. | |||
== | You can develop your application directly in intelliJ and test it using your favourite debugger, and then when ready compile it for the psvita and install it in just one click (<code>installFtp</code> gradle task). | ||
==User guide== | |||
Go to demo1 directory, and with the vitasdk installed and <code>VITASDK</code> environment variable properly set, execute <code>gradlew buildVita</code>. That will generate a vpk file that can be uploaded to a psvita with henkaku. | |||
You can also execute: <code>installFtp</code> that will upload via ftp to the ip in env <code>VITAFTP</code>, and will promote it with VitaShell >= 0.95. | |||
==Changelogs== | ==Changelogs== | ||
'''( | '''Updated2016/09/19''' | ||
* | *demo2 available using jmedialayer (include png support). No external dependencies required (except for VITASDK). | ||
*demo3 available using jmedialayer + gradle plugin. Just requires gradle. Gradle plugin will download VITASDK automatically. Just supported x86/x64 windows/linux/mac. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/jmedialayer/jmedialayer-psvita-java | ||
Revision as of 01:55, 17 Ocak 2023
jmedialayer | |
---|---|
General | |
Author | soywiz |
Type | Developments |
Version | wip |
License | Mixed |
Last Updated | 2016/09/19 |
Links | |
Download | |
Website | |
Source | |
jmedialayer is a project that aims to create a simple layer for graphics/audio and input like SDL but for Java that will provide several backends using jtransc to target browser, PS Vita, 3DS and so on.
jmedialayer for PS Vita is a mixed Java+Kotlin demo that can run in the JVM, the browser and PS Vita, and could be easily ported to other platforms like 3DS among others.
In PS Vita/C++ it uses ARC instead of GC, so the performance is constant and doesn't have any delays. It works thanks to JTransc + the great new C++ target in 0.4.0 done by dsp-omen. For drawing without dependencies on PS Vita, it uses xerpi's draw.c from a sample in libftpvita, but you can hook any C library/code easily in order to for example run libvita2d or raw gxm calls.
You can develop your application directly in intelliJ and test it using your favourite debugger, and then when ready compile it for the psvita and install it in just one click (installFtp
gradle task).
User guide
Go to demo1 directory, and with the vitasdk installed and VITASDK
environment variable properly set, execute gradlew buildVita
. That will generate a vpk file that can be uploaded to a psvita with henkaku.
You can also execute: installFtp
that will upload via ftp to the ip in env VITAFTP
, and will promote it with VitaShell >= 0.95.
Changelogs
Updated2016/09/19
- demo2 available using jmedialayer (include png support). No external dependencies required (except for VITASDK).
- demo3 available using jmedialayer + gradle plugin. Just requires gradle. Gradle plugin will download VITASDK automatically. Just supported x86/x64 windows/linux/mac.