Thanks for your suggestions, I will definitely try these games next. I am also currently trying to get Need For Speed Underground Rivals working.
About your second suggestion (the database), currently I am using a more general approach, without referencing any titles (if game x then do that) but I only tried to get 5 games to work so far. But I think you are right, some games probably need more specific code.
If you are still interested in working on it, feel free to contribute, if you like.
My implementation selected those three titles as they cover the most compatibility. The idea was to get the code mapping all of the calls correctly first then a per game variable list based on ISO title as I said. This way its much, much more efficient than game per game like GePatch as that caused overlapping issues. One thing was fixed and another title stopped working.
Its more like compatibility profiles that allow you to tweak the calls. Render the image from simple to most complex like geometry then depth, see how that performs, add in textures, effects, see how that is, then lighting and the rest. Creating the profiles like this, with those 3 titles, means you'll have a pretty solid base for around 80% of the titles which then need small revisions as the testing comes in from users. This can be updated in the database.
Add in an isolation mode where you can turn off certain layers for further testing to see where issues come in and it makes the process very quick and effective. Add in something like image comparison for debugging where it looks at the PSP side and the Vita layer as a cross reference and its an extremely efficient approach.
This was just based on a quick thought and looking at the old code and implementation of the patch along with the new idea of reusing the PPSSPP code base. Doing it this way was the most flexible way and those 3 titles represent a launch game, a fully maxed out with effects and known to be tough to emulate one and a very basic 2D option as well. The main thing was to get the plugin environment totally clean, bug free and coding a test app for the PSP like this:
01. Empty frame
Plugin startup and frame loop
02. Clear screen
Render target and clearing
03. Single triangle
Basic GE capture
04. Coloured triangles
Vertex attributes
05. Wireframe geometry
Geometry interpretation
06. Textured quad
Texture decoding
07. Overlapping geometry
Depth and ordering
08. Alpha blending
Blend operations
09. Moving geometry
Frame-to-frame updates
10. Stress scene
CPU/GPU throughput
This produces the same scenes on request which equals a very stable base plugin to then expand on. There is a lot more I'd considered but I'll share this for now to see what you think because my idea was to create something that was versatile, efficient and structurally solid then start with game testing because GePatch had loads of conflict issues trying to patch title by title instead of doing it this way. The idea is to have variables fully mapped then, if you need to, you can implement speed hacks on a title by title basis like ye old emulators used to do to bypass the limits of the extra processing needed within the Vita limits.
Obviously this was to be implemented after the above is solid but this list of options in the database could change things like simplifying lighting, mipmapping or even an adaptive renderer that uses the data gained from the test app I mentioned to automatically shift depending on workload but that is a more advanced concept. Inspiration was taken from early SNES emulation on low powered hardware that simply skipped stuff that didn't add to the final result. It wasn't accurate but it worked and was super fast. Same idea here plus working with only 3 titles makes it much, much quicker to actually get something up and running.
https://www.reddit.com/r/vitahacks/comments/1xx84uq/experimenting_with_a_native_psp_ge_vita_sgx/
A couple of people mention in here. most notability Frangarcj
https://www.reddit.com/r/vitahacks/comments/1wzg8vk/psppsx_native_vita_resolution/
there was also - but the dev has made the repo private or given up.
https://github.com/Maty-Espinoza/NativePatch/
I've also got my own version that im testing for a native gxm renderer (no were near ready), I tried to take ge_patch as far as I could and it wasn't worth time pursing anymore.
This is great, I think if we got them all here to collab this could become quite feasible. Can you point them towards this thread?