PortableEverything For All!!!

Discussion in 'Computer Software and Operating Systems' started by MarioMasta64, Mar 21, 2017.

?

Should I Include An Option To Download Other Projects On First Project Release?

  1. yes. its okay take your time make it great. (i chose this)

    86.7%
  2. no. I WANT IT NOW!

    10.0%
  3. no. the project should be released sooner and an update can handle it.

    3.3%
  1. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    new update to the cemu launcher

    — Posts automatically merged - Please don't double post! —

    keep in mind the auto upgrade feature only works post 1.8.1 (v19 launcher) anyone upgrading needs to type "Download-Cemu" & "Extract-Cemu" at the menu upload_2017-6-30_10-6-11.png upload_2017-6-30_10-6-11.png

    — Posts automatically merged - Please don't double post! —

    — Posts automatically merged - Please don't double post! —

    ===================================================
    = Cemu Launcher - v19 =
    = Experimental Code Edition =
    ===================================================
    = (ノ◕ヮ◕)ノ Upgraded To Cemu v1.8.1 =
    = (ノ◕ヮ◕)ノ Automaticly Upgrade Cemu No More Need For Manual Upgrade =
    = (ノ◕ヮ◕)ノ Type Any Labels Name To Goto It (Useful For Debugging) =
    = (ノ◕ヮ◕)ノ Updater Now Hides Itself And Deletes Itself On Completion =
    = (ノ◕ヮ◕)ノ (goto) 2>nul =
    = (ノ◕ヮ◕)ノ Made It Easier To Set Cemu Versions For Faster Deployement =
    = (ノ◕ヮ◕)ノ Made Code Slightly Cleaner But Kinda Not =
    = (ノ◕ヮ◕)ノ Maybe Other Stuff I Forgot To Mention =
    ===================================================
    = (ノ◕ヮ◕)ノ Further improvements to overall system stability and other =
    = (ノ◕ヮ◕)ノ minor adjustments have been made to enhance the user experience =
    ===================================================

    — Posts automatically merged - Please don't double post! —

    i added a mod downloader to it btw.
     


  2. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    update to the suite: download no longer shows launchers that exist & update will now auto-detect a launchers line number (newer titles wouldn't update because I had to hardcode each line number but forgot to do the newer ones) also cemu launcher I accidently broke updating by going raw/master crazy its fixed in v20 run "Update-Now" at the menu to force update if you have v19 (you can find out which version you have by choosing about in the menu)
     
  3. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    new update to the suite. ability to download all launchers. and delete all launchers.
     
  4. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    update to vscode portable (v4): somehow i left out the line that says copy folder to and from disk (which made things like extensions not copy) sorry bout that.
     
  5. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    discord and discord canary launchers now have a release build
     
  6. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    Update to discord portable and discord canary portable (v4): i accidently broke the updater by forgetting to set the version. newest version fixes this. basically you have to type ":Version" at the menu before updating and itll work normally so its not that big an issue. update if you wanna. nothing changed except for this.
     
  7. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    i found an interesting bug in my suite's updater
    typing a number thats not on the list will bring up the non-installed titles number
    so lets update the non-existant steam shall we? (one of many outcomes)
    "an error has occured"
    seems my error handler works as expected
    also its takes inspiration from the 3ds
    but what error?
    the world may never know

    if anyone finds any other fun bugs or bad bugs lemme know.

    also typing a number that doesnt exist in launch mode will open up a command prompt window. spoopy.

    nothing to see here. move along.

    — Posts automatically merged - Please don't double post! —

    if you just now downloaded v17 youll have to redownload the suite. sorry for those affected. (ill make sure to make the next version v18 as not to cause confusion.)

    — Posts automatically merged - Please don't double post! —

    uploaded a v18 (its just v16 except the download everything option gets rid of .\.vs\ .\info\ and .\note\ left behind) and i made sure to test it twice this time .3.

    — Posts automatically merged - Please don't double post! —

    i plan on taking out the wget updater and making it an optional command as it takes away from how fast the menu launches and doesnt accomplish much. cemu launcher and both discord launchers already have this option. i plan to upgrade all the launchers to a similar type launcher that i call "Expiremental Launcher" which is basically a regular one but everything is held in scripts and is easier to modify along with the ability to launch any label for debug purposes / if a bug is found in order to provide a workaround. it also includes a built-in cmd prompt. it was basically setup kinda like how wii u usb helper checks for updates everytime it launches. now it'll be optional.
     
    Last edited by MarioMasta64, Jul 22, 2017
  8. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    update to cemu, and both discord launchers: fixed changelog (yea thats all. it would crash on startup tho if i hadnt fixed it so consider it a minor update). apparently windows didnt like how vscode formatted it but vs studio it accepted. summary: windows is weird.

    — Posts automatically merged - Please don't double post! —

    yes plz do that i need that.

    — Posts automatically merged - Please don't double post! —

    upload_2017-7-21_17-26-28.png
     

    Attached Files:

  9. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    working on an force updater for cemu heres a PoC that seems to work.
    (its just showing that an update can be force detected it doesnt update anything yet)
    feel free to test it and maybe figure out why its writing "http://cemu.info/releases/cemu_1.8.1.zip"" instead of http://cemu.info/releases/cemu_1.8.1.zip like its supposed to

    — Posts automatically merged - Please don't double post! —

    updated code:

    @Echo off
    cls
    Color 0A

    if exist index.html del index.html
    wget -q --show-progress http://cemu.info/
    setlocal disableDelayedExpansion

    for /f delims^=^ eol^= %%A in ('findstr /ri /c:"http://cemu.info/releases/" /c:"http://cemu.info/releases/" index.html') do (
    set "ln=%%A"
    setlocal enableDelayedExpansion
    set "ln=!ln:*:=!"
    if /i "!ln:~0,5!" equ "http://cemu.info/releases/" (set "ln=!ln:~5!") else set "ln=!ln:* "http://cemu.info/releases/ =!"
    for /f %%B in ("!ln!") do if "%%B" neq "" echo "http:%%B" > cemu_ver.txt
    endlocal
    )
    if exist index.html del index.html
    notepad.exe cemu_ver.txt
     

    Attached Files:

  10. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    stackoverflow is a place that turns this:

    Code:
    @echo off
    cls
    Color 0A
    
    if exist index.html del index.html
    .\bin\wget -q --show-progress http://cemu.info/
    
    setlocal disableDelayedExpansion
    
    for /f delims^=^ eol^= %%A in ('findstr /ri /c:"http://cemu.info/releases/" /c:"http://cemu.info/releases/" index.html') do (
      set "ln=%%A"
      setlocal enableDelayedExpansion
      set "ln=!ln:*:=!"
      if /i "!ln:~0,5!" equ "http://cemu.info/releases/" (set "ln=!ln:~5!") else set "ln=!ln:* "http://cemu.info/releases/ =!"
      for /f %%B in ("!ln!") do if "%%B" neq "" (
        echo http:%%B > cemu_ver.txt
      )
      endlocal
    )
    if exist index.html call :add-quote
    goto skip-quote
    
    :add-quote
    set /p cemu_ver=<cemu_ver.txt
    echo "%cemu_ver% > cemu_ver.txt
    del index.html
    (goto) 2>NUL
    
    :skip-quote
    notepad.exe cemu_ver.txt
    into this:

    Code:
    @echo off
    cls
    Color 0A
    if exist index.html del index.html
    .\bin\wget -q http://cemu.info/
    if not exist index.html goto OFFLINE
    for /f tokens^=2delims^=^" %%A in (
      'findstr /i /c:"http://cemu.info/releases/" /c:"http://cemu.info/releases/" index.html'
    ) Do > cemu_ver.txt Echo:"%%A"
    if exist index.html del index.html
    notepad.exe cemu_Ver.txt
     
  11. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    so i got the code working and everything and i plan on removing all the "extractthing.vbs" and leave only one universal extractzip.vbs
     
  12. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    got a working PoC for a force updater for cemu (it'll be an option don't worry) also i noticed that its possible for the cemu extractor to move everything in \bin\ to \ (in weird almost impossible circumstances) ill put in a fix for this soon[tm] along with the force updater
     
  13. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    new cemu version new build (i removed 2 expiremental features: 1 raw github doesnt work for binaries. only text files. (a.k.a i broke the updater) and 2 changelog. (cmd doesnt like = & many spaces) if it loads immediately after updating you have a broken updater. use the suite to update the program. afterwards you will have to manually upgrade the cemu version again (just remove .\bin\cemu\Cemu.exe relaunch and it'll get the new version) sorry for the inconvenience

    — Posts automatically merged - Please don't double post! —

    also i decided it would be better to use a update checker feature rather than actually upgrading the launcher everytime. so ill put it in to see how it goes.
     
  14. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    cemu launcher is now able to download the latest build automatically. as long as the link is http://cemu.info/releases/blahblah.zip (this can be easily changed) because the launcher is not able to be updated if it cant find cemu binary (for newcomers that need to update the binary for a new link. yea im kinda thinking too far ahead) i decided to not automatically download and goto the menu first with a message saying to update.
     
  15. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    oh btw. resinstall and reset are temporarily removed (maybe permanantly).
     
  16. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    working on code to count installs (when the license shows up)
    it pings a server with a hashed version of the device its ran from serial (doesnt do anything yet)
    for now it just counts how many times a program is installed and nothing else.
    first program added is cemu launcher

    — Posts automatically merged - Please don't double post! —

    update: v26 a release after the one i just said. it wont ping the server until after you press enter.

    — Posts automatically merged - Please don't double post! —

    update to server side: it can now tell if its the same hash and not update the number if it it (nothing affected client side)
     
  17. masterwex

    masterwex Newbie

    Newcomer
    1
    3
    Aug 12, 2017
    United States
    Hello tried out some of your portables and wow! They actually work! Thank you!

    I still need to test out if Opera is truly portable. Chrome has this issue where it doesn't keep it's settings when transferring computers and that concerns me.

    As to why I'm here: I used your Opera bat and in a folder named OBS on accident. Now if I try renaming the folder Opera runs but doesn't work at all. Is there a way I can fix this?

    Thank you for making these! I'm using Canary and Opera rn and am going to try out OBS next!
     
    MarioMasta64 likes this.
  18. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    update to cemu portable: fixed the update checker. itd crash if the zip doesnt exist and hang if it did. now it shouldnt do that.

    — Posts automatically merged - Please don't double post! —

    yknow you can put all these in the same folder ;P

    — Posts automatically merged - Please don't double post! —

    and honestly i think its an opera issue. as it assumes its installed in an obs folder(?)
     
  19. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    updates: obs portable launcher has an update for the new 20.0.1 obs version ;P trying to work on an auto-updater feature for it so you dont have to rely on me as much for updates ;P
     
  20. MarioMasta64
    OP

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,806
    388
    Dec 21, 2016
    United States
    im thinking of adding a "message of the day" feature to the launchers. it would display different things sometimes. maybe even steam keys or something. would y'all be interested in that?