bucanero / apollo-psp

Apollo Save Tool (PSP)
http://www.bucanero.com.ar/
GNU General Public License v3.0
50 stars 1 forks source link

Monster Hunter Freedom Unite DLC quests #21

Closed Darthagnon closed 12 months ago

Darthagnon commented 1 year ago

Monster Hunter Freedom Unite/Portable 2nd G had downloadable quests. However, the savegame could only hold around 6 quests at a time, meaning you'd have to connect to the internet to replace quests.

FUComplete is a game mod project for Freedom Unite that is able to embed all DLC quests into the game by some black magic. Before that, we had to use the MHFU Save Tools to download quest files and embed them offline into our savegames.

I was wondering if some function like this could be added to Apollo PSP?

Darthagnon commented 1 year ago

There were also a few games that offered bonus content unlocked by connecting via USB to a PS2 or PS3 game, e.g. Daxter to JakX unlocks Daxter's goggles, or AC Bloodlines also had some unlock. Would it be possible to add those unlocks to Apollo PSP, too?

Thank you for making this tool!

bucanero commented 1 year ago

At least the custom MH save decrypt/encryption could be handled by Apollo. About the quests I'd have to check those links and "MHFU Save tools" to understand what they're doing and if it's something doable.

btw, I also found this Python script: https://github.com/svanheulen/mhef

Edit: reviewing the python script, I found that it didn't work for MH 2G saves, but it was forked/fixed here, with the correct decode table for 2G: https://github.com/IncognitoMan/mhef

Double-0-seven7 commented 1 year ago

There were also a few games that offered bonus content unlocked by connecting via USB to a PS2 or PS3 game, e.g. Daxter to JakX unlocks Daxter's goggles, or AC Bloodlines also had some unlock. Would it be possible to add those unlocks to Apollo PSP, too?

Thank you for making this tool!

If I am not mistaken there is already a plugin that fakes a USB connection. It should work with some games like Resistance.

Darthagnon commented 1 year ago

If the Monster Hunter save tool has any issues, e.g. it was a script that downloaded quest files, so the original server might be 404, I have a backup with all quest files that I can provide if needed.

bucanero commented 1 year ago

If the Monster Hunter save tool has any issues, e.g. it was a script that downloaded quest files, so the original server might be 404, I have a backup with all quest files that I can provide if needed.

yes, that would be great. Can you share a .Zip with all the quest files, to avoid 404s while trying those scripts?

Darthagnon commented 1 year ago

Here you go, had to find it on one of my HDDs: MHFU Save Tools.zip

bucanero commented 1 year ago

Here you go, had to find it on one of my HDDs: MHFU Save Tools.zip

thanks for sharing, this should simplify things. I have the decrypting and hashing done, and now I need to test injecting quests.

Do you have Monster hunter Freedom Unite installed? ULUS10391 or ULES01213? I could share some Apollo test builds so you can confirm if everything works as expected with the game.

Darthagnon commented 1 year ago

MHFU EU build, EBOOT, ULES01213 - I can test if you like?

bucanero commented 1 year ago

MHFU EU build, EBOOT, ULES01213 - I can test if you like?

ok, great. 👍 when I have a chance I'll get a new Apollo build with the script files for ULES01213 so you can test out.

bucanero commented 1 year ago

@Darthagnon , here's a test build with the Monster hunter patches: https://www.mediafire.com/file/5bz9vmbflhliw2z/apollo-psp.zip/file

install the app, and try modding the ULES01213 saves. Apollo should show a few codes, to decrypt the save, update checksums, and encrypt again.

The codes also include injecting 2 quests on slots 1 and 2. I'll include all the other quests, once you confirm the injecting works as expected. (I know the quest limit is 6 slots, so I'll probably add the inject codes but they'll repeat the slots at some point.)

Note: I suggest making a backup of your save or even better, start with a clean save to test things to avoid risk of losing your current MH save data.

bucanero commented 12 months ago

@wr0zen has been testing and injected quests show up fine under the "download" menu after modding a save with Apollo.

for reference, here's a repo with a lot of PSP monster Hunter saves with quests and events added: https://github.com/viciousShadow/MH-PSP-DLC

bucanero commented 12 months ago

.savepatch files with Monster Hunter quests added:

This will be available in the next version.

Darthagnon commented 11 months ago

How do we add the quests? I was testing, and all I see in the save edit menu is

Quest Slot #1: mG0010.mib
Quest Slot #2: mG0011.mib

Shouldn't there be 6x Quest slots, with a list of *.mib files that can be applied to that save slot appearing when each quest slot is selected? A friendly name per *.mib would help a lot with figuring out which quest is selected

bucanero commented 11 months ago

Download the latest version from the release page. It has all the features and quests there.

Darthagnon commented 11 months ago

Download the latest version from the release page. It has all the features and quests there.

I have updated to the latest release v1.2.0 and can't see any way of changing the quests to add to the MHFU save... :'(

EDIT: @bucanero v1.2.0 does not have the quests, it is lacking the following files from the pre-release in this thread:

ULES01213.savepatch
ULJM05500.savepatch
ULJM05800.savepatch
ULUS10391.savepatch

And I'm not too sure how to add the rest of the missing quests to the pre-release savepatch files (attached as zip) as the hex format seems to be different. pre-release MHFU DLC quest savepatches.zip

EDIT2: I checked https://github.com/bucanero/apollo-patches/blob/main/PSP/ULES01213.savepatch, and it seems that the quests are all implemented there, and that the "latest version from the release page" referred to as-of-yet unreleased v1.2.1 (or whatever the next version number is). In the meantime, I will try a ZIP of the updated patches from the other Github repo.

bucanero commented 11 months ago

yes, correct, it's not part of the 1.2.0 PSP release, I mixed up with the latest Vita release.

This MHFU hack won't be available until the next PSP release. It might work with the test build I shared before, if you add the savepatch files from GitHub.

Darthagnon commented 11 months ago

I tried adding the savepatch files to v1.2.0, and added 6x quests, but it corrupted the test save. Will they only work properly with the prerelease build? v1.2.0 seems to give "Error: cheat codes could not be applied" quite a lot

EDIT: The prerelease build works perfectly with the new savepatches. It still has version 1.20 in About, but it works. It also de-corrupted the test save (must have just been a checksum issue)

Darthagnon commented 11 months ago

Bug

MHFU quest patches also show up as available for MHFU install data, which has foldername ULES01213DAT.

bucanero commented 11 months ago

MHFU quest patches also show up as available for MHFU install data, which has foldername ULES01213DAT.

Not a bug. Patch loading is done by TITLE-ID. The quest codes are still only targeting MHP2NDG.BIN, so unless the install data is using the same filename, even if you try it won't modify the file.

In any case, it's the user's responsibility to know when/where/what to patch if they want to apply such changes.