Skip to content

Commit

Permalink
Black Ops 3 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobalula committed Sep 1, 2021
1 parent bcb2827 commit 76bdd3f
Show file tree
Hide file tree
Showing 12 changed files with 689 additions and 13 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ Husky is a BSP Extractor for Call of Duty. It can rip the raw vertex/face data t
* Call of Duty: World at War
* Call of Duty: Black Ops
* Call of Duty: Black Ops 2
* Call of Duty: Black Ops 3
* Call of Duty: Advanced Warfare
* Call of DUty: World War 2
* Call of Duty: Modern Warfare Remastered

**Call of Duty: Black Ops 3 will never be supported, to avoid people ripping custom maps, etc.**

### Downloading/Using Husky

To download Husky, go to the [Releases](https://github.com/Scobalula/Husky/releases) and download the latest build.
Expand Down
6 changes: 3 additions & 3 deletions src/Husky/Husky/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
</configuration>
21 changes: 21 additions & 0 deletions src/Husky/Husky/GameStructures/Shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,25 @@ public unsafe struct MaterialImage64A
/// </summary>
public long ImagePointer { get; set; }
}

/// <summary>
/// Bo3 Material Image Struct
/// </summary>
public unsafe struct MaterialImage64B
{
/// <summary>
/// A pointer to the image asset
/// </summary>
public long ImagePointer { get; set; }

/// <summary>
/// Semantic Hash (i.e. colorMap, colorMap00, etc.) Varies from MTL type, base ones like colorMap are always the same
/// </summary>
public uint SemanticHash { get; set; }

/// <summary>
/// End Bytes (Usage, etc.)
/// </summary>
public fixed byte Padding[0x14];
}
}
Loading

0 comments on commit 76bdd3f

Please sign in to comment.