Skip to main content

Finding/Comparing Files

There are thousands of extracted files available and sometimes it can be difficult to locate what you need.

Windows Command Prompt

On the Windows Operating System, you will be using the Console Command Prompt (CMD).
To access it, simply type "command prompt" or "cmd" in the search bar.
Windows PowerShell also works.

cd (Change Directory)

It will be much easier issuing commands when changing the current directory.
You should be changing the directory to the folder where you extracted all your files.

Syntax:
cd [directory]

Example:
cd C:\Users\Username\Desktop\Extracted Files

An easy way to change directories in is to navigate to the directory in File Explorer, select the upper list that names all the folders in your directory (usually starting with "This PC"), copy what is listed, then paste it into CMD.

findstr (Find String)

To find specific text strings within a file or group of files.
Very useful in finding .decl files.

Syntax:
findstr [arguments] [text] [filename]

Example:
findstr /si "ai/fodder/imp_stone" e5m1_spear\generated\decls\*
> This example command will list out the .decl files that define the Stone Imp as an entity to be spawned in a level.
> The /si argument makes the command also search sub-directories of the file and ignore case-sensitivity.
> The * at the end is a wildcard, meaning that it will search for everything within the decls folder.