3DO ZONE Forums

The Only R.E.A.L. 3DO Experience.
It is currently Thu Mar 23, 2017 3:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: The SMAC bugfix thread
PostPosted: Wed Dec 31, 2014 7:19 am 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
Thanks to Chilly Willy he has squished the SMAC bug that stops it from dealing with the .IF expression properly:

Quote:
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:
Attachment:
File comment: Bugfixed expr.c file for SMAC. When compiling SMAC be sure to force it into 32 bit mode on compile. The source is not yet 64 bit friendly.
expr.zip [3.99 KiB]
Downloaded 62 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


Top
 Profile  
 
 Post subject: SMACs 64bit problems
PostPosted: Thu Jan 01, 2015 7:55 pm 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
Layout of some of the problems needing fixed for Smac to make it 64bit friendly courtesy of Chilly Willy:

Quote:
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


Top
 Profile  
 
PostPosted: Fri Jan 02, 2015 12:57 am 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
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:
File comment: Smac with Typo pack/unpack bugfix. Does not include Chilly Willy bugfix.
smac-1.0.17.zip [179.15 KiB]
Downloaded 58 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
Top
 Profile  
 
 Post subject: SMAC version 1.0.18
PostPosted: Fri Jan 02, 2015 2:51 am 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
This source version contains Dr. Typos bugfix and Chilli Willys bugfix.


Attachments:
File comment: 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.
smac-v1.0.18-src.zip [102.45 KiB]
Downloaded 65 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
Top
 Profile  
 
PostPosted: Wed Jan 07, 2015 8:59 am 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
Here's the binary
Attachment:
File comment: Smac 1.0.18 Windows 32bit build.
smac.exe.zip [47.4 KiB]
Downloaded 63 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


Top
 Profile  
 
PostPosted: Sat Jan 24, 2015 6:16 am 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
a31chris wrote:
Here's the binary
Attachment:
smac.exe.zip


I am having trouble with this version on 32bit windows xp. I keep getting 'this is not a valid win32 application, access denied'.

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


Top
 Profile  
 
PostPosted: Fri Feb 13, 2015 9:55 pm 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
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


Top
 Profile  
 
PostPosted: Tue Feb 17, 2015 5:53 am 
Offline
3DO ZERO USER

Joined: Tue Dec 09, 2014 12:59 am
Posts: 49
a31chris 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.

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 compatibilities


Top
 Profile  
 
PostPosted: Tue Feb 17, 2015 6:54 pm 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
flynn wrote:
a31chris 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.

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 compatibilities


Welcome back!

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


Top
 Profile  
 
PostPosted: Thu Feb 19, 2015 4:59 am 
Offline
3DO ZERO USER

Joined: Tue Dec 09, 2014 12:59 am
Posts: 49
a31chris wrote:
flynn wrote:
a31chris 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.

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 compatibilities


Welcome back!

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.

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.


Top
 Profile  
 
PostPosted: Fri Feb 20, 2015 6:50 am 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
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


Top
 Profile  
 
PostPosted: Sat Feb 21, 2015 4:49 pm 
Offline
3DO ZERO USER

Joined: Tue Dec 09, 2014 12:59 am
Posts: 49
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.

Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.
Do you know if Chilliy Willy will fix the issue reported from Atari Age forum?


Attachments:
File comment: Smac 1.0.18, Windows 32 bits, release
smac_1.0.18_WIN32.zip [47.55 KiB]
Downloaded 55 times
Top
 Profile  
 
PostPosted: Sat Feb 21, 2015 6:14 pm 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
flynn wrote:
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.

Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.
Do you know if Chilliy Willy will fix the issue reported from Atari Age forum?


I will check this out. Also check your PM's.

_________________
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


Top
 Profile  
 
PostPosted: Sat Feb 21, 2015 6:54 pm 
Offline
Jaguar MOD
User avatar

Joined: Mon Apr 01, 2013 7:09 am
Posts: 816
flynn wrote:
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.

Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.


YES IT DOES. It works. Thank you.

_________________
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


Top
 Profile  
 
PostPosted: Sat Feb 21, 2015 7:17 pm 
Offline
3DO ZERO USER

Joined: Tue Dec 09, 2014 12:59 am
Posts: 49
a31chris wrote:
flynn wrote:
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.

Could you try this executable? I have used the new options with Visual studio C++ 13. It should work on Windows XP now.


YES IT DOES. It works. Thank you.

Good, so I have applied the same treatment to JCP2 and jserve. Both tools have been added in their respective threads on the forum.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group