Oblivion:Loot Bag

From PRCLive 100% Speedrun Wiki
Revision as of 03:05, 13 January 2022 by MeemawHustlin (talk | contribs)
Jump to navigation Jump to search

Loot bags are items that spawn in a room when too many items have been dropped, resulting in the items in the room being transferred to the bag to reduce lag.

Uses

It was theorized that loot bags could be exploited to transfer quest items into an accessible container for the player to acquire. This would work on several items such as the Armor of Tiber Septim, or other lose items. Theoretically this would be faster than navigating through a dungeon to find these items, and in some cases could potentially cause sequence breaks due to acquiring items that are inaccessible otherwise.

Mechanics

Although the console versions are fairly easily able to spawn loot bags, the PC version appears to be near impossible. Analysis of the game's code has shown the following snippet:

GlobalMemoryStatus((LPMEMORYSTATUS)&local_20);
if (local_20.dwAvailPhys < 0x4000) {
    FUN_00401020("MemoryHeap::MemoryProblem");
if (DAT_00b02184 != (code *)0x0) {
    (*DAT_00b02184)(0,0x4000,DAT_00b32b04); // This indirect function pointer does some magic.
}
    FUN_00401040();
}

What this snippet is showing evidence of is that the loot bags on the PC version will only spawn if there is less than 4kb of physical memory available. This would be very difficult to achieve on modern hardware, effectively making it impossible to spawn loot bags on PC.