About this mod
Generates a text file with a sorted list of your inventory so you can see at a glance which types of gems have plenty of duplicates and are safe to sell or craft
- Requirements
- Permissions and credits
- Changelogs
It is not an inventory editor. It does not modify your save game, nor would manually changing the contents of the generated text file do anything to your game.
Installation / Usage
- You must have a Java Runtime Environment (version 1.8 or later) installed to use this utility. If you do not have one installed, or are unsure of its version, download and install the most recent JRE for your platform from the official website.
- Locate your Shadow Warrior 2 save file. It will be named save_auto.bin The typical file path for it in Windows is C:\Users\User_Name\Saved Games\Flying Wild Hog\Shadow Warrior 2\profiles\id_number\1\save_auto.bin
- Make a backup of save_auto.bin (just in case).
- Place SW2InvSortUtility.jar in the same folder as your save file. Alternatively, copy your save file to the same folder as SW2InvSortUtility.jar Either way, do not rename save_auto.bin
- Double click SW2InvSortUtility.jar to generate a text file named SortedInventory.txt. The utility needs read and write access to the folder it is located in, so it might be necessary to run the program as an administrator. Once generated, open SortedInventory.txt in any text editor and peruse at your leisure.
- You will need to re-run the utility to update SortedInventory.txt whenever your inventory changes in-game.
More Info
Current version: 1.0 (February 27, 2018)
I recommend using a monospaced font (eg: consolas) in your text editor to ensure the text is nicely aligned. Using an editor that can highlight all occurrences of a word can also be helpful.
Most gems are sorted as follows:
gem category > combination of positive modifiers > level > rarity
Level is prioritized over rarity because rarity just limits the number of modifiers a gem can spawn with, while the strength of those modifiers is determined by the gem's level
Since there are two weapons that can only equip white or blue weapon gems and elemental gems, these gems are sorted as follows:
gem category > rarity (orange = yellow > blue > white) > combination of positive modifiers > level
This separates blues and whites into their own special categories, while orange and yellow remain sorted normally
Negative modifiers are ignored for simplicity, plus you can always remove negative modifiers by purification
Gems flagged as junk in-game are still included in SortedInventory.txt
Known Issues
Elemental gems are categorized under "weapon" instead of "elemental"
Amulets' category is printed as "category_not_set"
AlternativeFire, AmmoUpgrade, FireMode and ClipSize modifiers print "value_not_set"
Advice
Don't touch crafting until you unlock New Game+ on your character. You can switch difficulties freely in the middle of a playthrough, so always craft on the hardest difficulty of Insanity to craft the best quality gems. Put your "but isn't that cheating?" chivalry aside; you don't want to make the grind any longer than it has to be.
Since you're only going to be crafting on your second (or later) playthrough, you will already have a halfway decent life drain armor gem and have maxed out some of the most game-changing skills like mana regeneration and resistance to elemental effects. You... maxed them out right? Well get on that ASAP silly! Anyway, a lot of gem modifiers become useless, so you can safely filter and sell/craft gems with modifiers like HP after kill, chi after kill, chi drain, (self) resistance to elemental effects, vanish chi cost, healing wave chi cost, shockwave chi cost...
+critical chance, +critical bonus gems usually have the best DPS (by far), but sometimes multishot and reload speed is better on weapons with multiple barrels.
Making all your weapons elemental is useful to avoid "Physical Immune" enemies. If you max out the "conversion to elemental" skill line, you only need one elemental gem above level 150 with +damage as element and +conversion to element for that weapon to have 100% elemental damage. Then the other three gem slots can then be used for crit chance and crit bonus.
For armor gems, the meta is +damage resist, +crit chance, +crit bonus, and +life drain. Without extra damage resistance on the harder tiers of Insanity, you'll be one-hit-killed by Elites. +health is not desirable because it reduces the percent life gained per second from healing wave and life drain. How you balance the other three traits is up to personal preference.