Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 2 of 3 1 2 3
#4520542 - 05/11/20 07:42 PM Re: Comanche Gold On Modern Computers ***** [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
Hi to everyone,

Just jumped in to provide some "bug reporting". I am not sure if anyone noticed but Your teammate Griffon 2.7 is bugged, in the gold version, he is drifting to the left while shooting its main cannon, so at the same time. This does not happen in the MS-DOS version.
Wondering if someone can take a look and fix this.

Compare Griffon 2.7 with the MS-DOS version of C3 and Comanche Gold, and you will see. This happens when he is attacking something and using its main gun. I know that the teammate AI is kind of poor, but this would be a great improvement.

Inline advert (2nd and 3rd post)

#4520559 - 05/11/20 11:15 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
Hi fearofthedarkhun, welcome to the forums!

It's funny you should mention this, I had someone e-mail me recently also talking about how he noticed that the wingman AI in C3 is also better than in CG, and that you can actually count on him being quite effective in offense as well as not getting shot down by SAM sites all the time. I'm guessing it wasn't you though. As far as I'm aware nobody has ever got that deep into the game files or code. Apparently there's a file called WINGMAN.AI or something so I suggested to try extracting that from C3 and using it in CG, but it was said that C3 uses .res files as opposed to CG's .pff files for archiving, where the file resides. As far as I know there's no program to open .res files. I do have C3 but have never actually installed it, so can't vouch for any of these claims personally.

I'd say you're probably out of luck on this one. As you can probably tell the Comanche community is as dead as the real thing.

#4520671 - 05/12/20 08:16 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
Originally Posted by Flyboy
Hi fearofthedarkhun, welcome to the forums!

It's funny you should mention this, I had someone e-mail me recently also talking about how he noticed that the wingman AI in C3 is also better than in CG, and that you can actually count on him being quite effective in offense as well as not getting shot down by SAM sites all the time. I'm guessing it wasn't you though. As far as I'm aware nobody has ever got that deep into the game files or code. Apparently there's a file called WINGMAN.AI or something so I suggested to try extracting that from C3 and using it in CG, but it was said that C3 uses .res files as opposed to CG's .pff files for archiving, where the file resides. As far as I know there's no program to open .res files. I do have C3 but have never actually installed it, so can't vouch for any of these claims personally.

I'd say you're probably out of luck on this one. As you can probably tell the Comanche community is as dead as the real thing.


Thanks!

Yep that is sad. Although it does appear to be openable:

https://extension.nirsoft.net/res
https://fileinfo.com/extension/res

Not sure if these are valid though. And yes I noticed this while watching the teammate AI drifting to the left always while shooting its main gun. In the original C3 it is offensive against anything it comes against. It is the same in gold, but always drifts left, definitely a bug. I am not sure if this is possible to fix without advanced coding knowledge though.

#4520680 - 05/12/20 09:43 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
The .res file extension is used by many different programs and games and internally are pretty much all different. Unless a file format is very common and standardized, it can pretty much be used for anything. In NovaLogic's case they obviously decided to use the .res extension to signify, I'm guessing, resource files. But like I said the community has never really gone that deep with the guts of the game and the changes we did make had to be done with a Hex editor.

#4521069 - 05/16/20 05:07 AM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Apr 2018
Posts: 14
Noddynod443 Offline
Junior Member
Noddynod443  Offline
Junior Member

Joined: Apr 2018
Posts: 14
Hey Flyboy,

Would you know where I can find a tutorial or very detailed instructions on how to host with the Commanche Gold CGOLDIP multiplayer program and is the program for online multiplayer only or can it be used to run in real ethernet cable connected Lan using tcp/ip?

#4521121 - 05/16/20 06:23 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
Hi Noddynod,

The only instructions that I know of are provided in the readme file that is included in the program download. It's the best part of a decade since I messed with this so anything that's not documented there or on my site has probably been lost to time.

From the readme: "CGoldIP is a program that allows Comanche Gold to engage in multiplayer games over TCP/IP."

CGOLDIP

CGoldIP Program Report

#4521223 - 05/17/20 06:27 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Apr 2020
Posts: 12
Dragon36 Offline
Junior Member
Dragon36  Offline
Junior Member

Joined: Apr 2020
Posts: 12
OK, controllers working. Now to remember how to play so I can start programming buttons.
Getting there.

#4521224 - 05/17/20 06:34 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Apr 2020
Posts: 12
Dragon36 Offline
Junior Member
Dragon36  Offline
Junior Member

Joined: Apr 2020
Posts: 12
I just read the new posts, nice to know the game isn't dead. Once I manager to conquer the basics would be up to tackling multiplayer.

I always felt Griffin was more a warning. Maybe he was just hungover.

Dragon3-6

