LBPUnion / UnionPatcher

A tool for LittleBigPlanet that patches the server urls to a custom url.
GNU General Public License v3.0
29 stars 12 forks source link

Added regex matching to find index of LBP server URLs #27

Closed daggintosh closed 2 years ago

daggintosh commented 2 years ago

I can't guarantee this will work flawlessly but in limited testing it seems to work fine.

Uses regex to match LBP server URLs as well as dynamically gathers the maximum length for a server URL on a per-title basis. Eliminates the need for a list of known servers.

While I am currently unable to test PSP and PS Vita EBOOTs, I am testing the 3 mainline titles on real PS3 hardware as well as a successful test on RPCS3.

daggintosh commented 2 years ago

This should also affect #14. Although if patched to an invalid path (such as LITTLEBIGPLANETPS5_XML), the EBOOT can no longer be patched automatically.

m88youngling commented 2 years ago

Hello! Thanks for sending this in. I forwarded this to the team for review. We appreciate the help!

daggintosh commented 2 years ago

I've verified it works (Max length existing URLs don't brick the EBOOT and previously existing server URLs can be swapped at will) with the following serials: