-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embed GameDB and widescreen patches into libretro core #47
Conversation
Would it be possible to include |
@bslenul Personally I'm a big fan of not requiring the user to dump the entire PCSX2 asset structure inside system, that seems like such a user inconvenient way of going about things in the future that is going to really limit the userbase for this core. Users really expect a core like this to work out of the box without having to drag in a dozen asset files from standalone. Sure, there could always be a fallback to having it use all these system-supplied files, but perhaps that should be explicitly hidden behind a core option setting, and by default it should just use the baked-in assets instead. |
Well I feel like this PR is a really good start for that :D From https://github.com/libretro/pcsx2/tree/main/bin , what's really needed in the system/pcsx2/ folder anyway?
So if |
I wanted to test the PR, but the build fails for me, here's the 2 last lines:
Did I do something wrong? I'm using these 2 commands as usual (after updating submodules needed by the PR):
I can build the "main" branch with no issue. |
I believe the only things useful from that list for the libretro core after this PR are As far as falling back on assets from standalone, I think the way to go here is to use the baked-in |
So the way the baking in works is via xxd -i, which takes the source Seems like your issue is either you don't have xxd (seems unlikely) or it's reading EDIT: Disregard the above; add in
|
Looks like edit: OK, I'll try |
Ohhhhh, good catch. I initially set |
Alright, you guys can let me know when this is ready to be merged. Also, it'd be awesome when we can add a list for the no-interlacing patches. I already mentioned this to @covey-j as something I was personally interested in. I do feel that for the no-interlacing patches, there should be a core option so that if the user doesn't want it to be auto-applied (for games that are in the list), he can turn it off. As for where we can get the no-interlacing patches from, there is a big list here - https://forums.pcsx2.net/Thread-No-interlacing-codes Note - the no-interlacing stuff is something for a separate PR, it's not necessary for this PR. |
Thanks for testing. I'll try to replicate the issue and see what I find. If I had to guess, it's either
|
Yep, there was a bug preventing the GameDB from loading. The log showed 0 games loaded. It should be fixed now -- I tested it out and it loaded all 10372 games in the database, as expected. I also tried a game that needed the VU0KickstartHack (same as what Jak and Daxter needs, though I didn't test that game specifically) and it correctly found and applied the hack. @bslenul Could you try again with my latest commit? |
OK, so I have the GameDB and embedded widescreen patches working on my end, both on Windows 10 and on Xbox. Could somebody else test the latest commit and make sure it's working on their end too? Important: make sure the |
Deleted the database and the ws cheats (both the .zip and the folder), worked like a charm on my end (Windows 10)! Tested with 4-5 different games. Thank you for your work, this is a really nice addition! |
@twinaphex OK, it should be ready for merge. Some notes for later:
|
Very cool, thanks for all your hard work and effort. I have read your post, thanks for informing me what the followup steps are going to be. |
Hmm , there are some build failures now - hopefully these can be resolved - |
OK, I made xxd optional in #50. Let me know if this resolves the build issue. I couldn't find an elegant way in CMake to make it update |
Enable Widescreen Patches
no longer needs a copy ofcheats_ws.zip
to functioncheats_ws.zip
is present, it's now ignored. Users can still supply their own widescreen patches using thecheats_ws
directory