Comments (9)
Pas de problème pour l'anglais on va éviter de se compliquer ^^
Est-ce que vous pouvez essayer avec la nouvelle version que je suis en train de dev: https://raw.githubusercontent.com/mindstorm38/portablemc/feature/addon-support/portablemc_oo.py (le nom du fichier importe peu d'ailleurs)
J'ai amélioré plein de petit trucs sur cette version, peut-être que cela ne résoudra pas le problème, mais c'est toujours bon d'essayer!
Attention, les arguments sur cette version ont été modif, pour lancer il faut faire <exec> start -l <login|email> [version]
.
Je vais bientôt release cette version, car elle est bien mieux optimisé et les logs sont plus lisible.
N'hésitez pas à me relancer si vous n'arrivez pas à faire fonctionner cette nouvelle version!
from portablemc.
Merci pour votre réponse rapide !
Lorsque je lance le launcher avec python3 portablemc.py --main-dir /Users/Psy/LPOCraft/Game start -l SyFizz_ 1.8.9
, ce dernier s'arrête à "Authenticating SyFizz_"
Je suis obligé d'utiliser un compte Mojang avec la nouvelle version de votre launcher ?
En fait, je compte l'utiliser pour un projet scolaire (avec votre permission évidemment, je vous ai envoyé un e-mail à ce sujet), et la plupart des joueurs n'auront pas de compte Mojang...
EDIT : En omettant l'option -l, le jeu ne se lance toujours pas, je pense que le système de gestion des fenêtres sous macOS est assez... embêtant :p
EDIT 2 : Après quelques recherches sur internet, j'ai trouvé que les versions de Python antérieures à la 3.9 ne pouvaient pas lancer de GUIs sous macOS, donc je mets à jour ma version de Python et je reviens vers vous :)
from portablemc.
Effectivement, je n'avais jamais remarqué ce bug quand on veut se connecter... Cependant, essayez avec votre email plutôt que votre pseudo.
Sinon pour le problème de fenêtre, est-ce que plus des informations ou erreurs en console apparaissent? Ce problème m'embête beaucoup j'aimerais bien le résoudre, je vais voir si je trouve des informations...
EDIT: Merci pour l'information par rapport à la version de python.
from portablemc.
Non, aucune nouvelle information en console, je vais tester avec un python en 3.9, je reviens vers vous dès que c'est fait
EDIT : C'est pas mieux, je suis en 3.9.2 et j'ai toujours le problème :(
Voici le log complet :
Psy@MacBook-Air-de-Marie ~ % python3 portablemc.py --main-dir /Users/Psy/LPOCraft/Game start 1.8.9
Addon 'Scripting' requires module 'prompt_toolkit' to load.
Addon 'Richer' requires module 'prompt_toolkit' to load.
Welcome to PortableMC, the easy to use Python Minecraft Launcher.
Resolving version 1.8.9
=> Found cached metadata, loading...
=> Version loaded.
Loading release 1.8.9...
Loading jar file...
Loading assets...
=> Verifying assets...
Loading logger config...
Loading libraries and natives...
Starting game...
=> Extracting natives...
Running...
====================================================
=> Username: 2adcb1c8, UUID: 2adcb1c805da46d8afed2f48fc1c99e3
=> Command line: java -XstartOnFirstThread -Djava.library.path=/Users/Psy/LPOCraft/Game/bin/5568ef02-5706-4528-a5c3-e9a50a473425 -Dminecraft.launcher.brand=portablemc -Dminecraft.launcher.version=1.1.0 -cp /Users/Psy/LPOCraft/Game/versions/1.8.9/1.8.9.jar:/Users/Psy/LPOCraft/Game/libraries/com/mojang/netty/1.6/netty-1.6.jar:/Users/Psy/LPOCraft/Game/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/Users/Psy/LPOCraft/Game/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar:/Users/Psy/LPOCraft/Game/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/Users/Psy/LPOCraft/Game/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/Users/Psy/LPOCraft/Game/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/Users/Psy/LPOCraft/Game/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/Users/Psy/LPOCraft/Game/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/Users/Psy/LPOCraft/Game/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/Users/Psy/LPOCraft/Game/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/Users/Psy/LPOCraft/Game/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/Users/Psy/LPOCraft/Game/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/Users/Psy/LPOCraft/Game/libraries/com/google/guava/guava/17.0/guava-17.0.jar:/Users/Psy/LPOCraft/Game/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/Users/Psy/LPOCraft/Game/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/Psy/LPOCraft/Game/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/Users/Psy/LPOCraft/Game/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/Users/Psy/LPOCraft/Game/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/Users/Psy/LPOCraft/Game/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/Psy/LPOCraft/Game/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar:/Users/Psy/LPOCraft/Game/libraries/com/mojang/realms/1.7.59/realms-1.7.59.jar:/Users/Psy/LPOCraft/Game/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/Users/Psy/LPOCraft/Game/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/Users/Psy/LPOCraft/Game/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/Psy/LPOCraft/Game/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/Users/Psy/LPOCraft/Game/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar:/Users/Psy/LPOCraft/Game/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar:/Users/Psy/LPOCraft/Game/libraries/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar:/Users/Psy/LPOCraft/Game/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar:/Users/Psy/LPOCraft/Game/libraries/tv/twitch/twitch/6.5/twitch-6.5.jar -Dlog4j.configurationFile=/Users/Psy/LPOCraft/Game/assets/log_configs/portablemc-client-1.7.xml -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M net.minecraft.client.main.Main --username 2adcb1c8 --version 1.8.9 --gameDir /Users/Psy/LPOCraft/Game --assetsDir /Users/Psy/LPOCraft/Game/assets --assetIndex 1.8 --uuid 2adcb1c805da46d8afed2f48fc1c99e3 --accessToken --userProperties {} --userType mojang
16:58:56.114 [Client thread] INFO ave - Setting user: 2adcb1c8
16:58:56.120 [Client thread] INFO ave - (Session ID is token::2adcb1c805da46d8afed2f48fc1c99e3)
16:58:58.593 [Client thread] INFO ave - LWJGL Version: 2.9.2
16:58:59.039 [Client thread] INFO bnn - Reloading ResourceManager: Default
16:58:59.402 [Sound Library Loader] INFO bpx - Starting up SoundSystem...
16:58:59.617 [Thread-6] INFO bpx - Initializing LWJGL OpenAL
16:58:59.618 [Thread-6] INFO bpx - (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
16:58:59.905 [Thread-6] INFO bpx - OpenAL initialized.
16:59:00.014 [Sound Library Loader] INFO bpx - Sound engine started
16:59:02.301 [Client thread] INFO bmh - Created: 512x512 textures-atlas
from portablemc.
Est-ce que le launcher officiel est supporté sur Mac OS? Si oui serait-il possible que vous essayiez de récupérer la ligne de commande lors du lancement du jeu (pensez à bien enlever votre token de session, comme vous l'avez déjà fait), cela me permettrait de voir si la ligne de commande est potentiellement mal calculée par le launcher.
from portablemc.
Oui, le launcher officiel est bien supporté, où est-ce que je peux récupérer cette fameuse ligne ?
from portablemc.
Sous Windows je passais par une commande assez complexe (dont je ne me souviens plus) pour récup la ligne de commande du processus, sous linux et macos (systèmes unix) ça doit se passer avec une commande comme ça ps aux | grep java
(j'espère que cela fonctionne sur Mac OS, je n'y connais rien^^).
from portablemc.
Non, cela ne fonctionne pas sur macOS
Ceci dit, si votre configuration matérielle est suffisante, vous pouvez toujours lancer une machine virtuelle sous macOS pour tester 😄
from portablemc.
The latest pre-released version 1.1.4 allow automatic JVM download, it may or may not fix the issue but I close it for now to clear the board because this was not updated for long. I will re-open it if someone report this again.
from portablemc.
Related Issues (20)
- Starting Minecraft older than 1.19 crashes on Apple Silicon HOT 21
- Error: Could not find or load main class net.minecraft.client.main.Main HOT 9
- Question about API authentication HOT 10
- How do you run the game offline? HOT 2
- Obtain the progress of the download. HOT 2
- Arch Linux package incoherencies HOT 9
- Minecraft: Forge - Failed to initialize graphics window with current settings. HOT 5
- Errors remain when attempting offline usage HOT 14
- Neoforged repo for ForgeVersion HOT 8
- LWJGL 3.3.3 and onward HOT 2
- Invalid session HOT 2
- Installing fabric and mods on it HOT 9
- LWJGL not found in classpath for early versions HOT 7
- Installing mods with events HOT 1
- Possible to add info to README re: another method of contributing...? HOT 4
- Trouble launching Windows Minecraft from WSL HOT 4
- portablemc start forge:1.20.1-latest does not work HOT 9
- can someone help HOT 1
- Missing minecraft resource HOT 4
- DoesNotOwnMinecraftError within auth_session.refresh() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portablemc.