More actions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title=jmedialayer | |title=jmedialayer | ||
|image=jmedialayervita2.png | |image=jmedialayervita2.png | ||
|description=Run Java/Kotlin Natively on the PS Vita generating C++ with ARC instead GC using JTransc. | |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 | ||
|type=Developments | |type=Developments | ||
|version=wip | |version=wip | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/vitahomebrews/ | |download=https://dlhb.gamebrew.org/vitahomebrews/jmedialayer_psvita_java.zip | ||
|website=https://github.com/jmedialayer/jmedialayer-psvita-java | |website=https://github.com/jmedialayer/jmedialayer-psvita-java | ||
|source=https://github.com/jmedialayer/jmedialayer-psvita-java | |source=https://github.com/jmedialayer/jmedialayer-psvita-java | ||
}} | }} | ||
{{#seo: | |||
|title=Vita Homebrew PC Tools (Developments) - GameBrew | |||
|title_mode=append | |||
|image=jmedialayervita2.png | |||
|image_alt=jmedialayer | |||
}} | |||
[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. | [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. | ||
Line 36: | Line 37: | ||
==Screenshots== | ==Screenshots== | ||
jmedialayervita3.png | https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita3.png | ||
== External links == | == External links == | ||
* GitHub - https://github.com/jmedialayer/jmedialayer-psvita-java | * GitHub - https://github.com/jmedialayer/jmedialayer-psvita-java |
Latest revision as of 07:39, 4 August 2024
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.
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.
Screenshots