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,106
Country
United States
lots of unreleased launchers:
upload_2017-8-22_0-56-9.png


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

turns out i had project 64 done for months lol
 
  • 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,106
Country
United States
so yea... i plan to remove the MoTD feature. it tends to freeze up and that can get quite annoying. im also changing a url soon :ph34r:

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

dysfunctional as fuck (or rather it was slower than i would have ever expected) takes 15 secs just to load a message from a text file :(:
upload_2017-8-24_17-48-21.png


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

too make up for it i may give y'all "lightshot portable" also cause im bored.

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

lightshot_portable_poc.bat:
Code:
@echo off
cls
Color 0A

if not exist .\bin\ mkdir .\bin\
if not exist .\data\AppData\Roaming\ mkdir .\data\AppData\Roaming\
if not exist .\extra\ mkdir .\extra\

echo "l" to launch lightshot
echo "d" to download lightshot (first time)
echo "e" to extract lightshot
echo "u" to update lightshot
set /p goto="choice: "
goto %goto%

:d
cls
echo ' Set your settings > .\bin\downloadwget.vbs
echo strFileURL = "https://eternallybored.org/misc/wget/current/wget.exe" >> .\bin\downloadwget.vbs
echo strHDLocation = "wget.exe" >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo ' Fetch the file >> .\bin\downloadwget.vbs
echo Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP") >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo objXMLHTTP.open "GET", strFileURL, false >> .\bin\downloadwget.vbs
echo objXMLHTTP.send() >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo If objXMLHTTP.Status = 200 Then >> .\bin\downloadwget.vbs
echo Set objADOStream = CreateObject("ADODB.Stream") >> .\bin\downloadwget.vbs
echo objADOStream.Open >> .\bin\downloadwget.vbs
echo objADOStream.Type = 1 'adTypeBinary >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo objADOStream.Write objXMLHTTP.ResponseBody >> .\bin\downloadwget.vbs
echo objADOStream.Position = 0'Set the stream position to the start >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo Set objFSO = Createobject("Scripting.FileSystemObject") >> .\bin\downloadwget.vbs
echo If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation >> .\bin\downloadwget.vbs
echo Set objFSO = Nothing >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo objADOStream.SaveToFile strHDLocation >> .\bin\downloadwget.vbs
echo objADOStream.Close >> .\bin\downloadwget.vbs
echo Set objADOStream = Nothing >> .\bin\downloadwget.vbs
echo End if >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo Set objXMLHTTP = Nothing >> .\bin\downloadwget.vbs
cscript.exe .\bin\downloadwget.vbs
move wget.exe .\bin\wget.exe
.\bin\wget.exe http://downloads.sourceforge.net/portableapps/7-ZipPortable_16.04.paf.exe
move 7-ZipPortable_16.04.paf.exe .\extra\7-ZipPortable_16.04.paf.exe
.\extra\7-ZipPortable_16.04.paf.exe /destination="%CD%\bin\"

:u
.\bin\wget.exe https://sourceforge.net/projects/innounp/files/latest/download?source=typ_redirect
rename "download@source=typ_redirect" innounp.rar
move innounp.rar .\extra\innounp.rar
:: is not required to be set. will be set in release
.\bin\7-ZipPortable\App\7-Zip%arch%\7z.exe x .\extra\innounp.rar * -o.\bin\innounp\
.\bin\wget.exe https://app.prntscr.com/build/setup-lightshot.exe
move setup-lightshot.exe .\extra\setup-lightshot.exe

:e
.\bin\innounp\innounp.exe -q -x -y -dtemp .\extra\setup-lightshot.exe
rmdir /s /q .\bin\lightshot\
xcopy .\temp\{app}\* .\bin\lightshot\ /e /i /y
rmdir /s /q .\temp\

:l
set "appdata=%CD%\data\appdata\roaming\"
start .\bin\lightshot\Lightshot.exe
exit

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

also my main way of finding out things:
1. <program>.exe /?
2. open with 7zip
3. analyze with uniextract to see what kinda archive it is and get necessary extractors
anyone could do it really :^)

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

