Skip to content

Commit

Permalink
v2-cpp scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuOfficial committed May 25, 2024
1 parent cba404f commit 3031994
Show file tree
Hide file tree
Showing 116 changed files with 99 additions and 10,233 deletions.
10 changes: 0 additions & 10 deletions .classpath

This file was deleted.

33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/gradle.yml

This file was deleted.

22 changes: 2 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build

# Eclipse project files
.classpath
.project
.settings

# VS Code project files
.vscode

# Outputs
bin
build

# System-specific
.DS_Store
.cache/
build/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "externals/googletest"]
path = externals/googletest
url = https://github.com/google/googletest.git
23 changes: 0 additions & 23 deletions .project

This file was deleted.

Empty file added CHANGELOG.md
Empty file.
13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.8)

project(BetacraftLauncher LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

enable_testing()


add_subdirectory(externals/googletest)

add_subdirectory(src)
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -672,3 +672,4 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

84 changes: 27 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,29 @@
# Betacraft Launcher

Betacraft launcher aims to provide easy access to old Minecraft versions and improve the overall game experience.

## FEATURES:
- Supports versions from Pre-Classic to 1.5.2:
- skins & sound in versions that can handle them
- starting Indev and early Infdev versions
- mouse fix for Classic, Indev-Infdev versions on macOS
- a1.1.1 gray screen fix
- AMD clouds fix
- fix for crash on `Mojang` screen before r1.3
- multiplayer online-mode handling for pre-b1.8 versions
- joining custom servers with the c0.0.15a version
- resize game easily in versions that don't support resizing
- can play every currently available legacy Minecraft version
- Microsoft sign in
- Mod repository, featuring great community mods
- Server list:
- servers with live playercount and description
- join servers by clicking on them
- automatically downloads the mod a server uses if it's in mod repository
- Addons:
- OfflineDATSave - allows for saving Classic levels on your disk (currently the only way to save in Classic)
- Fullscreen - enables fullscreen mode for versions that don't officially have support for it
- Demo - triggers demo mode for versions 12w16a and later
- UnlicensedCopy - triggers `Unlicensed Copy :(` label for versions b1.6-tb3 to b1.7.3
- QuitGame - shows the `Quit Game` button in versions b1.0 to 1.5.2
- GameModeSwitch - switches to the opposite gamemode in versions c0.28_01 to inf-20100630-1835
- ClassicNotPaid - displays `Premium only!` message when trying to save in any revision of c0.30
- Discord RPC
- Configurable:
- JVM arguments
- path to Java
- instance directory
- instance icon
- starting resolution
- Console output
- BetaEvolutions support
- Supports many languages

## Supported platforms (v1):
- Windows 7+ (32/64 bit)
- any up-to-date Linux distro (64 bit)
- macOS 10.8+
### Note:
- We target Java 7 (because Gson targets Java 7)
- Silicon Macs have inverted blue/red colors, for now you can only bypass this by going fullscreen on v1 (if you get Betacraft v2, the issue is fixed there)
- Earlier versions of Windows (like XP) may work, so long as the Java they run on can handle TLSv1.2 for official Microsoft/Mojang links. There's no guarantee the launcher is going to fully work on non-compliant Java. Earliest Java updates to support TLSv1.2 are **8u181** and **7u191**

## Reporting bugs or requesting features
Report bugs in [issues](https://github.com/betacraftuk/betacraft-launcher/issues).

## Contact:
- Website: https://betacraft.uk
- Mastodon: https://mastodon.social/@betacraft
- Telegram: https://t.me/betacraftukgroup
- Twitter: https://twitter.com/betacraftuk
- Discord: https://discord.gg/d4WvXeQ
[Website](https://betacraft.uk/) | [Discord](https://discord.gg/d4WvXeQ)

Betacraft aims to provide easy access to old Minecraft versions and improve the overall game experience.

## System Requirements

* OS
* Windows (10 build 1809 or higher).
* Linux.
* macOS (11 or higher).

## Building

Betacraft requires [CMake](https://cmake.org/). Many libraries are bundled with Betacraft and used if they're not installed on your system. CMake will inform you if a bundled library is used or if you need to install any missing packages yourself.

1. `mkdir build`
2. `cd build`
3. `cmake ..`
4. `make`

## Translations

1. Create a new file YOURLANGUAGE.json in the `lang` folder.
2. Copy contents of English.json to the newly created file and translate the content
3. Add the path to your translation to `src/ui/assets.qrc`
4. Make a pull request

77 changes: 0 additions & 77 deletions build.gradle

This file was deleted.

1 change: 1 addition & 0 deletions externals/googletest
Submodule googletest added at 154609
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading

0 comments on commit 3031994

Please sign in to comment.