Unknown Apex Legends Lumps #102
Replies: 4 comments 8 replies
>>> import bsp_tool, os, fnmatch
>>> sd = "E:/Mod/ApexLegends/season17/9may23"
>>> md = os.path.join(sd, "maps")
>>> dd = os.path.join(sd, "depot/r5-170/game/r2/maps")
>>> maps = {m[:-4]: bsp_tool.load_bsp(os.path.join(md, m)) for m in fnmatch.filter(os.listdir(md), "*.bsp")}
>>> maps.update({f"depot/{m[:-4]}": bsp_tool.load_bsp(os.path.join(dd, m)) for m in fnmatch.filter(os.listdir(dd), "*.bsp")})
>>> {b.bsp_version for b in maps.values()}
{(51, 1)} # since season 13
>>> {L for b in maps.values() for L, h in b.headers.items() if L.startswith("UNUSED_") and h.length != 0}
{'UNUSED_44', 'UNUSED_45', 'UNUSED_46', 'UNUSED_47', 'UNUSED_48'} |
|
According to My Apex Legends archives are a little patchy in places, so nailing down format changes could get tricky For some seasons I only grabbed the maps with
|
|
Looking at which lumps are streamed from |
|
While looking into #165 @r-ex identified multiple lump names w/ ida
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Deduced Unknowns
UNKNOWN_37(VISSpecialLumpClass?)UNKNOWN_38(CSMSpecialLumpClass?)UNKNOWN_39(VISSpecialLumpClass?)UNKNOWN_43CUBEMAPS_AMBIENT_RCPUNKNOWN_44WaterBodyUNKNOWN_45WaterCenterUNKNOWN_46WaterVertexUNKNOWN_47WaterIndexUNKNOWN_48WaveDataUNKNOWN_57UNKNOWN_97LIGHTMAP_DATA_UNKNOWNTheories / Summaries
37..39Could be CSM & VIS related
Going by other lumps loaded around them in season3's
.exe43CUBEMAPS_AMBIENT_RCPA memory page for holding a
txtx.rpakasset44..48WaterBodies system
Introduced in Season 11 w/ Storm Point for the ocean shader
57Introduced in Season 21 (first appearance of
rBSP v52.1)Cannot find
.bsp_lumpin.rpak97Could be lightmap related
All reactions