The expression evaluator wasn't handling the attributes for ANY of the comparisons correctly (i.e., the same as subtraction, which is all comparisons really are). The modified expr.c file for smac can be found here:
The SMAC bugfix thread
Moderator: a31chris
The SMAC bugfix thread
Thanks to Chilly Willy he has squished the SMAC bug that stops it from dealing with the .IF expression properly:
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
SMACs 64bit problems
Layout of some of the problems needing fixed for Smac to make it 64bit friendly courtesy of Chilly Willy:
Smac segfaults at different places depending on the source (sometimes it makes it through just fine), and when I look at it in gdb, the symbol table has nonsense pointers in it. Looking at the source, the code mostly assumes that pointers are the same as ints. Smac uses "unsigned long" which is 64-bit on 64-bit systems, but it still treats this type of var like it was 32-bit (especially in the token code).
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
Smac with Typo bugfix and sources. DOES NOT include the Chily Willy bugfix. Still not 64bit friendly. Make sure to compile in 32 bit.
- Attachments
-
- smac-1.0.17.zip
- Smac with Typo pack/unpack bugfix. Does not include Chilly Willy bugfix.
- (179.15 KiB) Downloaded 417 times
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
SMAC version 1.0.18
This source version contains Dr. Typos bugfix and Chilli Willys bugfix.
- Attachments
-
- smac-v1.0.18-src.zip
- Smac version 1.0.18 No you still can't compile this one in 64bits. 32 bit only. Sheesh. So impatient. Makefiles support Visual Studio or Linux/Cygwin environments. I couldn't build it with my Windows mingw-32 setup.
- (102.45 KiB) Downloaded 419 times
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
SMAC 1.0.18 32 bit Windows Binary
Here's the binary
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: SMAC 1.0.18 32 bit Windows Binary
I am having trouble with this version on 32bit windows xp. I keep getting 'this is not a valid win32 application, access denied'.a31chris wrote:Here's the binary
I am going to try and figure it out.
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
It appears the above smac binary when compiled with Visual Studio puts hooks into it making it incompatible with anything older than Vista. I hate that monopolistic crap.
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
Thank you for this information. I'm back from my travel and I will check the Visual Studio options to see if there are possibilities to have better compatibilitiesa31chris wrote:It appears the above smac binary when compiled with Visual Studio puts hooks into it making it incompatible with anything older than Vista. I hate that monopolistic crap.
Re: The SMAC bugfix thread
Welcome back!flynn wrote:Thank you for this information. I'm back from my travel and I will check the Visual Studio options to see if there are possibilities to have better compatibilitiesa31chris wrote:It appears the above smac binary when compiled with Visual Studio puts hooks into it making it incompatible with anything older than Vista. I hate that monopolistic crap.
Don't worry about this. I will see if I can fix the makefile. Not a worry. Otherwise I will have Orwell take a crack at compiling it. I had not thought about that. I had it compile Jserve which it barfed on.
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
Ok, I have found a couple options to handle in the VS 2013 project. When properly set, it should make executable XP compatible. I'm going try this solution.a31chris wrote:Welcome back!flynn wrote:Thank you for this information. I'm back from my travel and I will check the Visual Studio options to see if there are possibilities to have better compatibilitiesa31chris wrote:It appears the above smac binary when compiled with Visual Studio puts hooks into it making it incompatible with anything older than Vista. I hate that monopolistic crap.
Don't worry about this. I will see if I can fix the makefile. Not a worry. Otherwise I will have Orwell take a crack at compiling it. I had not thought about that. I had it compile Jserve which it barfed on.
Re: The SMAC bugfix thread
OK Flynn if you wish.
I am going to try converting the Cygwinn makefile to mingw compatibility anyways. Good practice. I suck at complex makefiles.
I am going to try converting the Cygwinn makefile to mingw compatibility anyways. Good practice. I suck at complex makefiles.
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.a31chris wrote:OK Flynn if you wish.
I am going to try converting the Cygwinn makefile to mingw compatibility anyways. Good practice. I suck at complex makefiles.
Do you know if Chilliy Willy will fix the issue reported from Atari Age forum?
- Attachments
-
- smac_1.0.18_WIN32.zip
- Smac 1.0.18, Windows 32 bits, release
- (47.55 KiB) Downloaded 447 times
Re: The SMAC bugfix thread
I will check this out. Also check your PM's.flynn wrote:Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.a31chris wrote:OK Flynn if you wish.
I am going to try converting the Cygwinn makefile to mingw compatibility anyways. Good practice. I suck at complex makefiles.
Do you know if Chilliy Willy will fix the issue reported from Atari Age forum?
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
YES IT DOES. It works. Thank you.flynn wrote:Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.a31chris wrote:OK Flynn if you wish.
I am going to try converting the Cygwinn makefile to mingw compatibility anyways. Good practice. I suck at complex makefiles.
What came after the Jaguar was the PS1 which for all it's greatness, ushered in corporate development and with it the bleached, repetitive, bland titles which for the most part we're still playing today. - David Wightman
Re: The SMAC bugfix thread
Good, so I have applied the same treatment to JCP2 and jserve. Both tools have been added in their respective threads on the forum.a31chris wrote:YES IT DOES. It works. Thank you.flynn wrote:Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.a31chris wrote:OK Flynn if you wish.
I am going to try converting the Cygwinn makefile to mingw compatibility anyways. Good practice. I suck at complex makefiles.