Ori and the Blind Forest

Ori and the Blind Forest

View Stats:
martin Mar 21, 2015 @ 2:22pm
[Tool] Fix glitched saves, stuck in water, warp to any spirit portal, unlock completed game files and enable debug mode
A few days back I posted a tutorial on unlocking completed game file so you could finish getting any collectibles you may have missed.
The tutorial was long cumbersome and hacky, so since then I've been working on some improvements, with the tool also able to fix stuck in a wall glitches

The tool is a PowerShell script, if you are interested in how it works, open it in notepad and I've commented the code to explain what is going on

What the tool does:
  • New! Now fixes your save file if you can't jump put of water or push objects (this is initially caused by saving when crouched)
  • Warp Ori to any specified spirit portal (This can be used to get out of glitched walls)
  • New! If you warp to the Mount Horu Basement you will be given the option to unlock the door (if it did not open when you killed the jumping lava shark)
  • Enable / Disable debug mode (use CTRL+8 to enter the debug menu)
  • Unlock completed game files to allow continued playing

How to use it:
  1. IMPORTANT: back up your save file first! Just in case something goes wrong
  2. Download the script here https://www.dropbox.com/s/6xkuawfke5ak7kz/OriSaveFileFixer.ps1?dl=0
  3. Go to the folder where you downloaded OriSaveFileFixer.ps1 to
  4. Right click the script and select "Run with PowerShell"
  5. Note: If you see a box pop up then flash with red text try updating your execution policy (See the troubleshooting section below)
  6. Enter the save slot number for the save you wish to unlock/warp (this can be found by looking at the numbers under each save slot when you first open the game)
  7. Select the location you wish to warp to
  8. Select to enable or disable debug mode (Enabling debug mode will disable steam achievements!)
  9. You're done! Open your saved game and you will be in a new location, it's that easy :D

If you have any issues, let me know :)

Troubleshooting:
If you can't run the PowerShell script, try updating your execution policy (thanks Time Paradog)
  • Press windows key
  • Search for "Powershell"
  • Right click Windows Powershell, run as admin
  • Enter
    Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
  • Try re-running the script


Enjoy!

Also, big thanks to DaddyDrew for initial help with discovering the debug tools and save structure
Last edited by martin; Apr 23, 2015 @ 7:37am
< >
Showing 1-15 of 360 comments
Mr. Red Beard Mar 21, 2015 @ 2:25pm 
Very cool man, this is quite useful, great work!!
Mr. Red Beard Mar 21, 2015 @ 4:49pm 
Bump so people see this. I didn't want it to get buried.
TimeParadog Mar 21, 2015 @ 5:08pm 
Was able to run it, unfortunately it seems to hang for me, I'm currently stuck on "Searching for location data..." after selecting a new location on one of my saves.
I'm sure I'm just doing something wrong, any help would be greatly appreciated.
martin Mar 21, 2015 @ 5:13pm 
How long has it been hanging for? it has to scan the whole file to find the correct data, but it shouldn't take more than a minute
TimeParadog Mar 21, 2015 @ 5:18pm 
Seems I wasn't being patent enough. It eventually finished up and gave the option to close (took maybe 2-3 mins for me).
Thanks for making a tool for this!
martin Mar 21, 2015 @ 5:30pm 
Originally posted by Time Paradog:
Seems I wasn't being patent enough. It eventually finished up and gave the option to close (took maybe 2-3 mins for me).
Thanks for making a tool for this!
Ok, I've updated the script to improve the search speed, shouldn't hang for quite so long now :)
TimeParadog Mar 21, 2015 @ 6:03pm 
Tried a few times, no luck, still stuck. :/
If you're interested in taking a look at the save (if not s'all good): https://www.dropbox.com/s/lxfavd0z9jhso0k/saveFile2.sav?dl=0
martin Mar 21, 2015 @ 6:19pm 
worked fine for me https://www.dropbox.com/s/xecesq37r9y0zol/saveFile2.sav?dl=0
could you send me the output given to you when you run the script, and i'll see if i can work out what was wrong :)
martin Mar 21, 2015 @ 6:31pm 
Originally posted by Time Paradog:
Tried a few times, no luck, still stuck. :/
If you're interested in taking a look at the save (if not s'all good): https://www.dropbox.com/s/lxfavd0z9jhso0k/saveFile2.sav?dl=0
Output should have looked something like this:
Which save do you want to modify? (A number from 1 to 10) : 3 Backing up save file to: C:\Users\Martin\AppData\Local\Ori and the Blind Forest\saveFile2.backup.sav Backup success! Warp to location: 0 - Don't Warp (Stay where you are) 1 - Hollow Grove 2 - Hollow Grove (Mount Horu) 3 - Thornfelt Swamp 4 - Ginso Tree 5 - Sunken Glades 6 - Valey Of The Wind 7 - Sorrow Pass 8 - Forlorn Ruins 9 - Moon Grotto 10 - Mount Horu (Entrance) Where would you like to be warped to? (A number from 0 to 10) : 1 Searching for location data... Location data found Updating location Location updated Searching for debug flag... Debug data found Debug is off Warning: Turning debug mode on disables steam achivements! 0 - Off 1 - On Toggle Debug Mode (Enter 0 or 1) : 0 Debug is now off Removing completed flag Resaving save file: C:\Users\Martin\AppData\Local\Ori and the Blind Forest\saveFile2.sav Save success! Press space to close...
PlagueDoc Mar 21, 2015 @ 6:55pm 
hey i cant start the script. everytime i try to run it with power shell there is just some red text i cant read because it close to fast. any suggestions? :)
TimeParadog Mar 21, 2015 @ 6:57pm 
Made a copy of my 1st save.
Original:
https://www.dropbox.com/s/pdqxsfhl1ggrnwx/saveFile3-orig.sav?dl=0
After running script:
https://www.dropbox.com/s/do0d8dgx8m1dnr6/saveFile3-script.sav?dl=0

Seriously, thanks for taking the time to help. :D
TimeParadog Mar 21, 2015 @ 7:11pm 
Originally posted by Big Daddy:
hey i cant start the script. everytime i try to run it with power shell there is just some red text i cant read because it close to fast. any suggestions? :)
I was having the same problem, this is the error your more than likely getting: http://i.imgur.com/oynSqkF.png

Google led me here: http://stackoverflow.com/questions/4037939/powershell-says-execution-of-scripts-is-disabled-on-this-system

Short version:
Press windows key
Search for "Powershell"
Right click Windows Powershell, run as admin
Enter "Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser" (without quotes)

You should be good to run the script martin posted at that point. I'd recommend resetting the powershell setting to require a signature after you're done. (run "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser" in powershell).

Hope this helps.
PlagueDoc Mar 21, 2015 @ 7:20pm 
NIce thank you, it works.
Now i hope the script works too :)
Okuru Mar 21, 2015 @ 9:27pm 
when i run the script the byte chunk for location data is not found so nothing happens. anything to remedy this?
Okuru Mar 21, 2015 @ 10:00pm 
if fixed it i think, just open the script in notepad and replace the line that says:
$diff = Compare-Object -ReferenceObject $locationGUID -DifferenceObject $chunk
with:
$diff = @(Compare-Object -ReferenceObject $locationGUID -DifferenceObject $chunk)
and it should work
< >
Showing 1-15 of 360 comments
Per page: 1530 50