Skip to content

Aerocatia/deathstar

Repository files navigation

Deathstar

Halo PC Map Deprotection Library

Deathstar is a deprotection library for deprotecting Halo PC/Mac and Halo Custom Edition maps. It is made to function as both a program for anyone's use and also as a library for projects using the portable C language. While it has functions for opening maps on its own via a path, you can use the openMapFromBuffer function.

Map Opening

To open a map, you can use a file path or a buffer.

MapData exampleMapBuffer = openMapFromBuffer((void *)buffer);
MapData exampleMapPath = openMapAtPath((char *)path);

Map Deprotection

There are two methods used for deprotecting maps, which can be used together if needed. ZTeam Deprotection deobfuscates tag classes, and name deprotection deobfuscates tag names. Tag names cannot be recovered, if they were obfuscated.

MapData exampleMap = openMapFromBuffer((void *)buffer);
MapData deprotectedVersion = zteam_deprotect(exampleMap);
free(exampleMap.buffer);  //The methods allocated a new buffer. Depending on what you are
                          //trying to do, you may want to free the original buffer.

About

Map deprotector for Halo PC/Halo Custom Edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published