Debug Mode

From Jak and Daxter Technical Wiki
Jump to: navigation, search


Hmmm...
This page is a work in progress.

To do:
Give better descriptions to "debug texts"
(When you are contributing, use these icons: [1])
Mention on the Talk: Debug Mode page any new discoveries that do not really fit into this page. Together we will find the best way to include it. Here is how to use talk pages properly: https://www.mediawiki.org/wiki/Help:Talk_pages

The first four (TPL-X) Jak and Daxter games contain a kind of debug mode, even the demos. It unlocks the ability to activate certain features by pressing buttons, not only on the first controller.

Activation

Not all Jak and Daxter games allow their debug modes to be activated using this button sequence, but the final versions of the first three games (TPL-3) definitely do, on all platforms (on Vita you need to use the touchpad for some buttons, details are below). The code has two parts, but you can input it in one go and it will work fine. Inputting the first part will only give you a limited debug mode, while also inputting the second code will fully unlock it. You will hear sounds when you successfully input a code (in case you are inputting the full code, you will hear a sound at the middle and at the end).

On the Vita, use the rear touch pad to replace buttons: Top left - PlayStation button L2.svg, Bottom left - PlayStation button L3.svg, Top right - PlayStation button R2.svg, Bottom right - PlayStation button R3.svg

First part: Hold PlayStation button L3.svg then press PlayStation Up button.svg PlayStation Up button.svg PlayStation Down button.svg PlayStation Down button.svg PlayStation Left button.svg PlayStation Right button.svg PlayStation Left button.svg PlayStation Right button.svg PlayStation button X.svg PlayStation button X.svg PlayStation button S.svg PlayStation button C.svg PlayStation button S.svg PlayStation button C.svg

Second part: Hold PlayStation button L3.svg then press PlayStation button C.svg PlayStation button S.svg PlayStation button C.svg PlayStation button S.svg PlayStation button X.svg PlayStation button X.svg PlayStation Right button.svg PlayStation Left button.svg PlayStation Right button.svg PlayStation Left button.svg PlayStation Down button.svg PlayStation Down button.svg PlayStation Up button.svg PlayStation Up button.svg

Full code: Hold PlayStation button L3.svg then press PlayStation Up button.svg PlayStation Up button.svg PlayStation Down button.svg PlayStation Down button.svg PlayStation Left button.svg PlayStation Right button.svg PlayStation Left button.svg PlayStation Right button.svg PlayStation button X.svg PlayStation button X.svg PlayStation button S.svg PlayStation button C.svg PlayStation button S.svg PlayStation button C.svg PlayStation button S.svg PlayStation button C.svg PlayStation button S.svg PlayStation button X.svg PlayStation button X.svg PlayStation Right button.svg PlayStation Left button.svg PlayStation Right button.svg PlayStation Left button.svg PlayStation Down button.svg PlayStation Down button.svg PlayStation Up button.svg PlayStation Up button.svg

To fully deactivate debug mode, just enter the first part of the code.

Activation Tips

Try these if you are having problems with activating debug mode:

  • Input the two parts of the code separately.
  • Try inputting the codes in the pause menu or the "Press Start" screen.
  • Do not move PlayStation button analog L.svg while holding down PlayStation button L3.svg.

History

The first ordinary person who ever experienced it was DonkeyPlanet when he was looking for debug text functions in the The Precursor Legacy demo on October 26, 2017. He immediately showed his discovery to Luminar, but for a very long time, nothing was done with it. On November 4, 2017, he also found something interesting in the Jak II and Jak 3 demos, which was the PlayStation button L2.svg + PlayStation button R1.svg button combination held down in the pause menu. The function that unlocked that combination also replaced the limited demo menu with the full menu. This is what would be called "partial" or "limited" debug mode months later. On January 2, 2018 Luminar found the limited debug mode in the final version of The Precursor Legacy. At that time he believed that it was everything that the devs have left in the game, due to the way the demo handled debug mode (it only had a full mode, so it was a bit different and it confused him). On January 21, 2018 DonkeyPlanet told Luminar that the PlayStation button L2.svg + PlayStation button R1.svg button combination in the menu also works in the final versions of the games. At that time he wasn't really interested about it. On February 11, 2018 Luminar also found a random address that when frozen to a specific value, gave seemingly random inputs to the game and eventually turned on debug mode (first partially, then fully). The random buttons also had the buttons used for restarting the game in debug mode, so the game always restarted. Luminar told the speedrunners to start looking for button sequences for activating debug mode, but they did not really take him seriously, or they just simply didn't think that it was possible to find it. On February 12, 2018 he also found a way to activate debug mode in all Jak and Daxter games without having to mess with that weird address. It was a normal function value with three states (values): one for when it was off, one for partially on (actually any value apart from the other two works for this), and one for fully on. He decided to make a trainer for it to make it easily accessible for everyone. On March 2, 2018 he contacted ImJustATester about that earlier address that could somehow activate debug mode. Together they learned that it was keeping track of button inputs. They noted down the values for all buttons, then filtered out buttons which were not needed for activating debug mode. On the same day Luminar told the speedrunners about it, figured out the length of the button sequences for them, and roughly a hour later the full button sequence was known thanks to Kuitar and Vaser. The planned trainer suddenly became much less useful, but it might get repurposed in the future.

