View Thread
|
PDS-AS Mac Crashing bug + solution
|
|
| Kanashiili |
Posted on 08-03-2006 07:52
|
|
Posts: 9 Joined: September 26 2005 |
In the StartWeaponConfig function, the iMaxEffectsSpawned argument determines the number of times a weapon hits. Supposedly a value of 0 means 1 hit if fWeaponFireLifetime is equal to 0. BUT! On the mac, they seem to have forgotten that rule, and so a value of 0 there crashes on load. I noticed this in the MSL-MT3-W1-SRASTM.wepn file: Code Download source StartWeaponConfig(NewWeaponType,"Fixed","Missile","PDS8-HVASTM-Stg2","Normal",320,60000,0,0,0,0,0,0,0,3,12,20,1,1,25,10,0.1,"Normal",0,0,0) The above crashes a mac on load. Code Download source StartWeaponConfig(NewWeaponType,"Fixed","Missile","PDS8-HVASTM-Stg2","Normal",320,60000,0,0,0,0,1,0,0,3,12,20,1,1,25,10,0.1,"Normal",0,0,0) Does not, although they are functionally identical. Edited by Sun Tzu on 10-03-2006 21:25 |
|
|
|
| Kanashiili |
Posted on 08-03-2006 16:58
|
|
Posts: 9 Joined: September 26 2005 |
Also, I think this is already known, but the planets don't work on the mac. I'm trying to figure out why. |
|
|
|
| Sun Tzu |
Posted on 08-03-2006 17:25
|
|
Posts: 528 Joined: September 08 2005 |
The bug is in the HOD files. AFAIK the HODs that cannot be displayed in HardEd with PointPicker are the same as those that crash HW2 on a mac. |
|
|
|
| Jas86 |
Posted on 09-03-2006 07:41
|
|
Posts: 10 Joined: September 07 2005 |
I keep getting a crash in 7.4 on loading when the progress bar reaches the "Universe" subtext. I tried a couple fixes including deleting the planets from the scenarios and the weapon fix that Kanashiili described. Any ideas? I'll see if I can figure it out. "Man, have pity on man."
|
|
|
|
| Sun Tzu |
Posted on 09-03-2006 07:57
|
|
Posts: 528 Joined: September 08 2005 |
One of the backgrounds crashes mac HW2 too. I don't have its name on the top of my head, it has already been mentioned on this forum. Otherwise make sure you started with a new profile. |
|
|
|
| Jas86 |
Posted on 09-03-2006 20:03
|
|
Posts: 10 Joined: September 07 2005 |
Hrm... still no dice, but at least it crashed as the "Load Level" subtext this time.![]() Pity. Edited by Jas86 on 09-03-2006 20:08 "Man, have pity on man."
|
|
|
|
| Sun Tzu |
Posted on 09-03-2006 22:46
|
|
Posts: 528 Joined: September 08 2005 |
There must be some characters in certain level files that HW2 can't read. Just copy-paste the "NonDetermChunk" chunk from a level that doesn't crash to the others. Strange as it seems, everything will be fine. |
|
|
|
| Kanashiili |
Posted on 10-03-2006 08:15
|
|
Posts: 9 Joined: September 26 2005 |
There are more missile weapons with that error. I just pointed out one. I think that they were: MSL-MT3-W1-SRASTM MSL-MT3-W1-ERASTM MSL-MT12-W3-ERASTM-9xpod |
|
|
|
| Jas86 |
Posted on 10-03-2006 20:12
|
|
Posts: 10 Joined: September 07 2005 |
Alright, it looks like everything's running smooth now. Thanks guys.
"Man, have pity on man."
|
|
|
|
| Sun Tzu |
Posted on 10-03-2006 21:21
|
|
Posts: 528 Joined: September 08 2005 |
Cool. Let's make this thread sticky and its title a bit more self-explanatory, pending a mac-friendly release. |
|
|
|
| Kanashiili |
Posted on 11-03-2006 20:33
|
|
Posts: 9 Joined: September 26 2005 |
Also AD-HACIIC-36ship-750km in 7.5 |
|
|
|
| voyagerd |
Posted on 29-05-2006 23:49
|
|
Posts: 27 Joined: September 02 2005 |
What weapons file do mac users have to modify in PDS 9.0? |
|
|
|
| Tristan |
Posted on 11-07-2006 06:49
|
|
Posts: 304 Joined: June 28 2006 |
Quote Sun Tzu wrote: There must be some characters in certain level files that HW2 can't read. Just copy-paste the "NonDetermChunk" chunk from a level that doesn't crash to the others. Strange as it seems, everything will be fine. This doesn't seem to be working for me. |
|
|
|
| Tristan |
Posted on 12-07-2006 01:02
|
|
Posts: 304 Joined: June 28 2006 |
From the SCN1 level:... function NonDetermChunk() fogSetActive(0) setGlareIntensity(0.10) setLevelShadowColour(0,0,0,1) loadBackground("m15") setSensorsManagerCameraDistances(1000, 100000) setDefaultMusic("Data:sound/music/battle/battle_keeper") end This seems to be the most common NonDetermChunk. I can't find another that'll make the level work, though. Anyone have an example? |
|
|
|
| Tristan |
Posted on 13-07-2006 00:01
|
|
Posts: 304 Joined: June 28 2006 |
Can anyone please help me out? Sun? I'm *desperate*! |
|
|
|
| thecrazynomad |
Posted on 09-08-2006 23:15
|
|
Posts: 1 Joined: August 09 2006 |
I've tried making the changes that have been detailed in this post to the file but I still can't seem to get it to work right. Has anyone gotten this to run on there macs and could you provide a link so that I can download the working file?? |
|
|
|
| jerkasaurus |
Posted on 12-08-2006 04:19
|
|
Posts: 1 Joined: August 11 2006 |
Maybe I'm missing something in this thread, but where exactly is the file in which these edits need to be made. I cant find it for the life of me. |
|
|
|
| Sun Tzu |
Posted on 13-08-2006 14:09
|
|
Posts: 528 Joined: September 08 2005 |
Don't despair, fellow mac users, but be patient ;D I'll take care of this before the end of this month. |
|
|
|
| Sun Tzu |
Posted on 30-08-2006 15:06
|
|
Posts: 528 Joined: September 08 2005 |
I've checked this and :sigh: it does crash even after fixing missile and level files. Picking up the suspect file is a long process for a doubtful benefit with an interrupted development. The UE files do work fine on my mac, with the only exception of the carrier vs carrier level. More on this later. |
|
|
|
| Jump to Forum |










