-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Tutorial: Installation
The console can be enabled in the willowinput.ini
in:
-
documents/my games/'X'/willowgame/config/
for Windows. -
library/application support/'X'/willowgame/config/
for Mac. -
share/aspyr-media/'X'/willowgame/config/
for Linux.
The 'X' must be replaced by either borderlands 2
or borderlands the pre-sequel
, depending on which game you want to work on.
Once you find the file, use a text editor to access its contents.
- Use
Edit>Find
orCtrl
+F
orCmd
+F
and find[Engine.Console]
. - Under this, you will see
ConsoleKey=
andTypeKey=
.
You can set these keys to any key of your choosing, however it's best to do ConsoleKey=Tilde
and TypeKey=Backslash
, since these keys are generally not used for anything else.
On the QWERTY (Standard) Keyboard Tilde
is the key left of 1
and above TAB
, Backlash
is the key above Enter
, below 'Return' and right of }]
.
Once you've set the keys, while in-game pressing the ConsoleKey
will open the console with a log at the top of the screen, and pressing the TypeKey
will open the console with just a command line at the bottom of the screen.
At this point, the console can be used in a very limited way. Here are some of the commands that can be used:
Shot
TiledShot
Stat FPS
ToggleHud
Quit
If you try to use a command that doesn't exist, or a command you don't have access to, it will simply type into the game chat instead of running them.
However, to patch the game we need access to Set
command and some other extra permissions.
From this moment on, BORDERLANDSGAME
will be used to mean the directory your game files
(either borderlands 2
or borderlandspresequel
)
To access BORDERLANDSGAME
:
- Go to your Steam Library
- Right-Click on the game
- Click Properties at the bottom of the list
- Go to the Local Files tab
- Click Browse Local Files
All of these methods involve changing the non-writable memory of the game's executable so that the console is unrestricted. They all use different methods to change specific values, some can work while the game is running temporarily, others work by editing the executable itself.
This method uses a hex editor to permanently edit the executable so that the console is fully unlocked.
Should work for all platforms, you may need a different hex editor if on non-windows.
- Go to
BORDERLANDSGAME/Binaries/Win32
. -
BACK UP
Borderlands2.exe
orBorderlandsPreSequel.exe
. - Install a Hex Editor.
- Open
Borderlands2.exe
orBorderlandsPreSequel.exe
in the Hex Editor. - Click the dropdown menu
Edit
and go toFind and Replace
(Or useCtrl
+H
orCmd
+H
) - Set it to
Hex Values
. - Replace
83 C4 0C 85 C0 75 1A 6A
with83 C4 0C 85 FF 75 1A 6A
. - Replace
73 00 61 00 79 00
with00 00 00 00 00 00
. - Save changes.
This method uses the Patcher
Which will automatically hex edit the executable and set your ConsoleKey
(as already done in Part 1)
Run the Patcher executable and follow any prompts, there should be help information given.
If you are on Windows, you can still enable all of the blocked commands using Cheat Engine Scripts.
- Open
UnlockConsole.CT
in Cheat Engine - Once either Borderlands 2 or Borderlands: The Pre-Sequel is running.
- Click the monitor icon in the top left in Cheat Engine
- Select
Borderlands2.exe
orBorderlandsPreSequel.exe
in the process list - Click
Open
- Check
Disable Console Say
andUnlock Set Utility
. - Close Cheat Engine
This must be repeated every time you use mods, so it is non-permanent.
Downloads for Cheat Engine can be found Here
A download without installer is available for Cheat Engine 6.6
Follow this Method
Place any mods you want to use inside the BORDERLANDSGAME/binaries.
Launch the game and once you are at the main menu (past any loading screens) run Exec *
.
Where *
is the filename of each file you installed to BORDERLANDSGAME/binaries
.
The extension must also be included (usually .txt
, sometimes there is no extension)
You will need to do this every time you launch the game.
Since you must run an exec command on every file, it is a good idea to organise the files in a way that allows the formation of a master file; A file that will execute every other file so you only need to execute one.
This master file can be created by:
- Pasting the contents of each file onto the end of one
(you now don't need any of the other files)
OR - Writing a file that contains (for each on a separate line)
Exec *
for each file
(Doesn't handle files with names containing spaces or graves)
OR - Using UCP Filter Tool to customise your patch install and install mods through a unified graphical user interface.
(Not entirely integrated for Presequel, Requires Java Runtime Environment)
OR - Using
ExecLoader.bat
to constructAutorun
(Must be stored in a subfolder ofBinaries
, only for Windows)
To use UCP Filter Tool:
Watch this Demonstration by the tool's creator LightChaosman
- Download and place
FilterTool.jar
andPatch.txt
inBORDERLANDSGAME/binaries
- Open
FilterTool.jar
with Java Runtime Environment - Check/uncheck features according to your preferences
- Add mods through
Developer tools>Add single mod
, this will open a folder browser, select a mod.
OR
Add mods throughDeveloper tools>Import mods folder
, amods
folder will be created inBinaries
, put mods in this folder then use the button again. - If you wish, use
File>Change default patch
to change the master file. - Press
File>Save patch
and the master file will be updated.
To use ExecLoader.bat
:
- Download the file
- Create a new folder inside
BORDERLANDSGAME/Binaries
- Put
ExecLoader.bat
inside it - Run
ExecLoader.bat
This will createBuffer
andData
folders. - Place the files you want to install inside
Data
- Run
ExecLoader.bat
This will createAutorun
as well as renamed copies of the files inData
inBinaries