#4522465 - 05/26/20 05:26 PM Re: Comanche Gold On Modern Computers [Re: fearofthedarkhun]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
hi fearofthedarkhun

Look at the 4 Blackhawks AI which are shooting on land targets and made a circle to the right






ufo :-)

Last edited by ufolev; 05/26/20 05:55 PM.
#4522476 - 05/26/20 06:15 PM Re: Comanche Gold On Modern Computers [Re: Dragon36]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
hi Dragon36

Look at Flyboy and friends at a online multiplayer game on 2010.





ufo :-)

Last edited by ufolev; 05/26/20 06:18 PM.
#4523699 - 06/03/20 11:02 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Apr 2020
Posts: 12
Dragon36 Offline
Junior Member
Dragon36  Offline
Junior Member

Joined: Apr 2020
Posts: 12
Nice. Don't think I ever tried coop. Really enjoyed multiplayer though.

Have it working and am trying to remember how to play and programming controls now. When I get it programmed and can fly again, I'll start checking out the new missions I see posted .

Dragon3-6

#4530880 - 07/21/20 09:13 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
@ufolev and @flyboy,

Here is a video I recorded of this behaviour. This is clear, and really sad that novalogic didn't notice this, looking at you QA and testers.
But yeah indeed this can be cumbersome to fix.



Looking for that Wingman.AI file from the DOS version (Not even finding it <.<) and perhaps give this a try, however I am not an expert coder / debugger at all.
Update: I am not finding any file like that on DOS in even in gold, any .res files either. I am probably forgetting something as I think I found it last time.

Yes, it is most likely RESOURCES.RES (C3) and resource.pff (Gold), and indeed having trouble to open that RES file with 3 programs. Last hope is microsoft visual studio 2019 lol. (Studied some basic C# with it)
Also not sure how to open .pff files, perhaps that can be a good start to be able to read what both files have about the AI. If someone can help to open that, I will probably take a look but never really dealt with AI stuff.

I forgot to record sound and audio, however you can see the main cannon shots and drift combo. It is definitely an AI issue and is related to the teammate only. It might not be related to shooting, but when his main cannon target aimer is in the rectangle of the enemy unit, he starts to drift.
In DOS, he straight goes for targets in sequences. cannon cannon cannon, hellfire, cannon cannon cannon, hellfire. Target acquisition is sometimes random.

Maybe Novalogic was experimenting with evasion?

Not a big deal since even in DOS he is kind of dumb, but this makes him utterly useless, with the exception of using him as a decoy until you destroy your critical target trying to kill you lol.
Also I know this is an old game, but one of the best games ever made and myself likes to check some IT things out.

(Comanche 4 is good however it doesn't have the same atmosphere and mechanics just as Comanche 3)

Can live with this bug eventually, if it can't be fixed.

@ufolev,

Quote
Look at the 4 Blackhawks AI which are shooting on land targets and made a circle to the right


At which time does that happen?

Last edited by fearofthedarkhun; 07/22/20 08:37 PM.
#4531299 - 07/25/20 07:22 AM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Hello fearofthedarkhun

You can open PFF file with FwO Raven's Pff Utility
Flyboy is an expert about PFF files

I think that the drifting of the everyone AI while shooting is intended to change the angle of the weapon to ensure a clear direct view to the target.
Blackhawks are AI -They make a big circle around the targets , drifting to the right..
And If you shoot with a gun it moves in the opposite direction of the bullet.

ufo

Last edited by ufolev; 07/25/20 01:23 PM.
#4531302 - 07/25/20 09:29 AM Re: Comanche Gold On Modern Computers [Re: ufolev]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
I checked your video entirely now and this doesn't appear to be the same behaviour that Griffon 2.7 has, which appears to be a bug.
The Blackhawks are not drifting constantly to the left, they are simply positioning themselves to the right, which I think is happening in the dos version as well. They don't change their chopper rotation during their cannon fire.
The lar
Griffon 2.7 on the other hand drifts always to the left when he is shooting or the target rectangle is on a target. The larger the distance is he drifts even more.

Thanks for sharing that tool, would be nice if I could open the .res file as well some way, Visual studio 2019 maybe.

Last edited by fearofthedarkhun; 07/25/20 09:30 AM.
#4531303 - 07/25/20 09:41 AM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
Managed to get out the wingman.ai from the pff.

Not sure if I can paste it here, does not tell much unfortunately for the time being.

Code
;AI descriptor file
;3D object parts
>g      ;green
cmah_bod.3do    ;0
cmah_bl1.3do    ;1
cmah_bl2.3do    ;2
cmah_rtr.3do    ;3
cmah_int.3do    ;4
cmah_ldr.3do    ;5
cmah_ldl.3do    ;6
cmah_ldk.3do    ;7
cmah_mdr.3do    ;8
cmah_mdl.3do    ;9
cmah_lgr.3do    ;10
cmah_lgl.3do    ;11
cmah_lgk.3do    ;12
cmah_gun.3do    ;13
cmah_hed.3do    ;14
cmah_wpr.3do    ;15
cmah_wpl.3do    ;16
cmah_gn2.3do    ;17
cmah_fam.3do    ;18
cmah_in2.3do    ;19
cmah_ldj.3do    ;20
cmah_nos.3do    ;21
cmah_box.3do    ;22
coma_l.3do      ;23
<
>d      ;desert
cmbh_bod.3do    ;0
cmah_bl1.3do    ;1
cmah_bl2.3do    ;2
cmah_rtr.3do    ;3
cmah_int.3do    ;4
cmbh_ldr.3do    ;5
cmbh_ldl.3do    ;6
cmbh_ldk.3do    ;7
cmbh_mdr.3do    ;8
cmbh_mdl.3do    ;9
cmah_lgr.3do    ;10
cmah_lgl.3do    ;11
cmah_lgk.3do    ;12
cmah_gun.3do    ;13
cmah_hed.3do    ;14
cmah_wpr.3do    ;15
cmah_wpl.3do    ;16
cmah_gn2.3do    ;17
cmbh_fam.3do    ;18
cmah_in2.3do    ;19
cmbh_ldj.3do    ;20
cmbh_nos.3do    ;21
cmbh_box.3do    ;22
comb_l.3do      ;23
<
>s      ;snow
cmch_bod.3do    ;0
cmah_bl1.3do    ;1
cmah_bl2.3do    ;2
cmah_rtr.3do    ;3
cmah_int.3do    ;4
cmch_ldr.3do    ;5
cmch_ldl.3do    ;6
cmch_ldk.3do    ;7
cmch_mdr.3do    ;8
cmch_mdl.3do    ;9
cmah_lgr.3do    ;10
cmah_lgl.3do    ;11
cmah_lgk.3do    ;12
cmah_gun.3do    ;13
cmah_hed.3do    ;14
cmah_wpr.3do    ;15
cmah_wpl.3do    ;16
cmah_gn2.3do    ;17
cmch_fam.3do    ;18
cmah_in2.3do    ;19
cmch_ldj.3do    ;20
cmch_nos.3do    ;21
cmch_box.3do    ;22
comb_l.3do      ;23
<<
;4-letter plot routines (must match loaded parts)
coma,0,24
1prt,23,999999
1prt,23
;4-letter move routine (enter NULL for static object)
wing
<
1       ;Collidable
0       ;Missile / Projectile
0       ;Landable - You can land on the top of this object

1       ;Good Team - Bad Target
0       ;Bad Team - Good Target
1       ;High Priority Target - Friendly Fire System
1       ;Air

40      ;hit points
3       ;(0=UNK,1=TaNK,2=AIR,3=COPter,4=GUN,5=MiSsiLe)
GRIFFON 2-7
<


well indeed it seems I will have to find a way to extract that res file.

#4531307 - 07/25/20 11:31 AM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
Here is what he does in the DOS version, apologies for the resolution. The AI behaviour Looks much better.



Last edited by fearofthedarkhun; 07/25/20 11:36 AM.
#4531368 - 07/25/20 06:23 PM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
Well you can open it with Microsoft visual studio, I have 2012.

And I found this in it, appears to be hexa stuff indeed and you would need hexeedting indeed for dos.

visual studio 2012

Code
;AI descriptor file
;3D object parts
>g      ;green
cmah_bod.3do    ;0
cmah_bl1.3do    ;1
cmah_bl2.3do    ;2
cmah_rtr.3do    ;3
cmah_int.3do    ;4
cmah_ldr.3do    ;5
cmah_ldl.3do    ;6
cmah_ldk.3do    ;7
cmah_mdr.3do    ;8
cmah_mdl.3do    ;9
cmah_lgr.3do    ;10
cmah_lgl.3do    ;11
cmah_lgk.3do    ;12
cmah_gun.3do    ;13
cmah_hed.3do    ;14
cmah_wpr.3do    ;15
cmah_wpl.3do    ;16
cmah_gn2.3do    ;17
cmah_fam.3do    ;18
cmah_in2.3do    ;19
cmah_ldj.3do    ;20
cmah_nos.3do    ;21
cmah_box.3do    ;22
coma_l.3do      ;23
<
>d      ;desert
cmbh_bod.3do    ;0
cmah_bl1.3do    ;1
cmah_bl2.3do    ;2
cmah_rtr.3do    ;3
cmah_int.3do    ;4
cmbh_ldr.3do    ;5
cmbh_ldl.3do    ;6
cmbh_ldk.3do    ;7
cmbh_mdr.3do    ;8
cmbh_mdl.3do    ;9
cmah_lgr.3do    ;10
cmah_lgl.3do    ;11
cmah_lgk.3do    ;12
cmah_gun.3do    ;13
cmah_hed.3do    ;14
cmah_wpr.3do    ;15
cmah_wpl.3do    ;16
cmah_gn2.3do    ;17
cmbh_fam.3do    ;18
cmah_in2.3do    ;19
cmbh_ldj.3do    ;20
cmbh_nos.3do    ;21
cmbh_box.3do    ;22
comb_l.3do      ;23
<
>s      ;snow
cmch_bod.3do    ;0
cmah_bl1.3do    ;1
cmah_bl2.3do    ;2
cmah_rtr.3do    ;3
cmah_int.3do    ;4
cmch_ldr.3do    ;5
cmch_ldl.3do    ;6
cmch_ldk.3do    ;7
cmch_mdr.3do    ;8
cmch_mdl.3do    ;9
cmah_lgr.3do    ;10
cmah_lgl.3do    ;11
cmah_lgk.3do    ;12
cmah_gun.3do    ;13
cmah_hed.3do    ;14
cmah_wpr.3do    ;15
cmah_wpl.3do    ;16
cmah_gn2.3do    ;17
cmch_fam.3do    ;18
cmah_in2.3do    ;19
cmch_ldj.3do    ;20
cmch_nos.3do    ;21
cmch_box.3do    ;22
comb_l.3do      ;23
<<
;4-letter plot routines (must match loaded parts)
coma,0,24
1prt,23,999999
1prt,23
;4-letter move routine (enter NULL for static object)
wing
<
1       ;Collidable
0       ;Missile / Projectile
0       ;Landable - You can land on the top of this object

1       ;Good Team - Bad Target
0       ;Bad Team - Good Target
1       ;High Priority Target - Friendly Fire System
1       ;Air

40      ;hit points
3       ;(0=UNK,1=TaNK,2=AIR,3=COPter,4=GUN,5=MiSsiLe)
GRIFFON 2-7
<


Will compare this with the pff. But looks to be the same.

Used Text compare and yes this is the same code, so that means the bug is located somewhere else.

@Ufolev or Flyboy any ideas perhaps what may control Griffon 2.7's behaviour? I can open these RES files and perhaps take a look but I believe this is going to be the exe itself I am afraid.

Last edited by fearofthedarkhun; 07/25/20 06:56 PM.
#4531418 - 07/26/20 07:00 AM Re: Comanche Gold On Modern Computers [Re: fearofthedarkhun]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Hi fearofthedarkhun,

I respect your own effort to discover something new about the game like all others who did it before .
Give it some time and then enjoy the discoveries and inventions of the others like:

- new missions, new campaign,
- hi resolution, hi detail, anti aliasing game picture,
- new mission editor moderator,
- the universal trainer,
- the virtual joystick,
- new terrains from Armored Fist and Delta Force games

all best!

ufo :-)











Last edited by ufolev; 07/26/20 07:08 AM.
#4531420 - 07/26/20 09:23 AM Re: Comanche Gold On Modern Computers [Re: Flyboy]  
Joined: May 2020
Posts: 12
fearofthedarkhun Offline
Junior Member
fearofthedarkhun  Offline
Junior Member

Joined: May 2020
Posts: 12
Hi Ufo,

Thanks! I have already installed Gold and used Voodoo2 (DXGL doesn't work well) in your comment and I am using that. Works perfectly. When I was a kid I completed all gold missions, would really check a new campaign and missions.

I may try that coop feature with a friend.

I haven't given up fixing this AI bug yet smile I have done hexediting before and I have HxD, so I can open the exe, the problem is no idea which file is causing this problem. I could compare that with the dos version, or if it is an entirely new file, I have someone who I will ask for some help.

I am doing this as sort of a hobby as my job is about IT as well (Product support engineer), but I am definitely not a debugger or coder. Done some basic coding, but expert stuff nope and I try to avoid it. First time actually trying to fix an issue like this..

#4531429 - 07/26/20 01:33 PM Re: Comanche Gold On Modern Computers [Re: fearofthedarkhun]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
hello fearofthedarkhun,

I am not a coder too. First I fly Comanche 4 - single missions and a huge time in online multiplayer battles.
I play a lot of custom made C4 missions and I made one custom mission too.
Then I discover Comanche 3 - the terrains and the flight model got me forever.
Then came Comanche Gold and Flyboy, who is a partner and friend with every CG fan.
With his help they together developed the game to run on modern computers today.

ufo :-)



Last edited by ufolev; 07/26/20 01:50 PM.
Page 2 of 3 1 2 3

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
It's Friday: grown up humor for the weekend.
by NoFlyBoy. 04/12/24 01:41 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0