Ajarmar / universal-pokemon-randomizer-zx

Public repository of source code for the Universal Pokemon Randomizer ZX
GNU General Public License v3.0
620 stars 156 forks source link

Error when opening the launcher #274

Closed Gabbenator69 closed 3 years ago

Gabbenator69 commented 3 years ago

This is the error code I get when I open the launcher and I don't know what to do. Pls help.

'\fs1.ad.ssis.nu\20garo\Desktop\pokemon' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. '\fs1.ad.ssis.nu\20garo\Desktop\pokemon\' CMD does not support UNC paths as current directories. Error: Unable to access jarfile PokeRandoZX.jar Press any key to exit...

tom-overton commented 3 years ago

Open up launcher_WINDOWS.bat in a text editor and replace the contents with this:

@echo off
pushd %~dp0
cd /d "%~dp0"
java -Xmx4096M -jar PokeRandoZX.jar please-use-the-launcher
echo Press any key to exit...
pause >nul

Does that work?

Gabbenator69 commented 3 years ago

How do I open it in a text editor?

Gabbenator69 commented 3 years ago

Never mind, it worked. Thanks for the help!

tom-overton commented 3 years ago

You're welcome! Glad it worked. You're the first person to try and run the launcher off of a network drive, so we needed to make a slight tweak to the launcher to get it working. The next release will include this change, but for now keep using what I sent you before and everything will work fine.