Clearer and Shorter History

  • DonkeyPlanet found it in the TPL demo using a method that was discovered by Luminar, who wasn't too interested in most demos.
  • With the same method, DonkeyPlanet discovered something in the Jak II and Jak 3 demos. Much later, we learned that this was the limited debug mode (that is what you get if you enter the first part of the code).
  • Luminar found the limited debug mode in Jak TPL, with the same method. We believed that they removed the rest of the features due to how the demo handled debug mode.
  • DonkeyPlanet found the same "something" in Jak II and Jak 3 that he already found in the demos earlier.
  • Luminar found something that somehow activated full debug mode in Jak TPL. It was believed that it was related to button inputs, but not confirmed.
  • Luminar told the speedrunners that there might be a button code for activating debug mode in any of the Jak games, but they weren't really interested at that time.
  • Luminar found a way to activate debug mode in any of the Jak games with memory editing. He then started working on a trainer to eventually make it accessible in PCSX2 for everyone.
  • Luminar contacted ImJustATester. Together they figured out which buttons were needed for the debug mode activation code.
  • Luminar told the speedrunners the needed buttons and the length of the codes, and then Kuitar and Vaser figured out the correct order.

Known Button Combinations

The button combinations below are confirmed to be working on the following platforms: Playstation 2, Playstation 3, Playstation 4, Playstation Vita.

There is no known way to use the second controller combinations on the Playstation Vita.

Jak and Daxter: The Precursor Legacy

