Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLArenaCollisionDumper

Standalone Windows program to dump all of Rocket League's arena collision meshes

Usage

  • Download the prebuilt executable from the latest release (or build it yourself)
  • Start Rocket League, go into free play, then run the RLArenaCollisionDumper executable
  • All arena collision geometry will be written to ./collision-meshes/

Custom Map Usage

  • To make the dumper work on a custom map, add -custommap to the command line. Note that non-triangle meshes and objects will not be dumped, which some maps rely on.

How it works

  • Locates Rocket League's running process
  • Uses instruction pattern-scanning to find a function that has a necessary BulletPhysics world pointer as an argument
  • Allocates 8 bytes of memory inside Rocket League
  • Patches machine code into that BulletPhysics function to mov [that memory we allocated], RCX (RCX being the BulletPhysics world pointer argument)
  • Once the function is called, it grabs the BulletPhysics world pointer from the allocated memory
  • Follows the memory structures of the BulletPhysics library to find the geometry data (triangle index sets and vertices)
  • Saves all of that data to multiple files (one for each mesh)

Future update compatibility

The use of pattern scanning to locate the required function should mean this program won't need to change for future Rocket League updates unless something really drastic happens (i.e. move to UE5)

Requirements

  • Rocket League running on Windows

About

Standalone Windows program to dump all of Rocket League's arena collision meshes

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages