PortableEverything For All!!!

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


  • Total voters
    67

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
United States
new update to the cemu launcher

--------------------- MERGED ---------------------------

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


--------------------- MERGED ---------------------------

--------------------- MERGED ---------------------------

===================================================
= 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 =
===================================================

--------------------- MERGED ---------------------------

i added a mod downloader to it btw.
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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)
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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.
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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.

--------------------- MERGED ---------------------------

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.)

--------------------- MERGED ---------------------------

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.

--------------------- MERGED ---------------------------

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,
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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.

--------------------- MERGED ---------------------------

yes plz do that i need that.

--------------------- MERGED ---------------------------

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

Attachments

  • upload_2017-7-21_17-25-13.png
    upload_2017-7-21_17-25-13.png
    41.6 KB · Views: 128
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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

--------------------- MERGED ---------------------------

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
 

Attachments

  • test_cemu_update_detector.zip
    1.5 MB · Views: 156
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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

--------------------- MERGED ---------------------------

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.
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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.
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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

--------------------- MERGED ---------------------------

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

--------------------- MERGED ---------------------------

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)
 
  • Like
Reactions: Blauhasenpopo

masterwex

New Member
Newbie
Joined
Aug 12, 2017
Messages
1
Trophies
0
Age
26
XP
52
Country
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!
 
  • Like
Reactions: MarioMasta64

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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.

--------------------- MERGED ---------------------------

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!
yknow you can put all these in the same folder ;P

--------------------- MERGED ---------------------------

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!
and honestly i think its an opera issue. as it assumes its installed in an obs folder(?)
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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
 
  • Like
Reactions: Blauhasenpopo

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,297
Trophies
0
Age
26
Website
github.com
XP
2,094
Country
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?
 
  • Like
Reactions: Blauhasenpopo

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: good night