Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't start any minecraft version downloaded from other launcher #24

Closed
Xottab-DUTY opened this issue Jun 20, 2017 · 5 comments
Closed
Assignees
Labels
Milestone

Comments

@Xottab-DUTY
Copy link

[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

@dedepete dedepete self-assigned this Jun 20, 2017
@dedepete dedepete removed the core label Jun 20, 2017
@dedepete
Copy link
Owner

Смог воспроизвести проблему, спасибо. Сейчас AppVeyor CI выполнит сборку последней фиксации.

@dedepete
Copy link
Owner

Доступно для загрузки:
https://ci.appveyor.com/project/dedepete/freelauncher/build/job/9nse9okgv78ecgtx/artifacts

Дайте знать, если всё не/будет работать.

@Xottab-DUTY
Copy link
Author

Xottab-DUTY commented Jun 20, 2017

Спасибо за быстрый ответ!
Посмотрел лог, но... как-то не срослось понять его. В чём проблема была?

Добавлено позже:
Быстренько запустил 1.12 в TLauncher, а потом NewLauncher – проблем замечено не было.

@dedepete
Copy link
Owner

Проблема заключалась в том, что Mojang начали использовать новую переменную path в элементах массива libraries, но разработчик TLauncher проигнорировал или не счёл необходимым это изменение, что повлекло отсутствие этой переменной в конфигурации версии игры.
У Вас этот недочёт проявлялся на стадии запуска из-за наличия скачанных библиотек, но у меня он проявился ещё на стадии их проверки.
Исправил банальной проверкой наличия этой переменной.

@Xottab-DUTY
Copy link
Author

Спасибо. Теперь понятно)

dedepete added a commit that referenced this issue Jun 21, 2017
Removed log queue and improved game logging (#24).
@dedepete dedepete modified the milestone: 1.7.0 release Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants