Skip to content

AlexCatze/Opis

 
 

Repository files navigation

This is a fork of ProfMobius' mod Opis. Opis is an important tool for profiling the client and server using a user-friendly GUI. The main changes of this fork are:

  • Removal of the integrated MapWriter mod
  • Removal of overlays that required MapWriter
  • Integration of MobiusCore as opposed to building it as an external mod
  • Fix for client profiling data "<ERROR>" strings

Rationale

This fork was undertaken as an emergency fix for FTB Infinity, after Opis was removed in 2.1.2 for compatibility reasons. The incompatibility arises from a MapWriter bug.

Why remove MapWriter?

This is a personal choice. In a pack such as Infinity, mapping is already provided by another mod such as JourneyMap. Subjectively, MapWriter is a less useful minimap. It became an annoyance to attempt to disable it every pack (re)installation. I thought it OK as I did not find any use for overlay functionality.

Why integrate MobiusCore?

Subjectively, I found it too cumbersome in development to work with MobiusCore as a separate mod and codebase whilst attempting to update Opis. I found that MobiusCore is not depended upon by any other mods, so I thought it OK to integrate it directly.

Building

Requirements

Simple build

Estimated time on a dedicated server: 3 minutes

  1. Clone repository with --recursive argument, e.g. git clone --recursive https://github.com/Gamealition/Opis.git
  2. Execute gradle setupCIWorkspace inside the repository
  3. Execute gradle build
    • If subsequent builds cause problems, execute gradle clean
  4. Check the output directory for the built jar

IntelliJ

Estimated time on a home connection: 5-15 minutes

  1. Clone repository with --recursive argument, e.g. git clone --recursive https://github.com/Gamealition/Opis.git
  2. Open build.gradle as a project
  3. Execute the setupDecompWorkspace task
  4. Click the refresh button in the "Gradle" tab
  5. Execute the genIntellijRuns task
  6. For both the "Minecraft Client" and "Minecraft Server" run configurations, add the JVM option -Dfml.coreMods.load=mcp.mobius.mobiuscore.asm.CoreDescription

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.9%
  • Python 0.1%