A collection of scripts that allow you to fully unlock Bad Piggies on your PC.
Fiddler Script (v1.3.0+) • How does it work? • How to use it? • Python Script (all versions) • I have a question!
The Fiddler script works for Bad Piggies 1.3.0+
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");
}
}
}You can find a version of this script with instructions for Linux (wine) here thanks to j-romchain
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!
-
Download and Install Fiddler Classic and open it.
-
If you get an
AppContainer Configurationpopup, click cancel. -
Head to the
FiddlerScriptsection. -
If there is an Introduction script, remove it.
-
Paste the script there and click on
Save Script. -
Go to Bad Piggies and 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!
As an alternative to the Fiddler method, you can use the Rovio Actvation Python script. 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.py file 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!
Feel free to open an issue and ask your question there.

