minecraftp.exe refuses to run. :sad.gif: It doesn't do anything. I've tried compatibility mode and all that, as well as redownloading the archive.
I actually don't know what's happening here. Judging from your other posts (about Minecrafter), it seems to be a problem with your PC.
Grr. I wonder what could be causing it though.
Might I ask what's used to "pack" the files? I may perhaps have some software that's preventing it from extracting it or running correctly.
minecraftp.exe refuses to run. :sad.gif: It doesn't do anything. I've tried compatibility mode and all that, as well as redownloading the archive.
I actually don't know what's happening here. Judging from your other posts (about Minecrafter), it seems to be a problem with your PC.
Grr. I wonder what could be causing it though.
Might I ask what's used to "pack" the files? I may perhaps have some software that's preventing it from extracting it or running correctly.
I use a program to pack my .bat file and the data into a single application. As far as I know it just uses basic UPX compression. If you want, I can try and pack it manually using a scripted 7z SFX archive.
Rollback Post to RevisionRollBack
mcmapDZ: Simple, lightning-fast interactive web maps.
The ability to save the data during play is nice, I just realized however that if I save and quit to menu, then close the program with the X on the upper right of the window (running in Windows) the data is not committed to disk. If you re-enter the Single player menu before closing (or clicking save on MCFS) it is however committed to disk.
* Would it be possible to commit the data on program exit if you exit with the X from the main menu?
Minecraft did not automatically update to 1.2.5, but I don't know that involves you at all (I doubt it does).
I lost my glass enclosed rail tunnel I made last night (about 2 hours) :sad.gif:
The ability to save the data during play is nice, I just realized however that if I save and quit to menu, then close the program with the X on the upper right of the window (running in Windows) the data is not committed to disk. If you re-enter the Single player menu before closing (or clicking save on MCFS) it is however committed to disk.
* Would it be possible to commit the data on program exit if you exit with the X from the main menu?
Minecraft did not automatically update to 1.2.5, but I don't know that involves you at all (I doubt it does).
I lost my glass enclosed rail tunnel I made last night (about 2 hours) :sad.gif:
I just fixed this in the latest version of MCFS (v0.6.2 as of this writing). Sorry you lost progress in your world though. Whenever NotTarts updates and gets the latest MCFS you wont have to worry about it any more as it will automatically save :smile.gif:
The ability to save the data during play is nice, I just realized however that if I save and quit to menu, then close the program with the X on the upper right of the window (running in Windows) the data is not committed to disk. If you re-enter the Single player menu before closing (or clicking save on MCFS) it is however committed to disk.
* Would it be possible to commit the data on program exit if you exit with the X from the main menu?
Minecraft did not automatically update to 1.2.5, but I don't know that involves you at all (I doubt it does).
I lost my glass enclosed rail tunnel I made last night (about 2 hours) :sad.gif:
I just fixed this in the latest version of MCFS (v0.6.2 as of this writing). Sorry you lost progress in your world though. Whenever NotTarts updates and gets the latest MCFS you wont have to worry about it any more as it will automatically save :smile.gif:
I rebuilt it, and more artfully the second time. I was disappointed, but I got over it :wink.gif: I like your MCFS mod quite a bit. Thank you for writing and keeping it up.
Sorry for being so late with the updates - I don't use the USB mode myself so when an update breaks it I usually don't notice. I'll probably switch to it in future, though.
Rollback Post to RevisionRollBack
mcmapDZ: Simple, lightning-fast interactive web maps.
This is weird, I've done everything in the steps on my Home computer,
but when i try to run it from my School Laptop the Lappy loads for 2 seconds and then nothing happens.
I'm experiencing difficulties trying to use any minecraft portable version newer than 2.2 on my Desktop PC.
When i double click the exe my cursor changes to background thinking but then quickly changes back to normal and nothing happens.
Also is it possible to play 1.2.6 updated minecraft through minecraft portable v2.2 instead?
if so what are the negatives?
Basic system specs in-case you need em:
XP Home edition
Service pack 3
AMD phenom II
2.75 gb ram (wait, is that even possible?)
EDIT: I'm not using MCFS either, in-case that's an issue.
Rollback Post to RevisionRollBack
Quote from ianfitz100 »
Why were you getting your hopes up? Set a low bar, and you won't be disappointed.
Quote from jon99977 »
**** THE PEOPLE WHO INVENTED OBFUSCATION. **** THEM WITH KNIVES.
@Geography: Yep. Just download the .jar version of the patcher, and drag-and-drop it onto 'minecraftp.exe' :smile.gif:
@nd4spd, Alkalyne: Could you both change 'EnableLog' and 'DebugOut (or whatever, forgotten)' to 'true' in mcp_config.ini. Run Minecraft Portable (the latest version, if possible), and show me the .txt files produced, if you can :smile.gif:
Rollback Post to RevisionRollBack
mcmapDZ: Simple, lightning-fast interactive web maps.
This is an essential program - I have been using it since the first version and have never had to look at my AppData folder since! Also, now I can have multiple installations and mods all ready to go!
Thank you for the regular updates to this program!
Do you guys realize how utterly pointless this program is? All it is is an executable file that runs to a simple batch script... All you need for minecraft to be portable is the following code:
set APPDATA=.
start javaw -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
and then you're good to go. You don't need an executable file to run a batch file, it would be faster just to run the batch file itself rather than having to go through an executable file. No offense OP, but it's kinda sickening how much praise you are getting just from an executable file that runs a batch script. This is utterly ridiculous. Again, no offense, I'm just sayin'.
Do you guys realize how utterly pointless this program is? All it is is an executable file that runs to a simple batch script... All you need for minecraft to be portable is the following code:
set APPDATA=.
start javaw -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
and then you're good to go. You don't need an executable file to run a batch file, it would be faster just to run the batch file itself rather than having to go through an executable file. No offense OP, but it's kinda sickening how much praise you are getting just from an executable file that runs a batch script. This is utterly ridiculous. Again, no offense, I'm just sayin'.
To be honest, it's a bit more complicated than that:
@ECHO OFF
::--------------------------------
::- Various paths we need to set -
::--------------------------------
::Check if a program is drag-and-dropped onto the application
IF [%2]==[] (
set CURRENTDIR=%~1
set RUNPROGRAM=false
) ELSE (
set CURRENTDIR=%~2
set RUNPROGRAM=true
)
set TEMPFOLDER=%TEMP%\MinecraftPortable_data
set MYFILES=%~dp0
set APPDATA=%CURRENTDIR%\mcp_data
set STRINGCACHE=%MYFILES%\stringcache.bat
set CONFIGFILE=%APPDATA%\mcp_config.ini
set MINEBIN=%APPDATA%\.minecraft\bin
set JAVAPATH=%APPDATA%\java\bin\javaw.exe
set DEBUGFILE=%APPDATA%\debug.txt
if %RUNPROGRAM%==true (
start "" %1
goto :End
)
::----------------
::- Main program -
::----------------
IF NOT EXIST %APPDATA% mkdir %APPDATA%
call :ExtractAllData
call :ReadConfig
echo Started logging at %TIME%, %DATE% > "%LOGFILE%"
echo. >> "%LOGFILE%"
echo Minecraft Portable v2.2 >> "%LOGFILE%"
echo by NotTarts >> "%LOGFILE%"
echo. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
echo Starting process. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
call :CheckTemp
IF %USBMode%==true call :PatchMCFS
call :RunMinecraft
call :ProcessCheck
call :CleanUp
goto :End
:End
echo Process finished. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
goto :EOF
::-------------
::- Functions -
::-------------
:ExtractAllData
echo Extracting data files... >> "%LOGFILE%"
7za.exe x data.7z -aoa > NUL
echo - Done. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
goto :EOF
::-----------
:PatchMCFS
echo [MCFS Patcher] Checking for Minecraft executable... >> "%LOGFILE%"
IF EXIST "%MINEBIN%\minecraft.jar" (
echo - Minecraft executable found, checking for MCFS >> "%LOGFILE%"
cd "%MINEBIN%"
) ELSE (
echo - 'minecraft.jar' not found, please log in and restart Minecraft. >> "%LOGFILE%"
goto :PatchEnd
)
"%MYFILES%\7za.exe" e "%MINEBIN%\minecraft.jar" -o"%MINEBIN%" patched.mcportable > NUL
IF EXIST "%MINEBIN%\patched.mcportable" (
del "%MINEBIN%\patched.mcportable"
echo - MCFS already patched, skipping. >> "%LOGFILE%"
goto :PatchEnd
)
echo - MCFS not present, starting patching process. >> "%LOGFILE%"
"%MYFILES%\7za.exe" a "%MINEBIN%\minecraft.jar" "%MYFILES%\patched.mcportable" > NUL
IF EXIST "%JAVAPATH%" (
echo - Java Portable binaries detected. >> "%LOGFILE%"
echo - Patching MCFS... >> "%LOGFILE%"
start "" "%JAVAPATH%" -Xms1024M -Xmx1024M -jar "%MYFILES%\MCInjectorCLI.jar" "%MINEBIN%\minecraft.jar" "%MYFILES%
\MCFS_MEM.MCI_PATCH"
) ELSE (
echo - No Java Portable binaries found. >> "%LOGFILE%"
echo - Patching MCFS... >> "%LOGFILE%"
"%MYFILES%\MCInjectorCLI.jar" "%MINEBIN%\minecraft.jar" "%MYFILES%\MCFS_MEM.MCI_PATCH"
)
IF NOT EXIST "%MINEBIN%\minecraft.jar" echo - ERROR: minecraft.jar not found after patching. Please update Minecraft
Portable.
:PatchEnd
echo - Done. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
goto :EOF
::-----------
:RunMinecraft
echo Launching Minecraft... >> "%LOGFILE%"
IF EXIST "%JAVAPATH%" (
echo - Java Portable binaries detected. >> "%LOGFILE%"
echo - Launching... >> "%LOGFILE%"
start "" "%JAVAPATH%" -Xms1024M -Xmx1024M -jar "%MYFILES%\minecraft_launcher.jar"
) ELSE (
echo - No Java Portable binaries found. >> "%LOGFILE%"
echo - Launching... >> "%LOGFILE%"
"%MYFILES%\minecraft_launcher.jar"
)
:LoopStart
ping 1.1.1.1 -n 1 -w 2000 > NUL
tasklist /FI "IMAGENAME eq javaw.exe" 2>NUL | find /I /N "javaw.exe" >NUL
if "%ERRORLEVEL%"=="1" goto LoopStart
echo - Done. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
goto :EOF
::------------
:ReadConfig
IF NOT EXIST "%CONFIGFILE%" (
echo [MCPSettings] >> "%CONFIGFILE%"
echo USBMode = false >> "%CONFIGFILE%"
echo EnableLog = false >> "%CONFIGFILE%"
echo DumpDebugInfo = false >> "%CONFIGFILE%"
)
"%MYFILES%\ini.exe" "%CONFIGFILE%" [MCPSettings] USBMode >> "%STRINGCACHE%"
"%MYFILES%\ini.exe" "%CONFIGFILE%" [MCPSettings] EnableLog >> "%STRINGCACHE%"
"%MYFILES%\ini.exe" "%CONFIGFILE%" [MCPSettings] DumpDebugInfo >> "%STRINGCACHE%"
call "%STRINGCACHE%"
IF %EnableLog%==true (set LOGFILE=%APPDATA%\mcp_log.txt) ELSE (set LOGFILE=NUL)
IF %DumpDebugInfo%==true (
echo AppData folder: %APPDATA% > "%DEBUGFILE%"
echo Temporary data: %MYFILES% >> "%DEBUGFILE%"
echo Minecraft binary folder: %MINEBIN% >> "%DEBUGFILE%"
echo Configuration file: %CONFIGFILE% >> "%DEBUGFILE%"
echo Log file: %LOGFILE% >> "%DEBUGFILE%"
echo Java Portable path: %JAVAPATH% >> "%DEBUGFILE%"
echo INI variable cache: %STRINGCACHE% >> "%DEBUGFILE%"
)
goto :EOF
::-----------
EVERYTHING BELOW HERE IS DEPRECATED
:CheckTemp
echo Checking temporary data files... >> "%LOGFILE%"
IF NOT EXIST "%APPDATA%\lastdir" (
echo - No temporary files found, proceeding as normal >> "%LOGFILE%"
echo DO NOT REMOVE THIS FILE > "%APPDATA%\lastdir" >> "%LOGFILE%"
xcopy "%CURRENTDIR%\.minecraft\*.*" "%APPDATA%\.minecraft\*.*" /s /e /c /y > NUL
) ELSE (
echo - Temporary files found, restoring data >> "%LOGFILE%"
xcopy "%APPDATA%\.minecraft\*.*" "%CURRENTDIR%\.minecraft\*.*" /s /e /c /y > NUL
)
echo - Done. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
goto :EOF
::------------
:ProcessCheck
echo Now monitoring Minecraft... >> "%LOGFILE%"
:LoopStart
ping 1.1.1.1 -n 1 -w 2000 > NUL
tasklist /FI "IMAGENAME eq javaw.exe" 2>NUL | find /I /N "javaw.exe" >NUL
if "%ERRORLEVEL%"=="0" goto LoopStart
echo - Done. >> "%LOGFILE%"
echo. >> "%LOGFILE%"
goto :EOF
::------------
:CleanUp
echo
echo - Deleting old files...
rd "%CURRENTDIR%\.minecraft" /Q /S
echo - Restoring data from temporary folder...
xcopy "%APPDATA%\.minecraft\*.*" "%CURRENTDIR%\.minecraft\*.*" /s /e /c /y > NUL
echo - Cleaning up temp folder...
rd "%APPDATA%" /Q /S
rd "%MYFILES%" /Q /S
echo - Done.
echo.
goto :EOF
I find it really insulting that you didn't bother seeing what Minecraft Portable actually did, but just went off making assumptions.
@Geographer: There was an accidental client update by Notch, but the .jar file should be the same as 1.2.6. Earlier, though, I found a bug in Java that caused MCFS to patch incredibly slowly when running from a USB (less than 5KB/s). Try copying Minecraft Portable to your HDD, running it once, and then copying it back to your USB.
Rollback Post to RevisionRollBack
mcmapDZ: Simple, lightning-fast interactive web maps.
Just to clarify, this is pretty much another copy of minecraft, right? And any mods and saves are isolated to this application? If I am right, then can you use cartograph or INVedit for this?
@blaze: That's right, each application *should* have it's own set on data files. To run Cartographer, INVedit, etc, just drag-and-drop the application onto minecraftp.exe, and it should be directed to the Minecraft Portable files instead of the default AppData. This doesn't work with all programs, but many now have a custom path option (as is the case with INVedit, I think), so you can point them directly to the files.
Quote from infraspace »
This is a very useful program. Thanks Notarts.
I have noticed that this is creating lots of persistent folders in my temp directory in the form $TEMP$\nn.tmp\.minecraft
Where nn is a number. It seems to make a new one every time I play it and the new path causes my Firewall to prompt me to allow/block access.
Could you change it so it always stays in the same folder?
Thanks for pointing this out :smile.gif:. Looks like it wasn't removing the temporary folders properly. It should be fixed now.
Rollback Post to RevisionRollBack
mcmapDZ: Simple, lightning-fast interactive web maps.
"Caffeine is like violence. If it's not solving your problem, you just aren't using enough of it." -ZeroHero
"I don’t talk to inanimate objects. I only reply to the text on my computer screen." -Sparkling Limeade
Grr. I wonder what could be causing it though.
Might I ask what's used to "pack" the files? I may perhaps have some software that's preventing it from extracting it or running correctly.
I use a program to pack my .bat file and the data into a single application. As far as I know it just uses basic UPX compression. If you want, I can try and pack it manually using a scripted 7z SFX archive.
* Would it be possible to commit the data on program exit if you exit with the X from the main menu?
Minecraft did not automatically update to 1.2.5, but I don't know that involves you at all (I doubt it does).
I lost my glass enclosed rail tunnel I made last night (about 2 hours) :sad.gif:
I just fixed this in the latest version of MCFS (v0.6.2 as of this writing). Sorry you lost progress in your world though. Whenever NotTarts updates and gets the latest MCFS you wont have to worry about it any more as it will automatically save :smile.gif:
MCFS - Minecraft Single File Save System.
BlockOff, a in-game block placement offsetting tool.
I rebuilt it, and more artfully the second time. I was disappointed, but I got over it :wink.gif: I like your MCFS mod quite a bit. Thank you for writing and keeping it up.
Download here
Sorry for being so late with the updates - I don't use the USB mode myself so when an update breaks it I usually don't notice. I'll probably switch to it in future, though.
The last time i even saw a bat file it was related to DOS commands. And i don't think newer games even java games DON'T USE DOS..
what is this minecraftp.bat
but when i try to run it from my School Laptop the Lappy loads for 2 seconds and then nothing happens.
When i double click the exe my cursor changes to background thinking but then quickly changes back to normal and nothing happens.
Also is it possible to play 1.2.6 updated minecraft through minecraft portable v2.2 instead?
if so what are the negatives?
Basic system specs in-case you need em:
XP Home edition
Service pack 3
AMD phenom II
2.75 gb ram (wait, is that even possible?)
EDIT: I'm not using MCFS either, in-case that's an issue.
@nd4spd, Alkalyne: Could you both change 'EnableLog' and 'DebugOut (or whatever, forgotten)' to 'true' in mcp_config.ini. Run Minecraft Portable (the latest version, if possible), and show me the .txt files produced, if you can :smile.gif:
Thank you for the regular updates to this program!
and then you're good to go. You don't need an executable file to run a batch file, it would be faster just to run the batch file itself rather than having to go through an executable file. No offense OP, but it's kinda sickening how much praise you are getting just from an executable file that runs a batch script. This is utterly ridiculous. Again, no offense, I'm just sayin'.
To be honest, it's a bit more complicated than that:
I find it really insulting that you didn't bother seeing what Minecraft Portable actually did, but just went off making assumptions.
@Geographer: There was an accidental client update by Notch, but the .jar file should be the same as 1.2.6. Earlier, though, I found a bug in Java that caused MCFS to patch incredibly slowly when running from a USB (less than 5KB/s). Try copying Minecraft Portable to your HDD, running it once, and then copying it back to your USB.
Thanks for pointing this out :smile.gif:. Looks like it wasn't removing the temporary folders properly. It should be fixed now.
"I don’t talk to inanimate objects. I only reply to the text on my computer screen." -Sparkling Limeade