dedepete / freelauncher Goto Github PK
View Code? Open in Web Editor NEWOpen source C# Minecraft launcher.
License: MIT License
Open source C# Minecraft launcher.
License: MIT License
My windows profilename consists of two words. And I got this error message while starting minecraft. Username is Michael Zorn, and got this error message:
[O]
[E] Error: Could not find or load main class Zorn\AppData\Roaming.minecraft\natives
[E]
Due to request number limit.
Since snapshot 17w43b, minecraft has changed arguments list, which crash launcher.
When assets checking:
System.NotSupportedException:
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at FreeLauncher.Forms.LauncherForm.<>c__DisplayClass27_0.<LaunchButton_Click>b__5(Object , RunWorkerCompletedEventArgs )
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
e.g. it selects 1.8.9 instead of 1.9
Including libraries and resources.
Fill up main pages.
Assets index, date of last update and release date.
Sent from my P2 using FastHub
The error code:
Message Value cannot be null.
Parameter name: instance 0
And Visual Studio didnt point where the error occured.
Tried to remove every element in design file one by one didnt fix it.
Tried to remove all of it yet it didnt fix it.
I also installed Telerik Winforms UI yet it didnt work.
I unloaded/loaded references again didnt work.
Было бы неплохо иметь помимо oflline и online(лицензионного) аккаунта иметь возможность использовать аккаунт ely.by.
Документация: http://docs.ely.by/minecraft-auth.html
Низкоприоритетно.
Due to growing code lines in dotMCLauncher.Core
, the project started looking messy.
As a right solution for this Issue I see splitting the project into several ones.
dotMCLauncher.Core
;dotMCLauncher
-- contains common things from other projects.dotMCLauncher.Profiling
-- contains everything related to the profiles management;dotMCLauncher.Versioning
-- contains everything related to the versions management;dotMCLauncher.Resourcing
-- will contain everything related to the resources management;dotMCLauncher.Yggdrasil
into dotMCLauncher.Networking
to be more related to the ecosystem being created (unless there are any objections).[E] Error: A fatal exception has occurred. Program will exit.
[E] Unrecognized option: --username
[E]
[0]
============
//Oops, seems like the game has been exited with unusual error code!
//Printing debug information right now!
System info:
Operating system:
OSFullName: Майкрософт Windows 10 Домашняя
Build: 9200
Is64BitOperatingSystem: False
Java path: 'C:\Program Files\Java\jre1.8.0_121' (32-bit)
Process info:
Minecraft version/type:1.12/release
Executable file: 'C:\Program Files\Java\jre1.8.0_121\bin\java.exe'
Arguments: '-Djava.library.path=C:\Users\Дмитрий\AppData\Roaming\.minecraft\natives\ -cp net.minecraft.client.main.Main --username FlashHD --version FreeLauncher --gameDir C:\Users\Дмитрий\AppData\Roaming\.minecraft\ --assetsDir C:\Users\Дмитрий\AppData\Roaming\.minecraft\assets\ --assetIndex 1.12 --uuid sample_token --accessToken sample_token --userType offline --versionType release'
Exit code: 1
//Finished printing debug information
============
скачивал с https://ci.appveyor.com/project/dedepete/freelauncher/build/37-master
Было бы полезно иметь возможность перемещать профили лаунчера местами.
Сейчас приходится перемещать их вручную, блокнотом в launcher_profiles.json. Но проблема в том, что установщики Forge и LiteLoader перелопачивают этот файл и меняют мною выставленный порядок на, скорее всего, алфавитный A-Z А-Я. После этого, приходится снова ставить их более удобном порядке самому.
Низкоприоритетно.
FreeLaucher.exe eats one cpu to 100% after game started.
Win 7
0.1.8_master.a0c3d4b7
Имеется версия майнкрафта с Liteloader зависящая от версии майнкрафта с Forge, которая, в свою, очередь зависит от оригинальной версии майнкрафта (номер не важен, но в данном случае 1.12)
Зависимости:
ForgeLiteloader.json -> Forge.json -> Vanilla.json
Лаунчер не смог запустить такое с двойной зависимостью.. (Возможно причина другая)
Как воспроизвести?
Установить Forge через установщик, и поверх него установить LiteLoader через установщик.
???
Profit!
Опять TLauncher:
Учитывая то, что он из зависимых версий делает независимые, он, смог запустить эту связочку.
Но именно эта особенность мне и не нравится. Это сведение на нет преимуществ системы зависимостей.
Несколько полностью одинаковых jar'ов в подпапках папки versions и засовывание туда же рядом папки natives, вместо использования .minecraft/natives... не очень.
P,S, А после того, как TLauncher перебрал .json, то FreeLauncher уже может запустить; но, что интересно, LiteLoader не загружается, хотя в консоли лаунчера он указан в аргументах..
.cs
files/Translations/${LanguageTag}/lang.json
. New structure: /Localizations/strings.${LanguageTag}.json
[ERROR] Error: Could not create the Java Virtual Machine.
Process exited with error code 1(There could be problems). Session since 18:21:05(0 min. total)
Исключение: Возникло исключение "System.NullReferenceException" в dotMCLauncher.Core.dll ("Ссылка на объект не указывает на экземпляр объекта."). Возникло исключение "System.NullReferenceException" в dotMCLauncher.Core.dll ("Ссылка на объект не указывает на экземпляр объекта.")
Про закрытие лога во время игры: ещё в Luncher'е лог подвисал игру. Судя по #18 этого уже не должно быть. Но всё таки хотелка есть закрывать лог))
Но это ладно. Бывает зафлуженный/заспамленный лог или просто там много записей и ждать пока >10000 строк выведется.. не очень.
Игра уже закрылась, но лог всё ещё идёт от момента когда она только открывалась
https://yadi.sk/i/MnUjOFS93KJeEW
Should fix Rift.
Good afternoon,
Sorry to ask, but, is dotMCLauncher a library??? If yes, where can we get it??? I'm writing a launcher for a server.
"assetIndex": {
"id": "1.13.1",
"sha1": "1e710e31f3ce2fe262373b8cf5e054ee5955d904",
"size": 217446,
"url": "https://launchermeta.mojang.com/mc/assets/1.13.1/1e710e31f3ce2fe262373b8cf5e054ee5955d904/1.13.1.json",
"totalSize": 185711059
}
[E] Error: Could not create the Java Virtual Machine.
[E] Error: A fatal exception has occurred. Program will exit.
[E] Unrecognized option: --username
============
Process info:
Minecraft version/type:1.11/release
Executable file: "F:\Program Files\Java\jre1.8.0_131\bin\java.exe"
Arguments: "-Djava.library.path=F:\Users\Xottab_DUTY\AppData\Roaming\.minecraft\natives\ -cp net.minecraft.client.main.Main --username Xottab_DUTY --version "Последняя версия" --gameDir F:\Users\Xottab_DUTY\AppData\Roaming\.minecraft\ --assetsDir F:\Users\Xottab_DUTY\AppData\Roaming\.minecraft\assets\ --assetIndex 1.11 --uuid sample_token --accessToken sample_token --userType offline --versionType release"
Exit code: 1
============
Version in this log was downloaded not from FreeLauncher, but from TLauncher. When I deleted version and redownloaded it everything started to work.
Here you want watch the difference between version's jsons:
NewLauncher https://gist.github.com/Xottab-DUTY/ca59f034dafbd4dd2a4a84d45d7ea243
TLauncher https://gist.github.com/Xottab-DUTY/b3d7338d6691be8cd4e83c14b5b9b774
It would be fine if NewLauncher can parse all the json mess despite the difference in launchers
P.S. Забыл, что я мог и по-русски написать. Когда опомнился уже стало лень переписывать :D
Похоже, что блог, который используется для новостей, больше не обновляется..
{
"selectedProfile": "Latest Release",
"profiles": {
"<random-guid:0>": {
"type": "latest-release",
"lastUsed": "1970-01-01T00:00:00.001Z"
},
"<random-guid:1>": {
"type": "latest-snapshot",
"lastUsed": "1970-01-01T00:00:00.000Z"
},
"FreeLauncher": {
"name": "FreeLauncher",
"type": "custom",
"created": "2018-03-11T18:04:56.624Z",
"lastUsed": "2018-03-11T18:05:24.153Z",
"icon": "Wool",
"lastVersionId": "latest-release",
"gameDir": "C:/Users/Igor/AppData/Roaming/.minecraft"
},
"Latest Release": {
"name": "Latest Release",
"type": "custom",
"created": "2018-03-11T18:04:56.624Z",
"lastUsed": "1970-01-01T00:00:00.000Z",
"lastVersionId": "latest-release"
},
"Latest Snapshot": {
"name": "Latest Snapshot",
"type": "custom",
"created": "2018-03-11T18:04:56.624Z",
"lastUsed": "1970-01-01T00:00:00.000Z",
"lastVersionId": "18w10d"
}
},
"settings": {
"locale": "ru",
"showMenu": true,
"keepLauncherOpen": false,
"showGameLog": false,
"crashAssistance": false,
"enableAnalytics": false,
"enableHistorical": true,
"enableSnapshots": true,
"enableAdvanced": true
},
"launcherVersion": {
"name": "2.0.1003",
"format": 21,
"profilesFormat": 2
},
"authenticationDatabase": {
"<random-guid?:2>": {
"accessToken": "<accessToken>",
"username": "<Mojang username or legacy username>",
"profiles": {
"<UUID>": {
"displayName": "dedepete"
}
}
}
},
"selectedUser": {
"account": "<random-guid?:2>",
"profile": "<UUID>"
},
"analyticsToken": "f0ckth34n41ytics",
"analyticsFailcount": 0,
"clientToken": "<sessionToken?>"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.