Comments (10)
The authentication method is irrelevant for a bug like that one, as the content repository doesn't require a token at all, and above all else that is a launcher behavior bug since it shouldn't even be downloading anything. I will look into it.
from msa4legacy.
Ah, thank you. And I should also apologize for my somewhat frantic tone. I've been a 1.6 launcher holdout for years now, and I finally folded and migrated my account when I found out about this project, and I was scared because I was frantically trying to figure out how to get my favorite versions working again.
I really appreciate the work that you've done with this project.
from msa4legacy.
The bug seems to be 2-fold:
- The version manifest is updated even when it doesn't need to.
- The version jar is updated even if the hash from the manifest is empty/missing.
I feel I am very close to fixing it but I will continue working on it tomorrow (or when I have time after that).
from msa4legacy.
I think https://github.com/NepNep21/MSA4Legacy/actions/runs/4974341988 should fix it, though specifically I recommend setting the hash of the client jar (screenshot attached) to an empty string rather than indiscriminately deleting fields, deleting things may also work though. Please report whether my fix works, and if it does I will merge it into the main branch.
from msa4legacy.
@Schnyarf Please test that build so I can merge it.
from msa4legacy.
I'm not sure how to download the updated binaries, but I have found that your initial suggestion appears to work.
from msa4legacy.
The binaries are in the "artifacts" section of the link.
from msa4legacy.
I have since discovered that the issue appears to be linked to the fetching of assets. The original 1.6 launcher could handle it when "assetIndex" was absent, but this modified one cannot.
Deleting everything after the "minimumLauncherVersion 4 comma" is the tried and true trick that has always worked for me with jar mods. I don't know what the URL field of assetIndex does, but its absence shouldn't prevent the game from launching when it didn't in the vanilla launcher.
Upon testing the build you linked, it does not appear to fix the issue :(.
from msa4legacy.
Deleting key-value pairs that "come after <another pair>" in JSON is inherently unreliable, JSON does not require implementations to make any guarantees about what's before or after something else within an object, for all we know there are just different things after it than what you're used to. Regardless, setting a value to another value (in this case an empty string) is not undefined behavior of course, so setting the hash to an empty one is what will be worked on if it doesn't work, not deleting random pairs.
Also I don't recommend editing comments to notify someone on github about results, as it does not cause github to email us :p
from msa4legacy.
While I don't know what is causing this launcher to behave differently from the vanilla one, I have figured out how to get the launcher to respect both my custom .jars as well as my custom assets directories, so this issue no longer bothers me.
from msa4legacy.
Related Issues (9)
- Inconsistent player info states HOT 2
- Allow using interactive oauth with a WebView instead of device flow, with device flow still available with a system property
- Checksum issue creates useless patched JAR (with a smaller filesize) HOT 8
- Doesn't seem to function properly HOT 2
- Launcher straight up stalls after first step of login. Not unresponsive but not working either. HOT 5
- Cannot launch the game HOT 5
- The installer is missing error message/popup when not all requirements are met HOT 3
- The launcher pesters for login every time it is opened HOT 1
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 msa4legacy.