-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
NonAggression | ||
------------- | ||
|
||
For people who think Skyrim is too scary; a SkyProc patcher which makes all NPCs cowardly and unaggressive. | ||
|
||
This patch works, but is barely tested. | ||
|
||
## Prerequisites | ||
|
||
Clone [my fork](/kellen/skyproc-library/) of [DienesToo's skyproc](https://bitbucket.org/DienesToo/skyproc-library) and install the dependencies for skyproc into your local maven and then build and install skyproc into your local maven. | ||
|
||
## Build the distributable zip file | ||
|
||
``` | ||
mvn clean package | ||
``` | ||
|
||
The `target/NonAggression.zip` file can be installed with Nexus Mod Manager (NMM) and run via SkyProc Unified Manager (SUM). | ||
|
||
## Debugging | ||
|
||
The SkyProc Unified Manager (SUM) starts a new process in which NonAggression.jar is run, so if you want to debug SUM + NonAggression, you'll need to edit the skyproc source and add debugging options to the command line produced in `SUMprogram#runJarPatcher()`, for example `-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>net.cretin.skyrim</groupId> | ||
<artifactId>nonaggression</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.3</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>jar</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
<configuration> | ||
<finalName>NonAggression</finalName> | ||
<descriptorRefs> | ||
<descriptorRef>jar-with-dependencies</descriptorRef> | ||
</descriptorRefs> | ||
<appendAssemblyId>false</appendAssemblyId> | ||
<archive> | ||
<manifest> | ||
<mainClass>net.cretin.skyrim.nonaggression.NonAggression</mainClass> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>zip</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
<configuration> | ||
<finalName>NonAggression</finalName> | ||
<descriptor>src/assembly/zip.xml</descriptor> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<!-- skyproc --> | ||
<dependency> | ||
<groupId>skyproc</groupId> | ||
<artifactId>skyproc</artifactId> | ||
<version>2.2.0.7-SNAPSHOT</version> | ||
</dependency> | ||
|
||
<!-- normal --> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-lang3</artifactId> | ||
<version>3.4</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |