More actions
(Created page with "{{cleanup|article|Needs cleanup}} {{#seo: |title=Vita Homebrew PC Tools (Developments) - GameBrew! |title_mode=append |image=jmedialayervita.jpg |image_alt=Jmedialayer }} {{In...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title= | |title=jmedialayer | ||
|image= | |image=jmedialayervita2.png | ||
|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 | ||
|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. | |||
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 <code>demo1</code> 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. | |||
<code>demo2</code> available using jmedialayer (include png support). No external dependencies required (except for VITASDK). | |||
<code>demo3</code> available using jmedialayer + gradle plugin. Just requires gradle. Gradle plugin will download VITASDK automatically. Just supported x86/x64 windows/linux/mac. | |||
==Screenshots== | ==Screenshots== | ||
https://dlhb.gamebrew.org/vitahomebrews/ | https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita3.png | ||
== External links == | == External links == | ||
* | * 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