Skip to content

Commit

Permalink
Document some logging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
makamys authored Mar 18, 2024
1 parent a517e0f commit f05f2e1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/launcher-differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This page is written from a 1.7 Forge mod developer's perspective.

If a launcher has a (?) mark, that means I have not tested it firsthand and the information about it was derived from other users.

Tip: [NotEnoughVerbosity](https://github.com/LegacyModdingMC/NotEnoughVerbosity) can be used to force any launcher to use the standard logging configuration, with a trace-level `fml-client-latest.log`.
Tip: [NotEnoughVerbosity](https://github.com/LegacyModdingMC/NotEnoughVerbosity) can be used to force some launchers to use the standard logging configuration, with a trace-level `fml-client-latest.log`.

> This page is a work in progress.
Expand Down Expand Up @@ -34,6 +34,10 @@ Logging: Uses a custom log configuration ([example from a 1.7 Forge instance](ht

Java runtime: Downloads 8u51 by default. A custom install can be provided.

## Technic Launcher

Uses [LaunchWrapper's logger config](https://github.com/Mojang/LegacyLauncher/blob/a4801b70f8a0148c6e6279ec2e91527e8019e1c8/src/main/resources/log4j2.xml) (which is based on vanilla 1.7.2's) due to incorrect classpath ordering.

## CurseForge Launcher

(?)
Expand All @@ -42,6 +46,8 @@ Java runtime: Downloads 8u51. A different version can be forced if a mystery CF-

## Official Launcher (1.x)

Uses [the vanilla launcher config](https://launchermeta.mojang.com/mc/log_configs/client-1.7.xml/6605d632a2399010c0085d3e4da58974d62ccdfe/client-1.7.xml) even in modded instances.

Deletes extra items from the assets directory (`$launcherDir/assets`).

`$launcherDir/launcher_profiles.json` holds the verson of the launcher in `.launcher_version.name` (e.g. `1.6.61`.)
Expand All @@ -56,6 +62,6 @@ Deletes extra items from the assets directory.

(?)

Logging: Uses [a custom log configuration](https://github.com/huanghongxun/HMCL/blob/c6afd53e73c5a2dc75afc7a1ab279c0b3918da82/HMCLCore/src/main/resources/assets/game/log4j2-1.7.xml).
Logging: Uses [a custom log configuration](https://github.com/huanghongxun/HMCL/blob/c6afd53e73c5a2dc75afc7a1ab279c0b3918da82/HMCLCore/src/main/resources/assets/game/log4j2-1.7.xml) based on Vanilla's.

Can export crashes into a `minecraft-exported-crash-info-<TIMESTAMP>.zip` containing logs ([example](https://github.com/LegacyModdingMC/UniMixins/files/11413614/minecraft-exported-crash-info-2023-05-07T08-14-13.zip)).

0 comments on commit f05f2e1

Please sign in to comment.