[BUG] All Gold Medals Replaced with Silver Medals

Thanks, i replied in the other topic.

What software do you use to edit Player.nfp? Thank you

I use a Python script that decompresses the Player.nfp file, lets you inspect and edit the campaign progression medals, and then recompresses it.

Player.nfp is essentially a compressed .nfpu. You can use AGE (Advanced Genie Editor) to decompress it. The .nfpu format is undocumented to my knowledge. I deciphered the bits that encode campaign progression and wrapped them in a small script to make editing easier.

If you need support or more details, feel free to send me a PM with your question or request (and your .nfp file). I may be able to take a look this weekend.

Edit: I just bundled my script into a small Python app (NFP Editor Alpha 1.zip): https://drive.google.com/file/d/1CZ8UdrNkZEz5sZ4t6FGZor7du6R5zKxM/view?usp=sharing

I haven’t fully tested it—no guarantees—and it’s pretty rough, but it might work. ALWAYS make a backup of your Player.nfp before tinkering with it. The UI is rough, and the newest campaigns might be unsupported.

Extract the archive, and copy your Player.nfp into the new folder beside NFP Editor.exe. Set the medals as you want. If campaigns are missing, unlock them by completing at least one scenario (for example, using a cheat code) in the game.

The exported file will be named edited.nfp. Copy it back to the game directory and rename it to Player.nfp.
Make sure the cloud doesn’t overwrite it immediately (e.g., by disabling Steam Cloud).
If you downgrade medals, you’ll also need to start the game while offline, as the Relic Cloud will otherwise overwrite your file.

Use at your own risk. This may permanently alter your Relic Cloud account. I strongly advise against setting campaign progression for non-3K campaigns to anything above Gold, as this is not supported by the game and may be irreversible. If you’re unsure, I’m happy to modify the profile for you instead.

Note: I’m currently unsure about two difficulties (labeled New1 and New2). They might correspond to the Easiest or Story difficulty levels introduced with the Three Kingdoms (3K) campaign.

Thanks for the app man.. but i have an error when i try open NFP and NFPU. I can post only one image

Cant PM you.. i think my account is limitaded

Hey! Sorry about that, I only tested it on a handful of profiles.
Would it be possible for you to give me access to your .nfp file? That would help me narrow down the error more easily. Since PMs aren’t possible, maybe you could either upload it to the cloud or send it to me via email: cmfrydos+nfp@gmail.com
If that’s not possible, I can try relaxing the hotkey check more generally, but that would be a bit more difficult on my end.

Edit: I received your email - thanks! It should work now. Here’s the updated Alpha 2 version. I’ve also fixed several campaign names, but a few (like The Art of War) might still be wrong.

Hi, thank you, this Alpha 2 version works fine… i change 2 bugged missions and works fine until now.

Glad to hear it’s working! Thanks for letting me know.

I’ve updated the NFP Editor to Alpha 3.1!

This release supports the latest game version and its new campaigns. I’ve also redesigned and polished the user interface to provide a cleaner, more user-friendly experience.

Additionally, the editor can now read from and write directly to the Age of Empires II: Definitive Edition player profile file (Player.nfp), eliminating the need to copy files manually. When exporting changes, the editor automatically creates a backup file (Player.nfp.bak) to help prevent data loss.

One important thing to keep in mind:
It is still possible to assign medal tiers higher than a campaign supports. This will often result in no medal being displayed in-game. Lowering a medal afterward can also be difficult or even impossible because the game may retain a copy of the data on Relic’s servers. Therefore, be careful not to assign medal tiers that are too high for certain campaigns.

Download:

Preview:

Why did you post this on the official website under the dev

Additionally, except for the first scenario of “Battle for Greece” and historical battles, all other scenarios can be played on Legendary difficulty through slightly normal way—by editing all xxx_layout.json files with Notepad and inserting the following between the first and second lines:

“ExtendedDifficultyList”: true,

This is ineffective for historical battles and chronicles(I can’t find xxx_layout.json of them), but if you set the difficulty to Legendary, load savegame of campaigns and win, then clicking the Next Level button ,the next level will be legendary (so the first scenario of the chronicle won’t work). However, Art of War can always be played in Legendary difficulty, though diamonds cannot be obtained, which might require your way.

BTW:Many scenarios can’t run normally on Legendary difficulty, but they can still be won

Hi, thanks for sharing this information.

I originally posted the editor here because this thread was where the campaign-medal bug was being discussed and where affected players had asked for a way to repair their Player.nfp progress. The NFP Editor is an unofficial community tool and is not affiliated with the game developers.

In the meantime, I also received several emails from players reporting that Alpha 2 was no longer compatible with profiles created by newer game versions, so the tool needed another update.

That said, I agree that this older bug thread is probably no longer the best place to continue posting updates. I am currently preparing a GitHub release that will include the source code, and I am also considering whether there is a more suitable section of this forum for a dedicated tool thread.

Your Legendary-difficulty workaround is interesting. The NFP Editor does not modify campaign layout files or enable additional difficulty settings; it only edits the campaign-progress data stored in Player.nfp. It is also possible that forcing a scenario to run on Legendary is different from the game officially supporting and displaying a Legendary medal for that campaign. That is why the editor currently warns users not to assign medal tiers higher than a campaign normally expects, since this can result in no medal being displayed.

I am currently doing more work on the file format and the interface, including support for quickly editing campaign choices, but that feature is not ready yet.

Thanks again for documenting your findings.