Skip to main content

Increasing Item Space

ETHER SAGA ODYSSEY - STORAGE TO 252 (hex edit guide)
=====================================================================

What this does
--------------
SERVER (gs)
  Bag            192 -> 252 slots
  Stash          200 -> 252 slots
  Mystery Pouch  192 -> 252 slots
  Alliance stash 200 -> 252 slots

CLIENT (elementclient.exe)
  Bag counter shows /252 and the bag Expand button goes to 252
  Stash counter shows /252


IMPORTANT
---------
- The offsets only fit the same builds we edited (the original ESO
  gs and elementclient.exe). Before typing, check that the "was"
  bytes are really there. If they aren't, STOP: your file is a
  different build.
- Offsets are FILE offsets (what a hex editor's "Go to" uses).
- Type over the bytes (overwrite). Never insert or delete bytes; the
  file size must stay the same.
- Stop the server and back up every file first.
- Work on a copy, test on a throwaway character.

Tools: HxD (Windows) or any hex editor. "Go to" = Ctrl+G in HxD.


=====================================================================
1) gs  (server)                               12 bytes, 1 byte each
=====================================================================

Bag (192 -> 252)               C0 -> FC
   0x443D6
   0x443DF
   0xF8163
   0xF816F

Stash (200 -> 252)             C8 -> FC
   0xA54CE
   0xF8225
   0xF8231

Mystery Pouch (192 -> 252)     C0 -> FC
   0x4445D
   0x44466

Alliance stash (200 -> 252)    C8 -> FC
   0xFAEA2
   0xF8278
   0xF8284

Do ALL of them in the same file. After this, never go back to the
original gs: it trims storage above the old limits when players log
in, and items in those slots can be lost.


=====================================================================
2) elementclient.exe  (client - every player needs it)
=====================================================================

2a. Bag counter /252 and Expand button      1 byte each
   0x128057    C0 -> FC     bag counter shows /252
   0x128117    C0 -> FC     bag Expand button allows up to 252

2b. Stash counter /252        ALL THREE TOGETHER, or none of them
   0x18BD25    B4 82 A7 00  ->  C0 FE A6 00
                (points the stash label at the new text below)

   0x66FEC0    00 00 00 00 00 00 00 00 00 00 00 00 00 00   (14 zeros)
           ->  25 00 64 00 2F 00 32 00 35 00 32 00 00 00
                (this is the text "%d/252")

   0x290       B2 0E 09 00  ->  E0 0E 09 00
                (makes the .rdata section a little bigger so the
                 new text above is loaded)

   If you only do some of these three, the client can crash when
   the stash opens.

The Mystery Pouch and alliance stash need no client change.


=====================================================================
3) Getting the extra slots in game
=====================================================================
The patches raise the LIMITS. Players still unlock slots the normal
way, through the expansion items/quests. In our task files these are:

   Bag "+6 slots"        20807, 20808, 21328, 243
   Stash I-XII           263-286
   Stash XIII-XVI        22748-22751
   Alliance stash        21267-21278
   Mystery Pouch         8395, 8417-8421 (these stop at 96 slots;
                         add more steps if you want the full 252)
   Pet bag I-XIII        21279-21292 (max 32, not changed)

Your quest numbers can differ if your task files differ.

These quests give free storage and are GM/test ones - keep them away
from players:  21309, 8730, 1506, 20792, 20804, 12190


=====================================================================
4) Install
=====================================================================
SERVER
  1. Stop the server.
  2. Back up gs.
  3. Copy the edited gs over the old one.
  4. chmod 755 gs
  5. Start the server.

CLIENT
  Replace elementclient.exe in every player's client folder.


=====================================================================
5) Test checklist
=====================================================================
[ ] Bag window shows  x/252  and Expand keeps working past 192
[ ] Stash window shows  x/252  and opens without crashing
[ ] Stash and alliance stash expansions work past 200
[ ] Mystery Pouch expansions work past 192
[ ] Log out and back in: items in the new slots are still there


=====================================================================
6) Compare your files with the edited ones
=====================================================================
Windows:  fc /b original_file edited_file
Linux:    cmp -l original_file edited_file

Each line is one changed byte. Expect 12 lines for gs and
12 lines for elementclient.exe (2 for the bag, 10 for the stash
label; bytes that stay the same, like the 00s, are not listed).