Giter Club home page Giter Club logo

agenta's Introduction

Agenta

A authserver and skin fix for legacy versions of minecraft.

Compatibility

Requires Java 7. (In theory this can be built for Java 5, but I lack the build tools required for that.) If running this on Java 12 and newer, please add the following JVM argument: --add-exports java.base/sun.net.www.protocol.http=ALL-UNNAMED

  1. As a mod: The same Jar will run on forge, bukkit and Risugami's modloader for Minecaft versions Alpha 1.0.4 to Minecraft release 1.7.10 (These are merely the versions I tested)
  2. As a JavaAgent: Add the following JVM argument: -javaagent:{path}/agent.jar (replace path with the location of the agent.jar)
  3. Inline/static: In this setup, Agenta is essentially taking over the role of Launching minecraft. Add the following JVM argument and change out {mainClass} as needed depending on which minecraft version you are launching: -Dagenta.main.class={mainClass}
  4. As a Bukkit plugin (Tested with bukkit for Minecraft Beta 1.2_01)

JVM/Congig settings

Non of these are needed to launch Agenta. The available contexts are
"*" => ALL
"static" => When Agenta is launched as the main class with the expectation of chainloading another class manually.
"config" => Only appears in the config file.

ContextpropertyArgumentdescription
*agenta.assets.fml-Dagenta.assets.fml={value}A link to an archive Agenta should forward legacy forge download requests to
*agenta.assets.index-Dagenta.assets.index={value}The URL for the asset index Agenta should use as a base
*agenta.assets.routing-Dagenta.assets.routing=trueShould agenta reroute requests the mojang's asset servers? (default: "true")
*agenta.assets.url-Dagenta.assets.url={value}The URL for the resource server Agenta should pull assets from
configagenta.config.versionThe version of agenta that generated a set config file. Will be used to detect if agenta should upgrade a set config file
*agenta.prt.color-Dagenta.prt.color=falsePass the value 'false' to disable colour printing.
*agenta.prt.debug-Dagenta.prt.debug=falseShould agenta show debug messages?
*agenta.save.file-Dagenta.save.file=saves.jsonWhen handling saving for certain versions of old Minecraft that relied on long dead mojang endpoints, what should agenta call the save file? (default: "saves.json")
*agenta.skin.resize-Dagenta.skin.resize=trueShould agenta try to resize skins from 64x64 to 64x32 for better compatibility? (default: "true")
staticagenta.main.class-Dagenta.main.class={value}The class Agenta should try to load next when running in static/inline mode

Fixes

  • Skin support for pre 1.7.10 versions
  • Cape support for pre 1.7.10 versions
  • Sound for versions of the game that predate 1.6
  • World savings for certain pre-alpha builds (experimental)
  • Forge 1.5.2 being unable to fetch it's library files (experimental)

Note

The same jar will work for almost every version of minecraft that predates Release 1.8

agenta's People

Contributors

hanro50 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

minepolz320

agenta's Issues

Sound problems with Reforged (b1.7.3): "Access is denied"

When attempting to proxy then add sounds with Reforged installed (instead of Regular Forge 1.0.6), I get this error:

[Agenta:log] Proxying resource [newsound/mob/creeper1.ogg]
java.io.FileNotFoundException: D:\Users\thril\PrismLauncher\instances\Modded Beta 1.7.3.minecraft\resources\newsound\mob\creeper1.ogg (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at cz.a(SourceFile:105)
at cz.a(SourceFile:93)
at cz.run(SourceFile:42)

If there was a way to add a config to disable the sound proxy or to have this issue fixed that would be great.

Semitransparent Skins

Hey there!! Thanks a ton for this mod, it's been super helpful to me!! I just wanted to throw this out there if it'd be possible to add support for semi-transparent pixels on skins? I don't know how much modification that would require to the existing codebase, but hey, the answer is always no if you don't ask!!! Again thanks for all this hard work, it works wonderfully for me!! <3 :)

Looks like it's not working

I just installed it in the "Mods" folder. The mod loads but does nothing and my skin does not change. Do I need to configure it somehow? I tested it in a new instance on version 1.5.2.
Here is the log file with the "agenta.prt.debug=true" parameter enabled. If this helps in any way.
https://mclo.gs/y2d1WDn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.