Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.ata4:bspsrc:v1.4.7'
}
dependencies {
implementation("com.github.ata4:bspsrc:v1.4.7")
}
<dependency>
<groupId>com.github.ata4</groupId>
<artifactId>bspsrc</artifactId>
<version>v1.4.7</version>
</dependency>
libraryDependencies += "com.github.ata4" % "bspsrc" % "v1.4.7"
:dependencies [[com.github.ata4/bspsrc "v1.4.7"]]
BSPSource is a map decompiler for Source engine maps, written in Java. It decompiles .bsp map files back to .vmf files that can be loaded in Hammer, Valve's official level editor.
BSPSource is based on a reengineered version of VMEX 0.98g by Rof, which is no longer developed and lacks support for newer Source engine games.
bspsrc-linux.zip or bspsrc-windows.zip. Alternatively, bspsrc-jar-only.zip works on any system that has Java 24+ installed and properly configured.bspsrc.bat/bspinfo.bat on Windows, or bspsrc.sh/bspinfo.sh on Linux.Extract embedded files in the decompiler and then move the contents of the extracted material/model folders into your games material/model folder.