Giter Site home page Giter Site logo

Comments (21)

OsirizX avatar OsirizX commented on July 30, 2024 1

@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.

OsirizX avatar OsirizX commented on July 30, 2024 1

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.

frangarcj avatar frangarcj commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

Added glCompileSource + glShaderSource + glGetShaderiv implementations using vitaShaRK, waiting for the extractor to close this issue.

from vitagl.

OsirizX avatar OsirizX commented on July 30, 2024

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.

OsirizX avatar OsirizX commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

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.

OsirizX avatar OsirizX commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

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.

OsirizX avatar OsirizX commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

As for plugins, i do have only PSVshell in my config.txt.

from vitagl.

OsirizX avatar OsirizX commented on July 30, 2024

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.

OsirizX avatar OsirizX commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

It did crash when running it
psp2core-1593775444-0x00018220af-eboot.bin.zip

from vitagl.

OsirizX avatar OsirizX commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

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.

OsirizX avatar OsirizX commented on July 30, 2024

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.

Rinnegatamante avatar Rinnegatamante commented on July 30, 2024

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.

OsirizX avatar OsirizX commented on July 30, 2024

No prob, you can go ahead and add it! Thanks!

from vitagl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.