Jump to content

mixit

Member
  • Posts

    222
  • Joined

  • Days Won

    10
  • Donations

    0.00 USD 

Posts posted by mixit

  1. Since a member here asked me for these Chinese-less Dev Tools paks privately, I think I'll also put them up here so anyone interested can test the changes until @NotHereToPlayGames releases his build with them. These are meant for his 2022 build from the end of this post.

    Ungoogled: https://anonfiles.com/EeddQeI0y5/resources_pak
    Googly: https://anonfiles.com/X6J0Q7I2yf/resources_pak

    Also, it was suggested to me that I may have been too "hard" on @NotHereToPlayGames. Didn't mean to be, but I know I've been a bit more irritable than usual because of not getting good continuous sleep after somehow hurting my neck due to a bad sleeping posture a couple of nights ago, so if anyone felt that way, you can chalk it up to that, I guess...

  2. 2 hours ago, NotHereToPlayGames said:

    But enough for the OT for now - I'd like to get back to the above, please.

    I guess I didn't talk enough about Python 2.7 to convey that I wasn't using GRIT with Python 3 myself. :whistle: Anyway, pip install six (on the command line) should fix that error. You may actually find it more convenient to simply run these scripts from the command line, e.g. python pak_util.py -h , etc. (I almost never bother with IDLE since I use another editor.) And just in case you haven't got yourself a brotli.exe (version 1.0.7 or higher), even with Python 3 you'll still need to install Brotli with pip, add the import (judging from your screenshot you haven't done that yet), and edit the function I mentioned (at least the Brotli part of it).

    As for having to use Python and not a GUI extractor... well, you asked what software I used and I told you what I used, you can blame Google for not creating a GUI for it. :) Actually the reason I didn't tell you right when you first asked and just said it should work as always was because I had no idea that you'd never decompressed any of the Brotli content from paks. I mean you've been doing these repacks for so long and I'm pretty sure I've seen you mention a number of times now completely safe your builds are even for stuff like banking. When you have hundreds of binary blobs you don't know the contents of? :dubbio: I mean I seriously doubt you're pouring over Proxomitron logs or whatever every time you use the browser. I don't want to get into a long argument over this, but I was honestly quite surprised.

  3. @NotHereToPlayGames

    I just realized you may not have a brotli.exe lying around and IIRC it was a bit of a pain to find a good version on the web (at least an XP-compatible one), so here's what you need to do to use the Python version.

    pip install Brotli (if that doesn't work, try pip install Brotli==1.0.7 )

    Add to the pak_util.py imports

    import brotli
    import io

    and replace _MaybeDecompress with this:

    def _MaybeDecompress(payload, brotli_path=None):
      if payload.startswith(_GZIP_HEADER):
        return gzip.GzipFile(mode='rb', fileobj=io.BytesIO(payload)).read()
      if payload.startswith(constants.BROTLI_CONST):
        return brotli.decompress(payload[8:])
      return payload

    That should then work with Python 2.7.

    Sorry, it's been a while since I did the actual work with this, so the process is not very freah in my mind.

  4. 1 hour ago, NotHereToPlayGames said:

    Please share what software package you used.  These are not extracting for me.

    Seems like I'm missing something here, but in any case, I personally used GRIT, the tool Google themselves use to manage these paks. Specifically, an older version (current at the time) https://chromium.googlesource.com/chromium/src/tools/grit/+archive/3dae30cfe0ca70d112d1fba63e681637eff9a393.tar.gz , and I still use that one because I want to use it with Python 2.7 and they've dropped that support since.  (In a funny bit of synchronicity, they added bulk Brotli decompressing literally hours before I found this tool - although I had already scripted my own decompressor for individual files.)

    Run pak_util.py -h for all the options. I still had to adapt the code very slightly for Python 2.7, but since you have Windows 10 available, you can probably use Python 3. Let me know if you need the 2.7 mods I made.

  5. On 11/17/2022 at 11:06 AM, NotHereToPlayGames said:

    known bug (unfixable!) is that the Dev Tools will revert to Chinese if opened in Incognito Mode (v13 build 2206 is the last version to NOT do this, ALL NEWER versions have this "flaw".  Unfixable!).

    I don't like that word. :)

    Make the following edits to resources.pak:

    in 25514, delete

    {"category":"Appearance","title":"Language:","storageType":"local","defaultValue":"zh-CN","reloadRequired":true,"settingName":"language","settingType":"enum","type":"setting","options":[{"text":"Chinese (Simplified)","value":"zh-CN","title":"Chinese (Simplified)"},{"text":"English (United States)","value":"en-US","title":"English (United States)"}]},

    In 25615, delete

    this._initLocalizationSetting(),

    and

    _initLocalizationSetting(){p.Settings.instance().createSetting("language","zh-CN",p.SettingStorageType.Local).addChangeListener(()=>{location.reload()})}

    In 25624, replace

    function d(t){let e=t;return"undefined"!=typeof localStorage&&'"en-US"'!==localStorage.language&&(e=self.DevToolsLocalization.getString(t),e=e.replace(/\$./g,t=>t.match(/\$[$1-9]/)?"$$$"===t?"$":"%":t)),e}

    with

    function d(t){return t}

    The change will get rid of ever having to switch Dev Tools from Chinese to English (the setting is in fact removed from the dialog), including starting with your OOB profile or if the entire profile is nuked.

    This is based on 360ChromePortable_13.5.1030_rebuild_5_ungoogled.zip, but based on a quick look it's still fully applicable to 360ChromePortable_13.5.2022_rebuild_1_ungoogled_MSFN.zip.

  6. We can thank the missile-happy Kremlin gang for the delays.:thumbdown:thumbdown:thumbdown

    November 9:

    Quote

    We got normal power and internet today, but usually we lack one or both. Don't know when I can log in again.

    November 19:

    Quote

    So I managed to guess the time they gave us power for 5 hrs and did browser builds. If we continue to get at least this much, I can get it done by New Year's.

    (This is from the Russian forum thread I linked before.)

  7. 56 minutes ago, roytam1 said:

    yeah, but it is still far better than in government facilities. besides I got somewhat stronger common cold symptoms (cough when breathing and speaking, I have to tolerant this situation since there has no Codeine cough syrup to treat this symptom effectively)

    Oh, absolutely!, I didn't mean to downplay anything, sorry if it sounded that way. Like I said, best wishes towards your speedy recovery!
     

  8. @XPerceniol, @AstroSkipper

    (Probably) don't need to worry too much. :)

    October 25: http://forum.ru-board.com/topic.cgi?forum=2&topic=5894&start=1060#21
    That's his dedicated Mypal testing thread over there, zzz528 == @feodor2.

    October 14: https://github.com/Feodor2/Mypal68/issues/3#issuecomment-1279302448

    Quote

    I will make further thinks after the coming new version 68.13.0 with huge javascript update which also poke core-dom-ipc, let it watch then.

    On Github, if there's no other activity by him, look around in the issues (sort by Recently updated).

  9. 1 hour ago, Humming Owl said:

    That is quite unfortunate, but at least I could confirm that the browser downloads stuff after installation so maybe some patches and fixes can be retreived that actually work on XP (hopefuly). I didn't knew widevine is also compiled targeting specific architectures and knowing it is from google, universal support is expected to not be there. Also, maybe for older browser versions widevine could be actualy patched for XP but someone would have to test that out. Thanks for the feedback.

    Cheers.

    I should maybe clarify that I meant I manually downloaded it from the URL discerned from the original chrome.dll (http://dl.360tpcdn.com/cse/widevine_4_10_1582_1.cab), since I didn't want to install the unmodded version and this is patched out in the mod.  In terms of targeting, it's just the usual "newer than XP/Vista/(maybe also 7 by now)". Stuff like the missing API functionality, etc. could conceivably be worked in by motivated individuals (not me in this case :)), but you'd also have to get around their custom signature checks in a way that would pass online verification...

  10. 35 minutes ago, Humming Owl said:

    Regarding Widevine I've seen in the 360 forums that from a version of the browser (11.0.1331.0 I think) Netflix problems are "fixed". So I guess from that version Widevine is included, but as far as I know it isn't among the files of the browser.

    A couple of months I took a look at the Widewine package 13.5.1030.0 would download and unfortunately it was the same XP-incompatible stuff we know and don't love. Apparently Google hasn't made an exception for China. I'd be happy to be proven wrong, but my current understanding is that Widevine as such should work in 360 Chrome (not that I've tried it personally), but only on those Windows versions Google builds it for.

  11. Great news from our friend @feodor2, Firefox 91 looks to be coming to XP!:cheerleader:

    Quote

    Today 3.2.2022 i got the quantum running on winxp, great!

    https://github.com/Feodor2/Mypal

    Quote

    I have launched my first quantum under xp, it works great and much faster than 360

    работает лиса 91 (Firefox 91 works)

    https://github.com/Feodor2/Mypal/issues/49#issuecomment-1028855538

    Quote

    i have already working quantum on my winxp, yet no support video and direct3d

    https://github.com/Feodor2/Mypal/issues/51#issuecomment-1028863110

  12. 1 hour ago, UCyborg said:

    You'd have to get out of your way and block MMDeviceEnumerator from being invoked in order for it to fall back to WinMM!:buehehe: If you wanted to try WinMM on Windows OS they target, that is.

    You can actually change the audio backend in current Firefox versions by setting the media.cubeb.backend (string) pref. If you set it to winmm and restart the browser, about:support should show it under Audio Backend. At least it does on Windows 7, haven't tried on later versions. But since they rewrote the drivers after XP, the fix would be superfluous even when using WinMM. But it's still nice that it'll now be part of modern Firefox, considering the "MSFN hackers" meme, etc. :P :lol:

  13. 1 hour ago, ArcticFoxie said:

    Don't waste your time!  Unless you're one of those folks that "like" 'reality tv' or 'Judge Judy' "crap".  :thumbdown

    Maybe I'm wrong, but I think more or less everyone with any interest in this latest round of the drama is already pretty exhausted from reading and talking about it, be it here or elsewhere. My idea was that since these browser threads here are really intended to be about development and support, any future upstream drama related discussion can be taken to the drama thread, so it doesn't take over this one the way it has occasionally happened in the past.

  14. On 10/3/2021 at 3:58 AM, Mathwiz said:

    Are @mixit still around? They always seemed to come up with fixes for these sorts of issues....

    I don't know if they are, but I am (more or less). :)

    However, I haven't been using ESR 52 for a long time and Instagram is forcing me to log in before I can look at anything useful (I don't have an account), so I probably won't be doing the extra wrangling necessary to try and help out with this. Sorry, @Dave-H.

  15. @ArcticFoxie

    If they keep wasting so much energy and time on posturing and other nonsense instead of spending it on browser development, remaining viable will definitely be a problem (even if we discount the negative PR). Blaming others for causing this waste doesn't make it any less of a waste. I'd be surprised if they got a lot of development done over these past few weeks, meanwhile the majors keep plowing ahead. Like I've said before, as a downstream user I'd very much like to fully support them, but they sure make it as difficult as humanly possible... :thumbdown

    I haven't paid much attention to the tale of BNavigator, but I don't really see how @roytam1 could have stolen Tobin's thunder by doing builds of his pre-release software. AFAIK he hasn't been claiming that he's the author of the software or targeting the same user segment. Personally, I'd take it as free preview advertising. I'm not sure you can call dibs on open source software while procrastinating with your release for many years, not after you've made the source public in the first place.

    As for @feodor2, don't worry about him losing all hope. He's apparently trying his hand on post-Quantum Firefox now, so at least in theory this may yet work out for the best as far as us XP fans are concerned. :whistle: As much as I like XUL, having a working browser is more important, and I'm not keen on any Chrome (despite you guys doing very hice work on cleaning up 360 :worship:).

  16. On 9/12/2021 at 8:16 AM, DanR20 said:

    Is anyone having problems on Twitter with the volume slider and UXP 52 and 55? It seems to have just started but it will no longer pop up to adjust the volume. Still working in the newer firefox versions.

    I don't know why the slider isn't being shown, but you should still be able to use it even though you can't see it. Click on the volume control icon, keep the mouse on top of it, and use up/down arrow keys on the keyboard to control the volume. Works for me, at least. Maybe I'll investigate this further if I have time, but no promises since the workaround is easy enough.

    Also, :thumbdown:thumbdown:thumbdown to this latest Moonchild nonsense. I would really like to hope that this is just a knee-jerk reaction and they'll eventually come to their senses, but at this point that hope is pretty slim...

  17. 8 hours ago, roytam1 said:

    (P.S.: I'm not going to jump in this mud fight)

    A very wise decision, why give them an extra opportunity to disparage you.

    I think I should rephrase what I was trying to say before. I think people might want to read the Github thread to be aware of what's happening - but only those who a) have something useful to add that hasn't already been brought up and, b) can restrain themselves enough to remain polite should go over there to add their thoughts. They can of course also do it here, but the Github issue is more of a place of record. I myself might have met a) in the early stages but b) was pretty doubtful. At this point, a) is also doubtful.

    @XP2003 Yes, I've seen it. Gotta "love" that one guy actually demanding jail time for @feodor2... :thumbdown

    I'm reminded of a quote from an R. K. Narayan book about Indian mythology, where he describes asuras (demons) as "strong-minded, intelligent, and capable of offering arguments to establish that they are righteous, and all others are evil-minded". He then adds "They succeed - but, [...], only for a while; sooner or later they are overcome." Let's hope for that. (It's not my style to compare people to demons, but the comparison comes to mind when someone is so incredibly insistent to enforce the letter of the law at the expense of the spirit of it, for very questionable reasons and with clearly damaging cansequences.)

  18. Have you guys been following the discussion (I use the term generously) regarding Tobin's demand that @feodor2 remove his contributions at @feodor2's repo? Sparks are definitely flying there (172 posts as of now), though unfortunately the situation as such is as far from a reasonable solution as ever. Among other things, as could be expected, MSFN members and XP fans in general are once again getting portrayed as incorrigible criminals, etc. etc. by you know who. :thumbdown Fortunately for me I'm not on Github, so it's easier to resist the urge to get into it with Tobin and Co., because I'm afraid I could seriously blow my fuse there... :realmad: Fortunately they have received some fierce opposition as well; I only recognized @dmiranda from here, but there's even a Christian pastor on their case. :worship: If you think your nerves can handle it, take a look if you haven't yet. In some sense, maybe I shouldn't urge others to participate there when I won't be doing it myself, but if you have any good ideas, @feodor2 could certainly use them and your support in general. I very much doubt anyone could convince Tobin to come to his senses, though... I sincerely hope @roytam1 remains careful enough not to give them an excuse to do a similar thing to him.

     

    On 8/26/2021 at 6:45 AM, feodor2 said:

    So who want to be the new owner?

    Based on the license thread at the repo, I'm not sure if this is still relevant. If it is, I have to say that while I've been doing my private builds based on your Centaury and I'm very grateful for your work, regrettably this is not something I can take on right now...

    Oh, and welcome @cmccaff1, and thanks for your insights before!

  19. 3 hours ago, feodor2 said:

    So if he take even moochild code he does not have the right to demand for remove this code, right? But let we assume i removed lines of code what is his property. What can they do next - do others and moonchild himself have right to demand remove their code property or else?

    IANAL, so I can't tell you with certainty what rights they have or don't have, especially since they're trying to export US law into Ukraine (assumption based on your profile flag). The MPL 2.0 states "Any litigation relating to this License may be brought only in the courts of a jurisdiction where the defendant maintains its principal place of business and such litigation shall be governed by laws of that jurisdiction" (underlined emphasis by me). In my opinion their interpretation of the license means very little without actually litigating the whole thing. I suppose they could try to get Github to throw you out by filing a DMCA claim, but you could then file a counter claim and they'd still have to go to court to get their way. To Ukrainian court, that is.

    The inconvenience (for those who can't figure it out) of having to ask you how to get your source code is no bigger than having to email Tobin to get his source. :rolleyes: For my tastes, Tobin's way is actually further from the spirit of open-source than having the source freely available to anyone 24/7, even if there aren't very specific instructions on how to get it (like I said before, I personally was able to get it pretty easily). The MPL 2.0 states "You must inform recipients of the Executable Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner", which I think ultimately doesn't preclude informing people post facto, once asked. AFAIK you've never made any attempts to hide the source code, because even before, when you only distributed your patches, the main source was always available (a patch without what to patch would be nonsensical indeed! :rolleyes:), and contrary to what (IIRC) Tobin has claimed in the past, the license doesn't actually say you have to provide/host your own copy of the source. In my opinion, even if with some idiosyncracies, you have adhered to the spirit of the license and Tobin & Co are not operating in good faith :thumbdown. But again: IANAL.

  20. 4 hours ago, Montana Slim said:

    Ok, I'm interested... where is it?

    I'm not @feodor2's spokesperson, but since you're asking me, the source for the latest Centaury release (0.17.0) looks to be at https://github.com/Feodor2/Mypal/archive/b9d3b502ef4786aa77d30e9ace63494422fa00a4.zip

    Sorry, too busy atm to properly write up the steps to get there, but I can say that I was able to figure it out without ever asking @feodor2 (or anyone else) about it.

×
×
  • Create New...