PrismLauncher/libraries
LocalSpook 5be80df1ee Replace typedef with using
Signed-off-by: LocalSpook <56512186+LocalSpook@users.noreply.github.com>
2023-10-24 01:36:27 -07:00
..
cmark@5ba25ff40e Fix cmark again 🤦 2023-02-19 11:37:59 +00:00
extra-cmake-modules@bbcbaff782 Libraries: Add ECM 2022-11-04 18:11:36 +00:00
filesystem@8a2edd6d92 chore: bump ghc-filesystem 2023-03-05 14:21:07 +01:00
gamemode chore: reformat 2023-08-02 18:35:35 +02:00
javacheck chore: reformat 2023-08-02 18:35:35 +02:00
katabasis chore: reformat 2023-08-02 18:35:35 +02:00
launcher feat: add launcher brand and version props 2023-10-22 21:19:44 +02:00
libnbtplusplus@a5e8fd52b8 Update libnbtplusplus submodule 2023-07-22 14:26:49 -04:00
LocalPeer chore: reformat 2023-08-23 13:46:23 +02:00
murmur2 chore: reformat 2023-08-02 18:35:35 +02:00
qdcss license stuff 2023-02-24 15:01:59 -05:00
quazip@6117161af0 libs: update bundled submodules 2022-04-16 10:23:15 -03:00
rainbow chore: reformat 2023-08-02 18:35:35 +02:00
systeminfo chore: reformat 2023-08-02 18:35:35 +02:00
tomlplusplus@7eb2ffcc09 Update tomlplusplus library 2023-03-12 18:33:48 -04:00
zlib@04f42ceca4 Libraries: Add zlib 2022-11-03 21:35:28 +00:00
.clang-tidy Replace typedef with using 2023-10-24 01:36:27 -07:00
README.md chore(docs): correct markdownlint warnings 2023-07-26 14:49:09 -04:00

Third-party libraries

This folder has third-party or otherwise external libraries needed for other parts to work.

filesystem

Gulrak's implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.

See github repo.

MIT licensed.

gamemode

A performance optimization daemon.

See github repo.

BSD-3-Clause licensed

cmark

The C reference implementation of CommonMark, a standardized Markdown spec.

See github_repo.

BSD2 licensed.

javacheck

Simple Java tool that prints the JVM details - version and platform bitness.

Do what you want with it. It is so trivial that noone cares.

Katabasis

Oauth2 library customized for Microsoft authentication.

This is a fork of the O2 library.

MIT licensed.

launcher

Java launcher part for Minecraft.

It does the following:

  • Waits for a launch script on stdin.
  • Consumes the launch script you feed it.
  • Proceeds with launch when it gets the launcher command.

If "abort" is sent, the process will exit.

This means the process is essentially idle until the final command is sent. You can, for example, attach a profiler before you send it.

The standard and legacy launchers are available.

  • standard can handle launching any Minecraft version, at the cost of some extra features legacy enables (custom window icon and title).
  • legacy is intended for use with Minecraft versions < 1.6 and is deprecated.

Example (some parts have been censored):

mod legacyjavafixer-1.0
mainClass net.minecraft.launchwrapper.Launch
param --username
param CENSORED
param --version
param Prism Launcher
param --gameDir
param /home/peterix/minecraft/FTB/17ForgeTest/minecraft
param --assetsDir
param /home/peterix/minecraft/mmc5/assets
param --assetIndex
param 1.7.10
param --uuid
param CENSORED
param --accessToken
param CENSORED
param --userProperties
param {}
param --userType
param mojang
param --tweakClass
param cpw.mods.fml.common.launcher.FMLTweaker
windowTitle Prism Launcher: 172ForgeTest
windowParams 854x480
userName CENSORED
sessionId token:CENSORED:CENSORED
launcher standard

Available under GPL-3.0-only (with classpath exception), sublicensed from its original Apache-2.0 codebase

libnbtplusplus

libnbt++ is a free C++ library for Minecraft's file format Named Binary Tag (NBT). It can read and write compressed and uncompressed NBT files and provides a code interface for working with NBT data.

See github repo.

Available either under LGPL version 3 or later.

LocalPeer

Library for making only one instance of the application run at all times.

BSD licensed, derived from QtSingleApplication.

Changes are made to make the code more generic and useful in less usual conditions.

murmur2

Canonical implementation of the murmur2 hash, taken from SMHasher.

Public domain (the author disclaimed the copyright).

quazip

A zip manipulation library.

LGPL 2.1 with linking exception.

rainbow

Color functions extracted from KGuiAddons. Used for adaptive text coloring.

Available either under LGPL version 2.1 or later.

systeminfo

A Prism Launcher-specific library for probing system information.

Apache 2.0

tomlplusplus

A TOML language parser. Used by Forge 1.14+ to store mod metadata.

See github repo.

Licenced under the MIT licence.

qdcss

A quick and dirty css parser, used by NilLoader to store mod metadata.

Translated (and heavily trimmed down) from the original Java code from NilLoader

Licensed under LGPL version 3.