{"id":22887168,"url":"https://github.com/electrostat-lab/nativejmetemplate","last_synced_at":"2025-07-23T06:33:09.156Z","repository":{"id":45321497,"uuid":"438804036","full_name":"Electrostat-Lab/NativeJmeTemplate","owner":"Electrostat-Lab","description":"A native JNI~Jme template using Ccoffee.","archived":false,"fork":false,"pushed_at":"2021-12-21T14:47:30.000Z","size":34267,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-29T17:49:08.851Z","etag":null,"topics":["jme","jni","natives","rpi","wiringpi"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Electrostat-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-15T23:39:51.000Z","updated_at":"2022-06-18T11:40:21.000Z","dependencies_parsed_at":"2022-09-01T20:23:09.796Z","dependency_job_id":null,"html_url":"https://github.com/Electrostat-Lab/NativeJmeTemplate","commit_stats":null,"previous_names":["electrostat-lab/nativejmetemplate","software-hardware-codesign/nativejmetemplate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Electrostat-Lab/NativeJmeTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FNativeJmeTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FNativeJmeTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FNativeJmeTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FNativeJmeTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Electrostat-Lab","download_url":"https://codeload.github.com/Electrostat-Lab/NativeJmeTemplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FNativeJmeTemplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266631348,"owners_count":23959419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jme","jni","natives","rpi","wiringpi"],"created_at":"2024-12-13T20:30:58.579Z","updated_at":"2025-07-23T06:33:09.110Z","avatar_url":"https://github.com/Electrostat-Lab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NativeJmeTemplate\n\n## Git Commands : \n```bash\n┌─[twisted@parrot]─[~/GradleProjects/NativeJmeTemplate]\n└──╼ $git init\nInitialized empty Git repository in /home/twisted/GradleProjects/NativeJmeTemplate/.git/\n┌─[twisted@parrot]─[~/GradleProjects/NativeJmeTemplate]\n└──╼ $git add .\n┌─[twisted@parrot]─[~/GradleProjects/NativeJmeTemplate]\n└──╼ $git commit -m 'Initial Commit'\n[master (root-commit) 3dac3e8] Initial Commit\n 48 files changed, 380 insertions(+)\n create mode 100644 build/.buildJava/TestJni.class\n create mode 100644 build/.buildJava/TestJni.java\n create mode 100644 build/.buildNatives/TestJni.cpp\n create mode 100755 build/assemble/assembleJAR.sh\n create mode 100644 build/assemble/clean.sh\n create mode 100644 build/assemble/script.sh\n create mode 100644 build/assemble/variables.sh\n create mode 100644 build/compile/buildJava.sh\n create mode 100644 build/compile/buildNatives.sh\n create mode 100644 build/compile/clean.sh\n create mode 100644 build/compile/commands.sh\n create mode 100755 build/compile/compile.sh\n create mode 100644 build/compile/variables.sh\n create mode 100644 code/java/dependencies/game.jar\n create mode 100644 code/java/dependencies/jinput-2.0.9-natives-all.jar\n create mode 100644 code/java/dependencies/jinput-2.0.9.jar\n create mode 100644 code/java/dependencies/jme3-core-3.4.0-stable.jar\n create mode 100644 code/java/dependencies/jme3-desktop-3.4.0-stable.jar\n create mode 100644 code/java/dependencies/jme3-effects-3.4.0-stable.jar\n create mode 100644 code/java/dependencies/jme3-lwjgl-3.4.0-stable.jar\n create mode 100644 code/java/dependencies/lwjgl-2.9.3.jar\n create mode 100644 code/java/dependencies/lwjgl-platform-2.9.3-natives-linux.jar\n create mode 100644 code/java/dependencies/lwjgl-platform-2.9.3-natives-osx.jar\n create mode 100644 code/java/dependencies/lwjgl-platform-2.9.3-natives-windows.jar\n create mode 100644 code/java/src/main/TestJni.java\n create mode 100644 code/natives/includes/TestJni.h\n create mode 100644 code/natives/libs/TestJni.cpp\n create mode 100644 output/TestJni/Manifest.mf\n create mode 100644 output/TestJni/TestJni.class\n create mode 100644 output/TestJni/TestJni.jar\n create mode 100644 output/TestJni/dependencies/game.jar\n create mode 100644 output/TestJni/dependencies/jinput-2.0.9-natives-all.jar\n create mode 100644 output/TestJni/dependencies/jinput-2.0.9.jar\n create mode 100644 output/TestJni/dependencies/jme3-core-3.4.0-stable.jar\n create mode 100644 output/TestJni/dependencies/jme3-desktop-3.4.0-stable.jar\n create mode 100644 output/TestJni/dependencies/jme3-effects-3.4.0-stable.jar\n create mode 100644 output/TestJni/dependencies/jme3-lwjgl-3.4.0-stable.jar\n create mode 100644 output/TestJni/dependencies/lwjgl-2.9.3.jar\n create mode 100644 output/TestJni/dependencies/lwjgl-platform-2.9.3-natives-linux.jar\n create mode 100644 output/TestJni/dependencies/lwjgl-platform-2.9.3-natives-osx.jar\n create mode 100644 output/TestJni/dependencies/lwjgl-platform-2.9.3-natives-windows.jar\n create mode 100755 output/TestJni/libTestJni.so\n create mode 100644 output/TestJni/liblwjgl64.so\n create mode 100644 output/TestJni/libopenal64.so\n create mode 100755 output/run/run.sh\n create mode 100644 output/run/script.sh\n create mode 100644 output/run/variables.sh\n create mode 100755 shared/libTestJni.so\n```\n```bash\n┌─[✗]─[twisted@parrot]─[~/GradleProjects/NativeJmeTemplate]\n└──╼ $gh repo create NativeJmeTemplate --public\n✓ Created repository Scrappers-glitch/NativeJmeTemplate on GitHub\n┌─[twisted@parrot]─[~/GradleProjects/NativeJmeTemplate]\n└──╼ $git branch \n* master\n┌─[✗]─[twisted@parrot]─[~/GradleProjects/NativeJmeTemplate]\n└──╼ $git push --set-upstream https://github.com/Scrappers-glitch/NativeJmeTemplate.git master\nEnumerating objects: 51, done.\nCounting objects: 100% (51/51), done.\nDelta compression using up to 4 threads\nCompressing objects: 100% (46/46), done.\nWriting objects: 100% (51/51), 20.77 MiB | 13.92 MiB/s, done.\nTotal 51 (delta 9), reused 0 (delta 0), pack-reused 0\nremote: Resolving deltas: 100% (9/9), done.\nTo https://github.com/Scrappers-glitch/NativeJmeTemplate.git\n * [new branch]      master -\u003e master\nBranch 'master' set up to track remote branch 'master' from 'https://github.com/Scrappers-glitch/NativeJmeTemplate.git'.\n```\n## Screenshots : \n\n![Screenshot at 2021-12-16 09-05-30](https://user-images.githubusercontent.com/60224159/146333966-b2ac66a4-8893-4530-adcd-cd7246b9e1c7.png)\n\n## Ref : \n- https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html#wp16656\n- https://www.ibm.com/docs/en/i/7.1?topic=api-example-java-invocation\n- https://www.ibm.com/docs/en/sdk-java-technology/8?topic=applications-example-using-shared-libraries-linux\n- https://developer.ibm.com/articles/j-jni/\n\n\n## How to use this template : \nThis template compiles and builds a jme3 game using javac commands besides also compiling and generating C headers against native java methods using Jni.\nThe crystal usage of this template is when building simple native interfaces for our games, like using wiringPi on the RPI to control our jme3 input interfaces using GPIOs.\n==Further docs are still wip.==\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fnativejmetemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectrostat-lab%2Fnativejmetemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fnativejmetemplate/lists"}