ZSNES with MinGW and MSYS
Moderator: ZSNES Mods
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Yes, I saw.Vareni Stargazer wrote:The makefile in CVS has been updated to include UNIx-like environments. [win32-unix-shell is the PLATFORM flag for it, I believe.]
I was also informed that that commit referred to you, not me.

[u][url=http://bash.org/?577451]#577451[/url][/u]
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
It referred to both of you.Noxious Ninja wrote:Yes, I saw.Vareni Stargazer wrote:The makefile in CVS has been updated to include UNIx-like environments. [win32-unix-shell is the PLATFORM flag for it, I believe.]
I was also informed that that commit referred to you, not me.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
"rm -f" just got added to the CVS so that part is in still have to commit out the "\blahblablah" and "del" stuff.
Otherwise looking good.
Although I said this already in the main CVS thread two of the four GUIs aren't working for me. Water Effect B and Burning Effect.
Just to let you all know that I'm seeing this.
Like I also said. Burning Effect works in Ipher's MSVC build.
/Ieremiou
Otherwise looking good.
Although I said this already in the main CVS thread two of the four GUIs aren't working for me. Water Effect B and Burning Effect.
Just to let you all know that I'm seeing this.
Like I also said. Burning Effect works in Ipher's MSVC build.
/Ieremiou
Hello. I followed Noxious Ninja's how to compile guide (the last edited one) I got it until I reached the 8. step.
If I try to compile the ZSNES last official source I get this error:
nasm -O1 -f gnuwin32 -D__WIN32__ -o chips/fxemu2.obj chips/fxemu2.asm
nasm: fatal: unrecognised output format `gnuwin32' - use -hf for a list
type `nasm -h' for help
mingw32-make: *** [chips/fxemu2.obj] Error 1
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\MINGW\SRC\ZSNES\SRC>
What can be the problem?
Im using the following libs/sources/progs:
dx80_mgw.zip
libpng-1.2.8.tar.gz
MinGW-3.1.0-1.exe
nasm-0.98.39-win32.zip
w32api-3.2.tar.gz
zlib-1.2.1.tar.gz
and the ZSNES 1.42 source code
and at last, my command is this:
@echo off
Set PATH=PATH;c:\mingw\bin;%PATH%
chdir c:\MinGW\src\zsnes\src
mingw32-make -f makefile.ms PLATFORM=win32
command
launched from a .bat batch file.
If I try to compile the ZSNES last official source I get this error:
nasm -O1 -f gnuwin32 -D__WIN32__ -o chips/fxemu2.obj chips/fxemu2.asm
nasm: fatal: unrecognised output format `gnuwin32' - use -hf for a list
type `nasm -h' for help
mingw32-make: *** [chips/fxemu2.obj] Error 1
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\MINGW\SRC\ZSNES\SRC>
What can be the problem?
Im using the following libs/sources/progs:
dx80_mgw.zip
libpng-1.2.8.tar.gz
MinGW-3.1.0-1.exe
nasm-0.98.39-win32.zip
w32api-3.2.tar.gz
zlib-1.2.1.tar.gz
and the ZSNES 1.42 source code
and at last, my command is this:
@echo off
Set PATH=PATH;c:\mingw\bin;%PATH%
chdir c:\MinGW\src\zsnes\src
mingw32-make -f makefile.ms PLATFORM=win32
command
launched from a .bat batch file.
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Some changes were been made to the development tools after the release of 1.42, and my instructions reflect those changes. If you want to compile 1.42, you will need to use this version of NASM.
Oh, and you should use MinGW 3.2.0-rc3.
Oh, and you should use MinGW 3.2.0-rc3.
[u][url=http://bash.org/?577451]#577451[/url][/u]
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Older version of ZSNES cannot be compiled with MinGW. 1.41+ can be, I don't remember about 1.40. The only util that changed after 1.42 was NASM.mague wrote:Thanks for the quick response, I will try it out immediately, but first:
can I compile the older versions of zsnes with the new utils you mentioned?
I recommend recompiling everything with the latest MinGW.and shold i recompile the zlib and libpng too?
It was a special version made just for ZSNES. I guess Nach removed it since it was no longer needed. You can get it here: http://rapidshare.de/files-en/542604/nasmw.zip.html. For CVS compiles or versions after 1.42, you should use the latest official NASM.mague wrote:The new NASM link you added is broken is broken... can you tell me the version number? Till that I will use the newest one I find...
Yesmague wrote:I still need to overwrite everything with win32api if I use this new mingw?
Almost everything, but not quite.mague wrote:It seams that this new wersion already contains all the files from win32api3.2
[u][url=http://bash.org/?577451]#577451[/url][/u]
to creaothceann:
Thanks for the info, I did not see that... and yes, this is fixed my problem
truely...
to Noxious Ninja:
Thanks again, I will recompile everything then.
I found that the latest official NASM was: nasm-0.98.39-win32.zip and I already used that. Or there is a newer version somewhere? On sourceforge I could not find any newer...
Finally It compiled, thanks for all your help.
Thanks for the info, I did not see that... and yes, this is fixed my problem

to Noxious Ninja:
Thanks again, I will recompile everything then.
I found that the latest official NASM was: nasm-0.98.39-win32.zip and I already used that. Or there is a newer version somewhere? On sourceforge I could not find any newer...

Finally It compiled, thanks for all your help.
Last edited by mague on Mon Feb 07, 2005 8:08 pm, edited 2 times in total.
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
And for newer versions that will turn out in that time I think, again, thanks everithing.
Is it possible/or permitted to change the gui (menu) asm's so it can be translated to other language?
And what characters is the ZSNES supports? I need 6 extra chars for the language I want. That is in the ASCII code table in the secound 128 characters...
And one last question, is it true that the burn and water effect is not working without msvc compiling? (Is it crashes the emu or its simply not response to the configuratin?)
Is it possible/or permitted to change the gui (menu) asm's so it can be translated to other language?
And what characters is the ZSNES supports? I need 6 extra chars for the language I want. That is in the ASCII code table in the secound 128 characters...
And one last question, is it true that the burn and water effect is not working without msvc compiling? (Is it crashes the emu or its simply not response to the configuratin?)
Last edited by mague on Mon Feb 07, 2005 8:58 pm, edited 1 time in total.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
No...Noxious Ninja wrote:
It was a special version made just for ZSNES. I guess Nach removed it since it was no longer needed.
You linked our visitor to a thread he can't access, not my NASM.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Oh. I didn't even think about that. My bad.Nach wrote:No...
You linked our visitor to a thread he can't access, not my NASM.
You would have to add the font for the characters.mague wrote:ZSNES isn't support extra/special characters like éáűőúöüó?
I tried to make it with "dos-> west-european" format, but stil no spec chars...
Haw can they be added? I have to write the shar graphics in asm code to get them?
Just the burn/smoke effect doesn't work. It doesn't crash, it simply doesn't display the effect.mague wrote:And one last question, is it true that the burn and water effect is not working without msvc compiling? (Is it crashes the emu or its simply not response to the configuratin?)
EDIT: I'm kind of confused here. Which file corresponds to the ZSNES "burning effect", smoke.c or burn.c?
Last edited by Noxious Ninja on Mon Feb 07, 2005 9:42 pm, edited 1 time in total.
[u][url=http://bash.org/?577451]#577451[/url][/u]
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
The snow effect is stored in gui.asm.Vareni Stargazer wrote:burn.c, I believe. smoke.c is the old smoke effect.Noxious Ninja wrote:EDIT: I'm kind of confused here. Which file corresponds to the ZSNES "burning effect", smoke.c or burn.c?
I don't know where the snow effect's stored, but it's probably in the one for the water effects.
[u][url=http://bash.org/?577451]#577451[/url][/u]