Giter VIP home page Giter VIP logo

minecraftlauncherlibrary's People

Contributors

alphabs avatar ilsubyeega avatar m1xt3nz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minecraftlauncherlibrary's Issues

라이선스 질문이요

image
이 주소에 따르면 영리 목적으로 이용된다고 하는데, 혹시 상업 목적으로도 가능한건가요? (아직 준비는 안했다만 다른 프로젝트에 사용할 생각이 있습니다)

How to run optifine 1.15.2?

I try in different ways to launch minecraft with OptiFine version 1.15.2 without the support of forge, but all this was unsuccessful.Please explain how to do this.

Minecraft with lag and crashes

Hello. My minecraft opens with the forge, all right. But you can not play. It's very slow. Issó occurs in my project, in the sample provided by you (sometimes works) in the other launchers my client works perfectly. What can it be?

THANKFUL
I love this libray.

Crash on 1.14.4

Hi,

Excelent sources!!

I trying to use to run for my pixelmon server and my 1.14.4 servers, but on try to run for 1.14.4 it crashes!

On 1.13.2 and lowers runs fine, its only with 1.14.4!

Maybe some jvm args have changed?

Forge crashes

Crash as soon as I use Forge. Console closes immediately, so there is no way to see a bug report. In Vanilla the startup process worked fine.
I took my profile from 1.12.2-forge.json.

I've been despairing here for 2 days already

private void DownloadGame(MProfile profile, bool downloadResource = true)
        {
            MDownloader downloader = new MDownloader(profile);
            btnDownload.Visible = false;
            pgbDownload.Visible = true;
            downloader.ChangeFile += change_file;
            downloader.ChangeProgress += change_progress;
            downloader.DownloadAll(downloadResource);
        }

        private string GetJavaInstallationPath()
        {
            string environmentPath = Environment.GetEnvironmentVariable("JAVA_HOME");
            if (!string.IsNullOrEmpty(environmentPath))
            {
                return environmentPath;
            }

            string javaKey = "SOFTWARE\\JavaSoft\\Java Runtime Environment\\";
            using (Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(javaKey))
            {
                string currentVersion = rk.GetValue("CurrentVersion").ToString();
                using (Microsoft.Win32.RegistryKey key = rk.OpenSubKey(currentVersion))
                {
                    return key.GetValue("JavaHome").ToString();
                }
            }
        }

        private void btnDownload_Click(object sender, EventArgs e)
        {
            var local = MProfileInfo.GetProfilesFromLocal();
            var web = MProfileInfo.GetProfilesFromWeb();

            MProfile profile = null;
            MProfile forgeProfile = null;

            foreach (var item in local)
            {
                Console.WriteLine(item.Name);
                if (item.Name == "1.12.2-forge")
                {
                    profile = MProfile.Parse(item);
                    break;
                }
            }

            if (profile.IsForge)
            {
                Console.WriteLine("Inner: " + profile.InnerJarId);
                foreach (var item in web)
                {
                    if (item.Name == profile.InnerJarId)
                    {

                        forgeProfile = MProfile.Parse(item);
                        break;
                    }
                }
                DownloadGame(forgeProfile, true);
            }

            DownloadGame(profile, !profile.IsForge);

            Console.WriteLine(profile.IsForge);
            Console.WriteLine("END");
            

            string installPath = GetJavaInstallationPath();
            string filePath = System.IO.Path.Combine(installPath, "bin\\Java.exe");

            var option = new MLaunchOption()
            {
                BaseProfile = forgeProfile,
                StartProfile = profile,
                JavaPath = filePath,
                LauncherName = "DarkAges",
                MaximumRamMb = int.Parse("4096"),
                Session = session
            };

            var launch = new MLaunch(option);
            var process = launch.GetProcess();
            process.Start();
        }

StackOverflowException MProfiles

If the folder, named 1.15.2 with files 1.15.2.jar and 1.15.2.json (it's renamed optifine 1.15.2), exists
MProfile profile = MProfile.FindProfile(infos, "1.15.2"); returns System.StackOverflowException and i can't catch it.

1.15.2 doesn't supported!

I tried to use 1.15.2 minecraft version and had nothing. Console starts and after a moment closes.

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.