shokara's own minecraft launcher
This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Shokara Kou b731538f63 add UNMAINTAINED notice as well as commit last changes 2021-07-22 17:45:29 -04:00
cJSON@324a6ac9a9 use cJSON instead of jsmn for parsing JSON 2021-06-20 17:37:16 -04:00
.gitignore print available minecraft versions 2021-06-20 17:40:35 -04:00
.gitmodules use cJSON instead of jsmn for parsing JSON 2021-06-20 17:37:16 -04:00
LICENSE add README and LICENSE 2021-06-19 16:23:19 -04:00
Makefile print available minecraft versions 2021-06-20 17:40:35 -04:00
README add UNMAINTAINED notice as well as commit last changes 2021-07-22 17:45:29 -04:00
cJSON.c print available minecraft versions 2021-06-20 17:40:35 -04:00
cJSON.h print available minecraft versions 2021-06-20 17:40:35 -04:00
config.mk print available minecraft versions 2021-06-20 17:40:35 -04:00
fetch.c print available minecraft versions 2021-06-20 17:40:35 -04:00
fetch.h print available minecraft versions 2021-06-20 17:40:35 -04:00
somc.c add UNMAINTAINED notice as well as commit last changes 2021-07-22 17:45:29 -04:00
somc.h print available minecraft versions 2021-06-20 17:40:35 -04:00
versions.c add UNMAINTAINED notice as well as commit last changes 2021-07-22 17:45:29 -04:00
versions.h convert json to csv for local use and add usage message 2021-06-21 14:54:06 -04:00

README

somc - shokara's own minecraft launcher
=======================================
A simple Minecraft launcher, written in ANSI C.

UNMAINTAINED: I pretty much stopped playing Minecraft so I don't really
have a reason to work on this, considering I could just use a simpler Golang
launcher (https://github.com/YAWAL/minimal-minecraft-launcher)

OSes somc is tested on:
- OpenBSD 6.9
  - pledge(2) is run (TODO)
  - games/lwjgl is used instead of the lwjgl jar files from Minecraft

Minecraft versions tested:
- beta 1.7.3

Usage
-----
somc list-versions
somc instance-create name version-id

Dependencies
------------
- a C89 compiler
- curl
- cJSON (available as a git submodule if it's not in your ports/packages)
- git

For running Minecraft:
- java
- games/lwjgl (only on OpenBSD, maybe other *BSD as well)

Compiling/Installing
--------------------
git clone https://gt.kalli.st/shokara/somc
cd somc
git submodule update --init # if cJSON isn't installed
# edit config.mk if necessary
make
make install

NAQ (not asked questions)
-------------------------
Q. Why does Minecraft release 1.12 (or above) not run?
A. I can't check if those releases work or run as java complains that OpenBSD
   is an unsupported operating system. If you're not on OpenBSD and these
   versions don't work, I suggest emailing me a patch via git-send-email(1) if
   you do get them working.

Q. Are legacy jar mods supported?
A. Not yet, but they are planned.

Q. Are Forge and/or Fabric supported?
A. I don't have any plans to do so. Email me a patch if you do get that working.

Q. Are Micro$oft logins supported?
A. No. I won't accept any patches regarding so either.