Homesource Forums

Homeworld Source Editing Talk
It is currently Mon Apr 24, 2017 9:52 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: r694 broken
PostPosted: Mon Jun 21, 2010 10:17 am 
Offline
coder

Joined: Mon Jan 29, 2007 2:45 pm
Posts: 61
I've been busy with other stuff lately, but tried to compile current Homeworld again today.

What was r694 supposed to fix? It breaks the game rather spectacularly for me: the mothership, the scaffold and the initial fleet become two-dimensional, all projected to the plane aligned with the side of the mothership. Curiously the cryo trays, asteroids and target drones seem to render correctly. The flattened ships are also unable to navigate: if I direct the scouts to attack the drones, they spread out and start heading into the distance, and the resource collector is not any better at finding rocks.

All versions from 694 to 712 are broken thus. Everything compiles and runs normally if I revert r694. I am using GCC 4.4.4 on 32-bit Linux. Was r694 an attempted workaround for some problem with GCC 4.3 that has been fixed in the compiler since?


Top
 Profile  
 
 Post subject: Re: r694 broken
PostPosted: Sun Aug 29, 2010 12:41 pm 
Offline
coder

Joined: Tue Nov 07, 2006 4:40 am
Posts: 236
I'm guessing that this was me. :)

I'll have a look. If it is something I did to resolve the problem in 4.3 I can probably fix this quite quickly. I'll check and then post here.

Back from the Gardens of Kedesh! (Finally)

Aunxx.


Top
 Profile  
 
 Post subject: Re: r694 broken
PostPosted: Mon Aug 30, 2010 3:40 am 
Offline
coder

Joined: Tue Nov 07, 2006 4:40 am
Posts: 236
Hi.

I've looked at this and done some timings and I think that the ASM is no longer relevant.

The native compiled version seems faster than the custom code.

I'm going to go the code base and start removing all the ASM for x86 and x86_64. I'll leave the Mac code in place, but after I've made the changes it might be better to move everyting to the same code.

I've also had an epiphany about the ETG code. I'll test that and if it works submit that as well. It'll need doing anyway if I am to remove the ASM.

Aunxx.


Top
 Profile  
 
 Post subject: Re: r694 broken
PostPosted: Sat Sep 04, 2010 2:50 am 
Offline
coder

Joined: Tue Nov 07, 2006 4:40 am
Posts: 236
Hi.

Just dug out my old i386 machine and tried to compile homeworld using gcc 4.4.3 and it failed on demo.c

Is anyone able to try and re-create this by doing a make clean ant trying to compile the whole game again please?

Aunxx.


Top
 Profile  
 
 Post subject: Re: r694 broken
PostPosted: Tue Sep 14, 2010 1:32 am 
Offline
coder

Joined: Tue Nov 07, 2006 4:40 am
Posts: 236
Hi.

Should now be fixed.

Aunxx


Top
 Profile  
 
 Post subject: Re: r694 broken
PostPosted: Tue Sep 21, 2010 4:18 pm 
Offline
coder

Joined: Mon Jan 29, 2007 2:45 pm
Posts: 61
Yes, seems to work again. Thanks!


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

All times are UTC - 5 hours


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