Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 4 of 4 1 2 3 4
#4422407 - 05/24/18 11:24 AM Re: EECH Source Code Discussion [Re: Javelin]  
Joined: Dec 2010
Posts: 1,430
messyhead Offline
messyhead  Offline

Member

Joined: Dec 2010
Posts: 1,430
Originally Posted by Javelin
Hi Guys, In my compiled exe of the version of the code I checked out, why doesn't the Mi-28N Havoc B work? It crashes on a sub object RWR_ABOVE_LIGHT while loading the helicopter in. Also, the Cuba maps don't run. Am I missing a part of the code somehow, like the allmods package? If so, where do I go to get that part of the source code? I'm using Watcom, if that makes a difference.


Which branch are you using? You probably want to use the current released version, so that any changes you make won't have missing dependencies from experimental releases.

#4422441 - 05/24/18 03:27 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Apr 2018
Posts: 273
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 273
Idaho Falls, Idaho USA
I think I'm already using the current released version, but to test it out I copy the Project.exe into my EECH installed directory to get access to all of the resources, and I have the AllMods update installed. I need to know how to get the AllMods source code package so I can compile an AllMods version. I think I just found the instructions in the setup folder, but we'll see if I can get it figured out quickly.

Doesn't the AllMods.exe install a new Cohokum.exe file to match the mods? That's what I want to be able to compile. Am I missing something here?

Last edited by Javelin; 05/24/18 04:40 PM.
#4422476 - 05/24/18 06:35 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Dec 2012
Posts: 1,178
thealx Offline
Member
thealx  Offline
Member

Joined: Dec 2012
Posts: 1,178
There you can find config file of full installer, but I think it's not necessary in your case - no one will be happy to download and wait installation of all models and textures over again.
You can use part of the config so only changed files will be included - DYN files, exe and others. Please try to include Mi-28's files as well so it will save cockpit usability, only problem that their path should be added manually. Oh, and setup\cohokum\GWUT1161.CSV too - have made some useful changes there lately.
That's true - Cohokum.exe is the default file name, for test version you can choose different one. Usually I share files in archive so experienced users can test it, and only after prepare installer. But you can make it any way you want.

Last edited by thealx; 05/24/18 06:38 PM.
#4422481 - 05/24/18 07:07 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Apr 2018
Posts: 273
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 273
Idaho Falls, Idaho USA
So, how do I get the new source code files for the AllMods to make a new cohokum.exe? There are some right? The mods aren't entirely resources without code are they? My Dynamics mods are all in .h and .c files, no resource changes at all. I'm only modding the cohokum.exe file for now.

#4422567 - 05/25/18 05:48 AM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Dec 2012
Posts: 1,178
thealx Offline
Member
thealx  Offline
Member

Joined: Dec 2012
Posts: 1,178
AllMods is a installer with exe, csv files, models and textures. EXE compiled from master branch ( .h and .c files), so there is no other place where you can find source code. So you already compiled EXE with latest changes

#4422626 - 05/25/18 03:17 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Apr 2018
Posts: 273
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 273
Idaho Falls, Idaho USA
Thanks thealx. I have a problem in the Master branch then, the Mi-28 Havoc crashes and the Cuba maps crash also. I simply downloaded a copy of the repository, so it may have some changes in there from you guys adding/working on features. I need to figure out how to download just the 1.16.0 released version.

Looking at the Mi-28 gauges thread, maybe I don't have the correct version of DirectX. The one I have is 2007 and is ambiguous on version number. I'll try that first.

Nope, that wasn't it. I used the DirectX version linked in the install instructions and followed them to the letter. Still crashes. Can one of you guys compile what you have and tell me if the Mi-28 Havoc loads or not.

Last edited by Javelin; 05/25/18 06:14 PM.
#4422653 - 05/25/18 06:20 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Jan 2016
Posts: 486
XIII Offline
Member
XIII  Offline
Member

Joined: Jan 2016
Posts: 486
to be honest I also had a problem with this cockpit but I did not find the reason why they do not work,or work partially.maybe just do not worry about this cockpit for the moment.because the cause can be somewhere else.

#4422675 - 05/25/18 08:04 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Apr 2018
Posts: 273
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 273
Idaho Falls, Idaho USA
From the error message, it sounds like a 3D object for the Havoc cockpit didn't get uploaded to Master. It's probably on the modder's computer so he has no issues, but it isn't on ours so we do. It says the rwr_above_light object could not be found.

There is an mi24v_rwr_above_light.eeo file in the \setup\cohokum\3ddata\objects\Mi-28_Havoc_Instruments directory.
And an mi24v_rwr_above_light.eeo file in the \setup\cohokum\3ddata\objects\mi-24v-pilots-cockpit directory.

In buildlog.htm it lists an entire set of declarations in the ha_vckpt.c file that don't have the "mi24v_" prefix on the reference that were flagged..

rwr_above_light->visible_object = havoc_lamps.threat_warning_missile_above; in ha_vckpt.c
rwr_above_light->visible_object = hind_lamps.threat_warning_missile_above; in hi_3dvckpt.c

Last edited by Javelin; 05/25/18 08:22 PM.
#4424550 - 06/04/18 05:32 PM Re: EECH Source Code Discussion [Re: tulyopt]  
Joined: Apr 2018
Posts: 273
Javelin Offline
Member
Javelin  Offline
Member

Joined: Apr 2018
Posts: 273
Idaho Falls, Idaho USA
This fixed the Havok problems I was having:

About Havoc issue, once again. Have you installed this pack of files made by messyhead?
https://drive.google.com/open?id=0B_9WsInmSbhuMDMtbVdBVkhaWmc
it is required for latest version of the code, where instruments code was changed

Page 4 of 4 1 2 3 4

Moderated by  messyhead, RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
Ken Block's - Climbkhana Two
by David Kennard. 11/19/19 05:18 PM
New Half Life game.... but VR only?
by Khai. 11/19/19 01:31 PM
Too Funny
by vonBaur. 11/17/19 04:51 PM
Important Birthday Tomorrow
by rwatson. 11/17/19 12:00 PM
70 weeks of intense self-learning
by MarkG. 11/16/19 07:15 PM
We are about to hit peak Nicolas Cage
by Ajay. 11/16/19 12:52 AM
Legacy Rock Bands
by PanzerMeyer. 11/14/19 04:02 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0