A collection of scripts that allow you to fully unlock Bad Piggies on your PC.
⚙️ How does it work? • 🚀 How to use it? • 🐛 Found a bug?
In February 2024, the activation servers for full versions of several Rovio PC games, including Bad Piggies, were permanently shut down. When you attempt to enter an activation code in the game’s activation window, the game still sends a request to the servers. However, due to the lack of response from the servers, the activation process fails.
This is where this script comes into play. The script intercepts requests to cloud.rovio.com/drm/consumeKey/ URL, simulating a server response. It then forwards this simulated response to the game client. As a result, the game believes that the Rovio servers are operational, and the activation code you input is considered valid. Consequently, the game gets activated, allowing you to enjoy the full experience!
Note: The gifs above demonstrate the Fiddler Script method which runs in the background and allows you to activate the game directly through the in-game menu. If you choose the Python Script method, it's recommended to run it while the game is closed. The Python script generates the necessary activation file contents and the game will be activated the next time you launch it!
Click to expand the step-by-step activation guide
This script automatically generates the necessary configuration Settings.xml file with the activation data and saves it in the game data folder in AppData. This method works for all Bad Piggies versions on Windows.
- Download and extract the
RovioActivationScript.pyfile to any location on your Windows PC from this repository. (Direct download link) - Make sure you have Python installed (tested on version 3.9 but should work on 3.2 or newer).
- Close the game if it's open.
- Run the downloaded script (e.g., by double-clicking it).
- Once the script is finished with no errors, Bad Piggies should be activated!
- Download and Install Fiddler Classic and open it.
- If you get an
AppContainer Configurationpopup, click cancel. - Head to the
FiddlerScriptsection. - If there is an
Introductionscript, remove it. - Paste the following script there and click on
Save Script:
import Fiddler;
// Script by PRO100KatYT
class Handlers
{
static function OnBeforeRequest(oSession: Session) {
if (oSession.fullUrl.Contains("cloud.rovio.com/drm/consumeKey/"))
{
oSession.utilCreateResponseAndBypassServer();
oSession.responseCode = 200;
oSession.oResponse.headers.HTTPResponseCode = 200;
oSession.oResponse.headers.HTTPResponseStatus = "200 OK";
oSession.utilSetResponseBody("status=1&msg=valid");
}
}
}- Go to Bad Piggies, input any code into the activation window, and confirm it.
- Your Bad Piggies PC copy should be activated. You can now close Fiddler and play the game!
Note: You can find a version of this script with instructions for Linux (Wine) here thanks to j-romchain.
Feel free to open an issue if you encounter any bugs or just have a question.