cemu, obs, and kodi have 1. new url's and 2. no motd so faster loading again. update if you want :yay:
 
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,106
Country
United States
i updated the info on the main thread to make things more clear. if something is:
[Latest Update - Script]: May Break With Site Changes But Unlikely As Sites Tend Not To Be Entirely Redone
[Latest Update - Static Link]: All Updates Come From One URL
[Manual Upgrade]: I Haven't Implemented Automatic Upgrades Yet And Will Have To Manually Change URL's With Upgrades
[Release]: Release Build. May Be Buggy. Based Off Code From Other Release
[PoC]: Proof Of Concept May Contain Lots Of Output And Might Be Error Prone (Unlikely Tho)
[Other]: Miscellanious Things I Added Cause Why Not?
Also Skype May Stay A PoC Due To All The Debug Params They're Pretty Cool
 
  • 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,106
Country
United States
twitch now has desktop client... :^) twitch portable maybe soon[tm]

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

also boost mobile hotspot speeds tho (sometimes i get 65kb/s :D maybe even 120 if im lucky):
upload_2017-8-29_21-49-17.png
 
  • 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,106
Country
United States
welp here it goes:
launch_twitch_poc.bat
Code:
@echo off
cls
Color 0A
title Twitch PoC - MarioMasta64

set "folder=%CD%"
if "%CD%"=="%~d0\" set "folder=%CD:~0,2%"
set "userprofile=%folder%\data"

if not exist .\bin\ mkdir .\bin\
if not exist .\data\ mkdir .\data\
if not exist .\dll\32\ mkdir .\dll\32\
:: if not exist .\doc\ mkdir .\doc\
if not exist .\extra\ mkdir .\extra\
echo "l" to launch twitch
echo "d" to download twitch (first time)
echo "e" to run twitch setup
set /p goto="choice: "
goto %goto%

:d
cls
echo ' Set your settings > .\bin\downloadwget.vbs
echo strFileURL = "https://eternallybored.org/misc/wget/current/wget.exe" >> .\bin\downloadwget.vbs
echo strHDLocation = "wget.exe" >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo ' Fetch the file >> .\bin\downloadwget.vbs
echo Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP") >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo objXMLHTTP.open "GET", strFileURL, false >> .\bin\downloadwget.vbs
echo objXMLHTTP.send() >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo If objXMLHTTP.Status = 200 Then >> .\bin\downloadwget.vbs
echo Set objADOStream = CreateObject("ADODB.Stream") >> .\bin\downloadwget.vbs
echo objADOStream.Open >> .\bin\downloadwget.vbs
echo objADOStream.Type = 1 'adTypeBinary >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo objADOStream.Write objXMLHTTP.ResponseBody >> .\bin\downloadwget.vbs
echo objADOStream.Position = 0'Set the stream position to the start >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo Set objFSO = Createobject("Scripting.FileSystemObject") >> .\bin\downloadwget.vbs
echo If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation >> .\bin\downloadwget.vbs
echo Set objFSO = Nothing >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo objADOStream.SaveToFile strHDLocation >> .\bin\downloadwget.vbs
echo objADOStream.Close >> .\bin\downloadwget.vbs
echo Set objADOStream = Nothing >> .\bin\downloadwget.vbs
echo End if >> .\bin\downloadwget.vbs
echo. >> .\bin\downloadwget.vbs
echo Set objXMLHTTP = Nothing >> .\bin\downloadwget.vbs
cscript.exe .\bin\downloadwget.vbs
move wget.exe .\bin\wget.exe
call :select
.\bin\wget.exe "https://updates.twitchapp.net/windows/installer/%twitch%"
move %twitch% .\extra\%twitch%
:: is not required to be set. will be set in release
goto e-continue

:e
call :select
:e-continue

:: echo let the installer run>bin.txt
:: echo select advanced>>bin.txt
:: echo select the inatall location bar>>bin.txt
:: echo copy and paste this into the explorer window at the top and press enter to enter the directory>>bin.txt
:: echo "%folder%\bin\">>bin.txt
:: echo now click select folder>>bin.txt
:: echo click install>>bin.txt
:: echo you are now done it will launch automatically>>bin.txt
:: start notepad.exe bin.txt

:: call :timeout 40
:: del bin.txt>nul:

.\extra\%twitch%
exit

:l
set "path=%path%;%folder%\dll\32\;"
start .\bin\Twitch\Bin\Twitch.exe
exit

:timeout
set /a timeout=0
:timeout-count
set /a loop+=1
if %loop% LEQ %1 goto timeout
exit /b

:select
cls
echo Twitch Stable vs. Twitch Beta
echo 1. Twitch Stable
echo 2. Twitch Beta
set /p twitchver="Your Choice: "
if "%twitchver%"=="1" (
  set twitch=TwitchSetup.exe
  exit /b
)
if "%twitchver%"=="2" (
  set twitch=TwitchBetaSetup.exe
  exit /b
)
goto select
 
  • 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,106
Country
United States
launch_skype_poc.bat:
upload_2017-8-30_18-1-30.png

skype email:
upload_2017-8-30_18-1-51.png

"oh no"
(btw this is the last msi installer any new versions will be the new installer and probably wont be made portable)




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




they do however not match. so it may be supported for a bit longer. but yea. the end is nigh.

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

anyways i updated the skype binary (maybe it will still be supported):
upload_2017-8-30_18-13-47.png
 
  • 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,106
Country
United States
so apparently i broke the updater somehow :^) but anyways i fixed it: update v30 to CemuPortable (basically it wouldnt move everything up a directory so it wouldnt replace the old cemu and just delete the temp folder and is done with it)
 
  • 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,106
Country
United States
winscp portable poc updated with new update checking stuff:
upload_2017-9-14_0-31-47.png

The site now has "Re" archives linked that don't exist. I don't get it but hey updated.

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

oh yea, i added things to download putty and winscppwd (a password recovery for winscp) and it now goes back to menu to make things easier.

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

it also shouldn't download release candidate builds anymore (maybe?)
 
Last edited by 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,106
Country
United States
seems my updater for cemu, kodi, project64, and winscp are going real nice uwu
[screenshot of winscp updater just cause i happened to be updating]
upload_2017-10-15_20-8-13.png

btw, since im able to detect the readme's before anything should i add in it to download and show the user the readme? (maybe in cmd or maybe in notepad or maybe just download it)
[i honestly didnt expect the scripted updaters (downloads webpages and scans lines with some logic or so) to work so well tbh]
 

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,106
Country
United States
so after a bit of thought i decided to work on my own little text reader (for more lines than cmd can show) with next back and exit and maybe more, if it goes well the first place ill test it in is winscp portable
 

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,106
Country
United States
id say the text reader portion is coming along nicely: https://old-school-gamer.tk/batch/text-reader/releases/
latest is alpha-1.0 which can read in the files echo them and tell how many lines is in it and output specific lines (not implemented yet [it can be everything is their minus the logic] but is the main factor of finishing the scroll option)
 
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,106
Country
United States
new update to discord portable launcher:
upload_2017-10-22_18-41-7.png

jokes aside i added appdata deletion to the uninstall option of discord and discord canary (id add ptb if someone could give me a download link probs)
 
  • 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,106
Country
United States
update to WinSCP Portable
remember when i mentioned a text editor to view the readme before the download, well i added that now. update if you wanna. use tu to download the batch-read script if you want otherwise just proceed as normal.
if batch-read.bat doesnt exist it continues just as it used to:
upload_2017-10-22_19-55-22.png

if batch-read.bat does exist it opens up a text reader:
upload_2017-10-22_19-56-15.png

if you want to see the text reader itself goto https://old-school-gamer.tk/batch/text-reader/
 
  • 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,106
Country
United States
im currently working on trying to get this project ported-ish to linux. if all goes well there may be a minecraft portable port coming (sadly i cant find an updated source of wget for linux as the site points to a 404 so im using a wayback archive version, take that as you will, also because java requires a timed-key to download i have rehosted the packages, also take that as you will.)

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

i could use curl but i dont like its ui :/ yall want curl?

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

i say its pretty successful ;P

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

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

2017-11-14-012302_1366x768_scrot.png
 
  • 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,106
Country
United States
just one issue: no matter what i do i cant seem to redirect $HOME ive tried:
Code:
# this
setenv HOME=$PWD/home

# this too
export HOME=$PWD/home

# and this
chown $USER:$USER ./home/
chmod 700 ./home/
usermod --home ./home/

# $PWD/home as well

any ideas?
 
Last edited by MarioMasta64,
  • Like
Reactions: Blauhasenpopo

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=fv6vlP2qSyo