### Compiling Project with Maven Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Compiles the `squirrel` Java project from source using Apache Maven. The `clean install` goal cleans any previous build artifacts and then compiles, packages, and installs the project JAR, while `-Dmaven.test.skip=true` instructs Maven to skip running unit tests during the build process. ```Shell mvn clean install -Dmaven.test.skip=true ``` -------------------------------- ### Using Custom Cache Path Windows Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Runs the `squirrel.jar` tool using `java.exe`, specifying a custom file system path on a Windows system for the OSRS cache location via the `--cache` argument. It then dumps ItemDefinition data as requested by the `--items` flag, using Windows path conventions. ```Shell java.exe -jar squirrel.jar --cache %USERPROFILE%\jagexcache\oldschool\LIVE --items ``` -------------------------------- ### Using Custom Cache Path Linux Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Runs the `squirrel.jar` tool with Java, specifying a custom file system path for the OSRS cache location on a Linux system using the `--cache` argument. It then proceeds to dump ItemDefinition data as specified by the `--items` flag. ```Shell java -jar squirrel.jar --cache ~/jagexcache/oldschool/LIVE --items ``` -------------------------------- ### Verifying squirrel.jar Checksums (Checksum) Source: https://github.com/osrsbox/squirrel/blob/master/CHANGELOG.md These snippets provide checksums (likely MD5 or SHA1 based on length) for the `squirrel.jar` file for specific release versions. Users can calculate the checksum of their downloaded file and compare it to the listed values to verify file integrity and ensure the file hasn't been corrupted or tampered with. ```Checksum 0b455e47d8dc0ab932a6a3b9c5293617 squirrel.jar 44d9fdf30b9ecc6435d6aa70c43cf0ca23d58fc9 squirrel.jar ``` ```Checksum d993ed76e99300da9986f9212033ffa4 squirrel.jar 68a7aecfb9f6ca55d2552df8a4627a77e7e5876e squirrel.jar ``` ```Checksum f9130a95882f18f566667c10353690bb squirrel.jar 7508e720399489654c8d83b8e66336172ce92682 squirrel.jar ``` -------------------------------- ### Listing Git History Oneline Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Displays a concise, single-line summary of each commit in the current Git repository's history. This is useful for quickly browsing commit messages and hashes, particularly when trying to find specific historical cache versions in the `osrs-cache` submodule. ```Shell git log --oneline ``` -------------------------------- ### Cloning Repository with Submodule Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Clones the `osrsbox/squirrel` GitHub repository along with its `osrs-cache` submodule. The `--recursive` option is necessary to fetch the submodule content, which contains the OSRS cache data. ```Shell git clone --recursive https://github.com/osrsbox/squirrel.git ``` -------------------------------- ### Checking Tool Version Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Runs the `squirrel.jar` executable using Java with the `-v` or `--version` flag. This command prints the current version number of the `squirrel` tool to the console. ```Shell java -jar squirrel.jar -v ``` -------------------------------- ### Switching Back Git Branch/Commit Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Switches the Git repository back to the branch or commit that was previously checked out before the current one. This is a convenient way to return to the latest version of the cache submodule after exploring a historical commit. ```Shell git checkout - ``` -------------------------------- ### Dumping Item Definitions Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Executes the compiled `squirrel.jar` tool using Java to extract and dump ItemDefinition data from the OSRS cache. The `--items` flag specifies the type of data to dump, which is then saved in JSON format to a default output directory. ```Shell java -jar squirrel.jar --items ``` -------------------------------- ### Dumping Model Data Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Executes the compiled `squirrel.jar` tool using Java to extract and dump 3D Model data from the OSRS cache. The `--models` flag specifies the data type, and the output models are saved in OBJ + MTL formats to a default directory. ```Shell java -jar squirrel.jar --models ``` -------------------------------- ### Updating Squirrel Repository Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Updates the main `osrsbox/squirrel` Git repository to its latest version by pulling changes from the remote origin. This ensures you have the most recent version of the tool's source code and pre-built JAR. ```Shell git pull ``` -------------------------------- ### Checking Out Specific Git Commit Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Checks out a specific commit in the current Git repository (e.g., the `osrs-cache` submodule) using its unique hash. This command allows you to revert the files to the state they were in at that particular point in history, useful for accessing older cache versions. ```Shell git checkout e2ccb30 ``` -------------------------------- ### Updating Cache Submodule Shell Source: https://github.com/osrsbox/squirrel/blob/master/README.md Updates the `osrs-cache` Git submodule included in the repository to its latest version from the remote origin. The `--recursive` and `--remote` options ensure the update fetches and checks out the latest commit in the submodule. ```Shell git submodule update --recursive --remote ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.