PortableMinecraft for All!!

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
This Project Is Now Combined Into EverythingPortable See The Below Link For Details

For anyone interested i made a portable minecraft launcher with the ability to make new profiles launch the default profile delete profiles it downloads everything for you (for the time being java needs to be installed but in a future version it will automatically download jPortable)

https://github.com/MarioMasta64/MinecraftPortable/releases/latest

use this commit as the others have issues

feel free to leave suggestions here: https://gbatemp.net/threads/need-help-to-develop-a-better-experience.463811

other projects

EverythingPortable: https://gbatemp.net/threads/portableeverything-for-all.465297/
SteamPortable: https://gbatemp.net/threads/portable-steam-for-all.463545/
OBSPortable: https://gbatemp.net/threads/portable-obs-for-all.463568/
 
Last edited by MarioMasta64,

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
So, it's basically Minecraft with portable Java?
yes with multiple profile creation deletion and it auto downloads everything (minus java) also i think the issue is the fact im returning to a vairable

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

Update: returned to default launcher im likely just gonna add an update option in the menu Release v1.0.1-beta
 

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
new update: no more need to type long paths in manually it automatically does it for you. if you already have the program just choose update. also downloads are in .zip form as an alternative on request of @Dr.Hacknik
 
Last edited by MarioMasta64,

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
next update: so i found out how to read text from a file into batch. which means opening my program doesnt have to be like playing fnaf and having notepad.exe steal your soul. expect it soon(tm)
 

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
You should make it use 64-bit Java portable, in the past I've ran into issues with the 32-bit one when making portable launchers. And allocating RAM, too, 64-bit JRE allows you to allocate more. Most have a 64-bit PC anyway.
as far as i know it installs 64bit java? ^^" the program i use is jPortable from the PortableApps Suite. i could look into it for another way to install java. but im trying for no admin and as little software as possible. btw if you type y before launching you can use system java for the meantime.

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

You should make it use 64-bit Java portable, in the past I've ran into issues with the 32-bit one when making portable launchers. And allocating RAM, too, 64-bit JRE allows you to allocate more. Most have a 64-bit PC anyway.
i found a 64bit version. i could possibly ask the user if their on 32bit or 64bit computer and itll download the corresponding java.
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
5,951
Trophies
2
Age
23
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
5,321
Country
Portugal

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
i already have a way to check os with 2 lines of code. but thank you anyways

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

oh fancy tho one of them use the same way as me :o

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

easy fix
:OSCHECK
cls
title PORTABLE MINECRAFT LAUNCHER - JAVA
echo type y for system or anything else for portable java
echo press enter afterwards
set /p choice="choice: "
if %choice%==y goto JAVALAUNCH
goto ARCHCHECK

:JAVALAUNCH
cls
start %CD%\bin\Minecraft.jar
exit

:ARCHCHECK
set arch=
if exist "%PROGRAMFILES(X86)%" set arch=64

:JAVACHECK
cls
if not exist %CD%\bin\commonfiles\java%arch%\bin\javaw.exe goto JAVAINSTALLERCHECK
start "" "%CD%\bin\commonfiles\java%arch%\bin\javaw.exe" -jar "%CD%\bin\Minecraft.jar
exit

:JAVAINSTALLERCHECK
cls
if not exist %CD%\extra\jPortable%arch%_8_Update_121.paf.exe goto DOWNLOADJAVA
start %CD%\extra\jPortable%arch%_8_Update_121.paf.exe /destination=%CD%\bin\
title READMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADMEREADME
echo go through the install directions as it says then press enter to continue
pause
goto JAVACHECK

:DOWNLOADJAVA
cls
if exist jPortable%arch%_8_Update_121.paf.exe goto MOVEJAVA
if not exist %CD%\bin\wget.exe call :DOWNLOADWGET
%CD%\bin\wget.exe http://downloads.sourceforge.net/portableapps/jPortable%arch%_8_Update_121.paf.exe

:MOVEJAVA
cls
move jPortable%arch%_8_Update_121.paf.exe %CD%\extra\jPortable%arch%_8_Update_121.paf.exe
goto JAVAINSTALLERCHECK

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

choose update from the menu and itll update to v25 which includes the changes :D (i need to fix the replacer.bat as it keeps a windows open i know whats wrong but i get lazy lol so just close that extra window)

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

new update v25: now includes ability to use java64 on arch64 and java32 on arch32 it automatically does everything for youu so just update and run as usual. (if you hav a 64bit arch itll need to download java46 but it shouldnt take to long)
 

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
while im on hiatus (of sorts) i will be working on bringing all the programs together with the ability to download other programs and such from within the program and urls will be easier to fetch as i wont have to hardcode them. when this update hits i will ask you to update and it will automatically rename the binaries and move the files to the appropriate locations basically youll be able to run everything from one directory alot easier. (the hardest part is getting a reading on a file till i fix the issue this update wont come) when the update comes the included binary on the page will turn to a null'ed out binary that will serve no other function than to update the launcher (even smaller binary size :D) i hope you all will enjoy the new changes (along with the dreaded bad path fix)
 

MarioMasta64

hi. i make batch stuff and portable shiz
OP
Member
Joined
Dec 21, 2016
Messages
2,266
Trophies
0
Age
24
Website
github.com
XP
1,773
Country
United States
update v1 - release no moe need to manually type the profile you want to launch (but you can if you want) they now come in numbered list form also the project has been merged into the PortableEverything project where all binaries can coexist if you already have the project just choose update and all files will be changed the way they need to be
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    DEMONGreninjaPG @ DEMONGreninjaPG: :gun::gun::gun::gun::gun::gun::bortz::bortz: