Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Jmedialayer Vita: Difference between revisions

From GameBrew
m (Text replacement - "GameBrew!" to "GameBrew")
No edit summary
Line 1: Line 1:
{{cleanup|article|Needs cleanup}}
{{#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=Jmedialayer
|image_alt=jmedialayer
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=Jmedialayer
|title=jmedialayer
|image=jmedialayervita.jpg
|image=jmedialayervita.jpg
|description=Run Java/Kotlin Natively on the PSVita 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
Line 19: Line 18:
|source=https://github.com/jmedialayer/jmedialayer-psvita-java
|source=https://github.com/jmedialayer/jmedialayer-psvita-java
}}
}}
Run Java/Kotlin Natively on the PSVita generating C++ with ARC instead GC using JTransc.
[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.


==Media==
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.
<youtube>RIaJHh60hQY</youtube>


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.


==Screenshots==
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).
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-01.jpg
 
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-02.jpg
==User guide==
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-03.jpg
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.
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-04.jpg
 
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-05.jpg
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.
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-06.jpg
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-07.jpg
https://dlhb.gamebrew.org/vitahomebrews/jmedialayervita-08.jpg


==Changelogs==
==Changelogs==
'''(v.1.0)'''
'''Updated2016/09/19'''
* First Release.
*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 ==
* Official Website - https://github.com/jmedialayer/jmedialayer-psvita-java
* GitHub - https://github.com/jmedialayer/jmedialayer-psvita-java
* Github - https://github.com/jmedialayer/jmedialayer-psvita-java
* VitaDB -
* Gbatemp -
* Google Source -
* Reddit -
* Gitlab -

Revision as of 01:55, 17 Ocak 2023

jmedialayer
Jmedialayervita.jpg
General
Authorsoywiz
TypeDevelopments
Versionwip
LicenseMixed
Last Updated2016/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.

External links

Advertising: