Comments (21)
@frangarcj
I tried from different versions. FW 1.69 - didn't work, FW 2.02 - worked, PSM 2.01 - worked
@Rinnegatamante
I think all needed tools are there, just need to put them together. I will try to get installer going for this!
from vitagl.
I was able to reproduce the issue. This happens when klicense is invalid and decryption errors out. I've now embedded valid one so decryption should work this time. I've also added log file in ux0:/ShaRKF00D/ShaRKF00D.txt
https://github.com/OsirizX/ShaRKF00D/releases/download/1.2/ShaRKF00D.vpk
from vitagl.
Where have you extracted the suprx? There are different versions with different nids. And you are right, the blocking is a user friendly install app.
from vitagl.
Yes, the issue with shacccg is the lack of a legal and legit installer for the module. Ideally useers should download PSM runtime and an installer should extract + decrypt + place in a proper spot of the fs (vs0? ur0?) the module.
Once this is achieved, adding SceShaccCg support to vitaGL (and on Gxm apps in general too) should be trivial and benefit a lot development in general.
from vitagl.
I've wrote an helper library to use SceShaccCg: https://github.com/Rinnegatamante/vitaShaRK . I've sticked to "ur0:data/libshacccg.suprx" for the default path so hopefully if that can be used in the extractor, it would be ideal. Going to run some tests and then add glCompileSource + glShaderSource implementations.
from vitagl.
Added glCompileSource + glShaderSource + glGetShaderiv implementations using vitaShaRK, waiting for the extractor to close this issue.
from vitagl.
Thanks Rinnegatamante, I tested vitaShaRK sample and output looks good! I can see the shaders compiled in ux0:/data.
I'll post back when I can get the extractor ready for testing.
from vitagl.
I have built first version of the installer.
https://github.com/OsirizX/ShaRKF00D/releases/tag/1.0.0
Please test this out and see if you get the module under ur0:/data. You may have to delete the one you already have to make sure new one was extracted.
I have only built the app within 2 days so there is no user dialog or anything yet.
Thanks!
from vitagl.
Seems like it doesn't fully work. I get two libshacccg.suprx be extracted. One in ur0:data of few kbs (4 kbs) and one in ux0:data of 1,7 mbs however both seems to not work with vitaShaRK samples.
from vitagl.
Thanks for testing. 1,7 mbs looks correct for ux0:/data/libshacccg.suprx (This is file size for when it is extracted but still encrypted). How big is your ux0:/ShaRKF00D/libshacccg.suprx.elf file? It should be about 3,4 mbs. Trying to see if problem is coming from file decrypt part or fself sign part.
Also I've only tested on 3.60 FW with taiHEN enabled.
from vitagl.
That one is 5 KBs. (there's also a elf file of 1 kb and a sha256 file of 1 kb. I'm also running fw 3.60.
from vitagl.
Looks like there is something off with decryption part however I'm unable to reproduce the issue even after disabling all plugins. I will look at it more closely.
Ideally if decryption works with https://github.com/CelesteBlue-dev/PSVita-RE-tools/tree/master/FAGDec then it should work with the installer too.
from vitagl.
As for plugins, i do have only PSVshell in my config.txt.
from vitagl.
I've also tried with PSVshell enabled but is still working on my end. Anyway I'm working on 2nd decryption method based off self2elf. Hoping it will be more compatible.
from vitagl.
I've included other decryption method. Hopefully will work this time. Output will still be at ur0:/data/libshacccg.suprx
https://github.com/OsirizX/ShaRKF00D/releases/download/1.1/ShaRKF00D.vpk
from vitagl.
It did crash when running it
psp2core-1593775444-0x00018220af-eboot.bin.zip
from vitagl.
Thanks for the dump file. It looks like it's crashing right before it returns from decompress_segments where it tries to dereference something null. I'll see if I can fix this.
from vitagl.
Did work perfectly fine this time! The only thing i would add is the remotion of temp files (.suprx, .suprx.elf, .suprx.ext etc in ux0:SharkF00D)
from vitagl.
Great! Glad it works this time.
This one removes the intermediate files.
https://github.com/OsirizX/ShaRKF00D/releases/download/1.3/ShaRKF00D.vpk
from vitagl.
The installer works great, can i add it to VitaDB too or are you planning to do a public release later? Closing this issue.
from vitagl.
No prob, you can go ahead and add it! Thanks!
from vitagl.
Related Issues (20)
- March 29 commit 1334255cc6 - messes up textures in VitaquakeIII HOT 1
- vitaGL from vitasdk packages fails to link with undefined reference to `vgl_framecount` HOT 1
- CppCheck issues HOT 1
- Can't compile samples HOT 2
- glLoadMatrixf ordering HOT 1
- cant compile samples [2] HOT 1
- OpenGL Additions HOT 3
- Clip Planes bug HOT 1
- CppCheck Fixes HOT 5
- Disabling MSAA causes issues (GPU Crash/APP Crash) HOT 1
- Undefined reference to `vglHasRuntimeShaderCompiler' HOT 1
- Having issues loading shaders HOT 5
- Possible Source engine port? HOT 1
- Vita Nearest Neighbour does not work with latest VitaGL build HOT 4
- VITABatteryPlus does not work with latest VitaGL build HOT 2
- game build error
- game build error
- Porting to Wii U/3DS HOT 5
- Ps1 emulator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitagl.