Portable Steam - Run Steam Anywhere!

Discussion in 'Computer Tutorials' started by TheGeneralFilms, Sep 23, 2017.

  1. TheGeneralFilms
    OP

    TheGeneralFilms Advanced Member

    Newcomer
    89
    62
    Jul 23, 2015
    Canada
    My Computer
    THIS ONLY WORKS ON WINDOWS 7!!!

    Somewhere far away from home and want to access Steam?
    No access to admin privileges blocking you?

    This guide is for you! All you'll need is the Steam installer and preferably a USB or some type of hard drive. (The USB is so you can put Steam on it and bring it anywhere. Pretty cool! I have a 2TB hard drive with all my games on it, and I bring it anywhere I go! Steam library on the go!)

    Instructions:
    1. Download this .zip that I thoughtfully put together and uploaded to MEGA. (Seriously GBAtemp users, stop fucking using Dropbox. Dropbox is shit and we all know it!)
    2. Extract it to a folder in your USB drive
    3. Run "RUNSTEAM.bat"
    4. Change the install folder to the "Steam" folder I put in the .zip
    5. Once that is done, deselect "Run Steam" and press finish.
    6. Copy "COPYTHIS.bat" into the folder
    7. Run "COPYTHIS.bat"
    8. Profit!

    For some reason the link isn't working. Here it is
    https://mega.nz/#!MfpRCTKI!S4dBrV0APAaNgztY5j39mr67mWKQUKkzZRzHPTU-wlM

    How this works:

    Setting __COMPAT_LAYER to RunAsInvoker does not actually give you administrator privileges if you do not have them; it simply prevents the UAC pop-up from appearing and then runs the program as whatever user called it. As such, it is safe to use this since you are not magically obtaining admin rights.
     
    Last edited by TheGeneralFilms, Sep 24, 2017
    FM360, Sliter and DRAGONBALLVINTAGE like this.
  2. sks316

    sks316 GBAtemp's Mewtwo™

    Member
    1,649
    896
    Nov 28, 2013
    United States
    Cerulean Cave
    Have you even tested it on 8 or 10?
     
  3. TheGeneralFilms
    OP

    TheGeneralFilms Advanced Member

    Newcomer
    89
    62
    Jul 23, 2015
    Canada
    My Computer
    10 it definitely doesn't work, not quite sure about 8. It uses a batch file with the
    Code:
    set __COMPAT_LAYER=RunAsInvoker
    command, which only appears to work in Windows 7.


    **EDIT**

    Some info on how this works:

    "Setting __COMPAT_LAYER to RunAsInvoker does not actually give you administrator privileges if you do not have them; it simply prevents the UAC pop-up from appearing and then runs the program as whatever user called it. As such, it is safe to use this since you are not magically obtaining admin rights."
     
    Last edited by TheGeneralFilms, Sep 24, 2017
    sks316 likes this.
  4. leon315

    leon315 POWERLIFTER

    Member
    690
    406
    Nov 27, 2013
    Italy
    Or u can just copy steamapps folders to USB Hdd, then use steam client on other PC do check for repair/hash for you.

    All u need is just install steam client on other PC.
     
    Last edited by leon315, Sep 26, 2017
  5. xJoelituh

    xJoelituh GBAtemp Regular

    Member
    162
    105
    Mar 11, 2016
    Spain
    But probably you cannot install it on that pc so it makes sense
     
  6. TheGeneralFilms
    OP

    TheGeneralFilms Advanced Member

    Newcomer
    89
    62
    Jul 23, 2015
    Canada
    My Computer
    It still asks for admin access.
     
  7. MarioMasta64

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,963
    415
    Dec 21, 2016
    United States
    all you need to do is extract steam.exe and run it see :
    https://github.com/MarioMasta64/Ste...3c14bdbf00baa55cb1200a6149feeb97/launcher.bat (for a simple version a more fancy version here: https://github.com/MarioMasta64/EverythingPortable/blob/master/launch_steam.bat)

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

    if you want to add .dll compatibility for games putting them in a folder and adding to path should work fine for most cases. not sure how steam handles those tho.

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

    also probs you can add warnings like i did saying what to respond when it asks, basically the things it asks for (the service) is so that it can install things like directx or whatever the game needs without having to bring a uac prompt up (it also used for creating desktop icon links)

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

    hopefully some of the tricks i did can help with your project :P good luck with it
     
  8. TheGeneralFilms
    OP

    TheGeneralFilms Advanced Member

    Newcomer
    89
    62
    Jul 23, 2015
    Canada
    My Computer
    Oh shit, that's neato
     
    MarioMasta64 likes this.
  9. MarioMasta64

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,963
    415
    Dec 21, 2016
    United States
    thanks. yours is cool too :D
     
  10. TheGeneralFilms
    OP

    TheGeneralFilms Advanced Member

    Newcomer
    89
    62
    Jul 23, 2015
    Canada
    My Computer
    Very basic compared to yours :rofl2:
     
    MarioMasta64 likes this.
  11. MarioMasta64

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,963
    415
    Dec 21, 2016
    United States
    yours has an import option tho xD i havent even implemented that into mine yet, also its kinda sloppy with locallow (which cant be set via variable but a symlink may work (i think itll kill compatibility for win10 or below if i do that tho as symlinking changed)
     
  12. MarioMasta64

    MarioMasta64 hi. i make batch stuff and portable shiz

    Member
    1,963
    415
    Dec 21, 2016
    United States
    it works on windows 10 just gotta change a thing:
    Code:
    cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" SteamSetup.exe"
    why this works even tho its almost exactly your thing idk. but here ya go :D

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

    also i never knew about such a command existing :o ive been just extracting things, this may prove very very useful for some of my projects :D

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

    heres an updated archive with win 8 / 10 support fixed :D lesson: cmd is weird af
     

    Attached Files: