But there is a way to run Minecraft using the full height and width of your device. Instead of trying to make the Minecraft window larger, make the resolution of the screen smaller! To this end, I've written a script to make it easy to accomplish this. What it does is
- report the users IP address
- turning on SSH (in case of problems you can get in and make a change)
- check for the '/home/pi/mfs' directory and create it if it doesn't exist
- check for the '/home/pi/mfs.mfs.sh' file, create it if it doesn't exist
- check if /boot/config.txt has been backed up as /boot/config.boot, if not copy it
- change the /boot/config.txt file to adjust the screen resolution, based on a default or your choice of options, to allow Minecraft Pi to fill the screen by reducing the screen resolution.
The script is copied to the Pi so after the first time you run it, you can run it again to swap back to the original configuration, or back to the Minecraft Full screen settings or try some new settings.
To get and run the script for the first time, open a terminal window and enter the following:
Answer the questions and reboot the Pi and you should be off and running. If you want to re-run the script you can enter 'sh /home/pi/mfs/mfs.sh'
Code: Select all
bash <(curl -sL https://raw.githubusercontent.com/juggledad/Minecraft-Pi-Full-Screen/master/mfs.sh)
In the unlikely event something gets messed up, you can use SSH to get into the Pi and change the /boot/config.txt remove the four (4) lines at the end of the file starting with:
# settings to reduce the screen resolution to run Minecraft Pi full screen
If you are not comfortable with SSH, take the SD card out of the Pi, put it in a card reader and mount it on your Mac or PC. Then navigate to the device and you should see 'config.txt' and 'config.boot'. Just delete 'config.txt' and rename 'config.boot' to 'config.txt' and you should be back to where you started before running the script the first time.