Quick question about ZGet
Moderator: ZSNES Mods
-
- Lurker
- Posts: 110
- Joined: Sat Sep 04, 2004 7:55 pm
- Location: USA
Quick question about ZGet
Are there any files I should delete before running ZGet for the second time?
This signature intentionally contains no text other than this sentence.
-
- Lurker
- Posts: 110
- Joined: Sat Sep 04, 2004 7:55 pm
- Location: USA
-
- Lurker
- Posts: 110
- Joined: Sat Sep 04, 2004 7:55 pm
- Location: USA
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
To do the make stuff, you have to set a path to the folder you placed MinGW in (as part of the initial Zget download)..
A batch file is pretty much a text file, except with the extension .bat. You can double click on the file (or enter it via the command prompt) to execute the commands...
The batch file would need the following:
set path=C:\MINGW\BIN
This assumes you installed MINGW in C:\MINGW.
Then you can add the following line xamenus mention.. the batch file would obviously have to be in the src directory to execute.
A batch file is pretty much a text file, except with the extension .bat. You can double click on the file (or enter it via the command prompt) to execute the commands...
The batch file would need the following:
set path=C:\MINGW\BIN
This assumes you installed MINGW in C:\MINGW.
Then you can add the following line xamenus mention.. the batch file would obviously have to be in the src directory to execute.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Heh, forgot to mention that you need to set your PATH. Doing that via a batch file as Deathlike2 mentioned is a good idea.
Maybe future versions of ZGet will be able to delete the object files?
Maybe future versions of ZGet will be able to delete the object files?
Last edited by xamenus on Sun Jul 02, 2006 10:29 pm, edited 1 time in total.
thanks for the info people i just have 1 issue...
cd zsnes
cd src
fresh_install.bat
cd..
cd..
zget.exe
that will not run zget at the end... it runs fresh install.bat which is...
set path=C:\MINGW\BIN
make -f makefile.ms PLATFORM=win32 clean
and then it quits instead of running zget.... why?
---------
be aware that all paths are setup correctly...
cd zsnes
cd src
fresh_install.bat
cd..
cd..
zget.exe
that will not run zget at the end... it runs fresh install.bat which is...
set path=C:\MINGW\BIN
make -f makefile.ms PLATFORM=win32 clean
and then it quits instead of running zget.... why?
---------
be aware that all paths are setup correctly...
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
FYI, you can condense it to a single batch fille with:
A second option for permanently adding the MinGW to the system PATH is via the System control panel. Go to the "Advanced" tab and click the "Environment Variables" button. In the "System Variables" box, higlight "Path" and click the "Edit" button. Add the desired path to the end of what's already there, making sure that it's separated from the previous last entry with a semicolon (;). For example, if it was previously
it should now be
If you do it this way, then you'll be able to further simplify the batch file to just
AND you get the benefit that any other compilation work you do that requires MinGW won't need the manual PATH hand-holding each time.
Code: Select all
set path=C:\MINGW\BIN
make -f makefile.ms PLATFORM=win32 clean
zget.exe
Code: Select all
%SystemRoot%\system32;%SystemRoot%
Code: Select all
%SystemRoot%\system32;%SystemRoot%;c:\mingw\bin
Code: Select all
make -f makefile.ms PLATFORM=win32 clean
zget.exe
I have a single batch file in the zget directory called zget.bat:
Works for me. Would be great if zget did these steps for you automatically.
Code: Select all
set path=C:\MINGW\BIN
cd zsnes\src
make -f makefile.ms PLATFORM=win32 clean
cd..
cd..
zget.exe
i just changed it to...
and it works accordingly... im aware of ways to simplify the bat file but i se no need in them cause the batch file is already made and im aware i could just make it like clements.
Code: Select all
cd zsnes
cd src
call fresh_install.bat
cd..
cd..
zget.exe
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64