First controller:

  • PlayStation button R2.svg: Push Jak, Zoomer or FlutFlut upwards, you can hold it down to ascend endlessly.
  • PlayStation button R2.svg (while or after bumping into something or giving/taking damage): Restores 1 health. You can also restore health if Jak is dying, which means that you can avoid death.
  • PlayStation button L1.svg + PlayStation button R1.svg + PlayStation button L2.svg + PlayStation button R2.svg: Enter free camera mode. Also disables Jak, and doesn't prevent the loading of levels as long as you are not going out of bounds too much.
  • PlayStation button L1.svg + PlayStation button R1.svg + PlayStation button L2.svg + PlayStation button R2.svg (while in free camera mode): Exit free camera mode. Respawns Jak in front of the camera, and also sets a checkpoint which immediately gets overwritten by an in-level checkpoint in most cases.
  • Hold PlayStation Up button.svg and PlayStation Left button.svg then press PlayStation button Select.svg: Restart the game. If you are in free camera mode then it only resets your current game state (clears everything) and doesn't restart the game.
  • PlayStation button L1.svg + PlayStation button R1.svg (while in pause menu on the power cell screen): Awards the selected power cell to the player. While this does increase the power cell counter, it doesn't get removed from the world and collecting it won't increase the counter any further.
  • PlayStation button L3.svg + PlayStation button C.svg (while next to an active warp gate): Unlock all warp gate destinations. You need to press PlayStation button C.svg when you can see the "PRESS PlayStation button C.svg TO USE." message. You can start holding PlayStation button L3.svg before that.
  • PlayStation button L3.svg (while standing on a trans-pad): Spawn the Zoomer or FlutFlut that should be on the trans-pad you are standing on.
  • PlayStation button L3.svg (hold while standing on the Fisherman's boat or the gondola): You will see the "PRESS PlayStation button C.svg TO USE." message as long as the button is held down. Allows you to use them before unlocking them.
  • PlayStation button L3.svg (during autosave): The game will show auto-save/ get-heap 0-3 (depending on location of save file), then auto-save/ save done above the autosave icon
  • PlayStation button L3.svg (hold while paused in the power cell menu): Display death counter: "fcd: X"

Second controller:

  • PlayStation button T.svg: Toggle debug text.
  • PlayStation button R3.svg (hold): Display debug text.


Jak II

First controller:

  • PlayStation button L1.svg + PlayStation button R1.svg + PlayStation button L2.svg + PlayStation button R2.svg: Enter free camera mode. Also disables Jak, and doesn't prevent the loading of levels as long as you are not going out of bounds too much.
  • PlayStation button L1.svg + PlayStation button R1.svg + PlayStation button L2.svg + PlayStation button R2.svg (while in free camera mode): Exit free camera mode. Respawns Jak in front of the camera, and also sets a checkpoint which immediately gets overwritten by an in-level checkpoint in most cases. Game can get messed up when you exit free camera mode without entering into it while the game is paused with the PlayStation button Select.svg button, use "Restart Mission" to fix it. Pausing, entering free camera mode, then exiting is also a fix if you forgot to pause the game before entering free camera mode.
  • PlayStation button R2.svg (while or after bumping into something or taking damage): Restores health. You can also restore health if Jak is dying, which means that you can avoid death. You can also walk on damaging surfaces uninterruptedly if you hold down this button.
  • PlayStation button L2.svg + PlayStation button R1.svg (hold while in the pause menu): Reveal hidden pause menu options.
  • PlayStation button L2.svg + PlayStation button R2.svg (while on foot): Activate flying.
  • PlayStation button L2.svg + PlayStation button R2.svg (while in Titan Suit): Push Titan Suit upwards.
  • PlayStation button L2.svg (while flying): Descend.
  • PlayStation button R2.svg (while flying): Ascend.
  • PlayStation button L1.svg or PlayStation button X.svg (while flying): Exit flying.
  • Hold PlayStation Up button.svg and PlayStation Left button.svg then press PlayStation button Select.svg: Restart the game. If you are in free camera mode then it only resets your current game state (clears everything) and doesn't restart the game.
  • PlayStation button L1.svg (during a cutscene): Slow cutscene down.
  • PlayStation button R1.svg (during a cutscene): Speed cutscene up.
  • PlayStation button X.svg (during a cutscene): Resets cutscene speed if it is not at the default value. If it is at the default speed already then it just pauses the cutscene.
  • PlayStation button L1.svg (during a minigame): Lose minigame.
  • PlayStation button R1.svg (during a minigame): Win minigame.
  • PlayStation button R2.svg (while game is paused with PlayStation button Select.svg): The game advances 1 frame then pauses itself.

Second controller:

  • PlayStation button T.svg: Toggle debug text.
  • PlayStation button R3.svg (hold): Display debug text.
  • PlayStation button L3.svg + PlayStation button S.svg: Toggle debug text.
  • PlayStation button L3.svg + PlayStation button C.svg: Toggle debug text.
  • PlayStation button L3.svg + PlayStation button X.svg: Gives 1000 Skull Gems, 1000 Precursor Orbs, all guns, the Jetboard, refills some ammo, and refills Dark Eco.
  • PlayStation button L3.svg + PlayStation button R1.svg: Toggle debug text detailing cutscenes appearing during cutscenes.


Jak 3

First controller:

  • PlayStation button L1.svg + PlayStation button R1.svg + PlayStation button L2.svg + PlayStation button R2.svg: Enter free camera mode. Also disables Jak, and doesn't prevent the loading of levels as long as you are not going out of bounds too much.
  • PlayStation button L1.svg + PlayStation button R1.svg + PlayStation button L2.svg + PlayStation button R2.svg (while in free camera mode): Exit free camera mode. Respawns Jak in front of the camera, and also sets a checkpoint which immediately gets overwritten by an in-level checkpoint in most cases.
  • PlayStation button R2.svg (while or after bumping into something or taking damage): Restores health. You can also restore health if Jak is dying, which means that you can avoid death. You can also walk on damaging surfaces uninterruptedly if you hold down this button.
  • PlayStation button L2.svg + PlayStation button R1.svg (hold while in the pause menu): Reveal hidden pause menu options.
  • PlayStation button L2.svg + PlayStation button R2.svg (while on foot): Activate flying.
  • PlayStation button L2.svg + PlayStation button R2.svg (while in Dark Maker Mech): Push Dark Maker Mech upwards.
  • PlayStation button L2.svg (while flying): Descend.
  • PlayStation button R2.svg (while flying): Ascend.
  • PlayStation button L1.svg or PlayStation button X.svg (while flying): Exit flying.
  • Hold PlayStation Up button.svg and PlayStation Left button.svg then press PlayStation button Select.svg: Restart the game. If you are in free camera mode then it only resets your current game state (clears everything) and doesn't restart the game.
  • PlayStation button L1.svg (during a cutscene): Slow cutscene down.
  • PlayStation button R1.svg (during a cutscene): Speed cutscene up.
  • PlayStation button X.svg (during a cutscene): Resets cutscene speed if it is not at the default value. If it is at the default speed already then it just pauses the cutscene.
  • PlayStation button L1.svg (during a minigame): Lose minigame.
  • PlayStation button R1.svg (during a minigame): Win minigame.
  • PlayStation button R2.svg (while game is paused with PlayStation button Select.svg): The game advances 1 frame then pauses itself.

Second controller:

  • PlayStation button T.svg: Toggle debug text.
  • PlayStation button R3.svg (hold): Display debug text.
  • PlayStation button L3.svg + PlayStation button S.svg: Toggle debug text.
  • PlayStation button L3.svg + PlayStation button C.svg: Toggle debug text.
  • PlayStation button L3.svg + PlayStation button X.svg: Gives 1000 Skull Gems, 1000 Precursor Orbs, all guns, the Jetboard, refills some ammo, and refills Dark Eco and Light Eco.
  • PlayStation button L3.svg + PlayStation button R1.svg: Toggle debug text detailing cutscenes appearing during cutscenes.