C/C++ coder wanted - Terrain Rebuilder tool project

F4Browse, CATE, Tacedit, Terrainview & TheaterMaker etc utility related

Moderators: Lone Wolf, Snake Man

Post Reply
Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

C/C++ coder wanted - Terrain Rebuilder tool project

Post by Snake Man » 2007-04-07 12:12:33

The SPTInstall.exe is ancient and requires original Falcon 4.0 registry key to work. LxNormalFix.exe is not very suitable for 128 theaters as it bogs down your computer, its required for F4AF normals but I'm not completely sure on RV/OF terrain.

Now we need a brand new tool to rebuild the terrain which will work without any existing Falcon registry settings, ie standalone. Also it would be best if the normals fixing was implemented in this one tool, with code that dont hog 780mb worth of memory etc.

There is quite big problem on the NSIS theater installers now as they wont work if user only has F4AF installed, also its complete killer to run the theater rebuild process with the utils we have now. So this new util would become very very handy.

I have the basic file structs for the theater L2 file.

So is there any C / C++ coder (what ever works) out there whos looking for small project to code on?
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Post by Sherlock » 2007-04-07 15:09:11

Just a word of warning that the terrain normals are different in Allied Force than they are in RV or OF. In AF they are a value between 0 and 255. In OF and RV I believe they use the original range for F4 of 0 to 63. This may or may not be a problem when implementing this terrain building tool
Sherlock
Victurous te Saluto

Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Post by Snake Man » 2007-04-07 15:35:20

Well of course the tool is supposed to work on RV/OF and AF, using the proper calculations.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

ranger822
Banned user
Posts: 389
Joined: 2004-07-27 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Beautiful Virginia

SPTinstall

Post by ranger822 » 2007-04-07 16:37:51

Baldeagle updated SPTinstall - have you seen FFTinstall.exe. I think the main difference is that it is able to handle more terrain tile sets in the bin (>255). Also, perhaps it is my imagination but FFTinstall works for all theaters and seems to run rather quickly. I have not tested FFTinstall on anything but ITO2 and our Falklands128 work in progress.

I agree that SPTinstall is rather slow, and so it LxNormalFix and the SeasonSwitcher. However, even my dinosaur PC can crunch thru 64x64 in about 20 minutes for all three. I don't recall how long it took for Falklands128 but maybe an hour and a half? That isn't too bad if you only have to do it once. As far as I know there is no change to terrain for RV other than the tiles the Rippy is updating for Korea. So, I think the terrain installer has no new requirements.

I guess I would also make one other suggestion - given the ability to compress files quite a bit - and the ability to upload large files would you consider building the terrain once, package the built terrain and totally skip the SPTinstall.exe, LxNormaFix, and SeasonSwticher process? I agree that it doesn't allow the use of HiTiles. Perhaps something special could be done in that case?

Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: SPTinstall

Post by Snake Man » 2007-04-07 17:58:35

ranger822 wrote:have you seen FFTinstall.exe. I think the main difference is that it is able to handle more terrain tile sets in the bin (>255).
That was never an issue, ODS has 127 tile-sets right now.
Also, perhaps it is my imagination but FFTinstall works for all theaters
But the issue is to have terrain rebuilder without registry requirement and to fix normals without making the computer to freeze.
So, I think the terrain installer has no new requirements.
As I said, yes we need new one without the registry requirement.
given the ability to compress files quite a bit - and the ability to upload large files would you consider building the terrain once, package the built terrain and totally skip the SPTinstall.exe, LxNormaFix, and SeasonSwticher process?
No.

:)

I mean the compression of files would be quite impressive to put all the L0-L5 and fartiles.raw with the rest of the stuff like that into a small download. I'm currently living in 1mb ADSL and 500mb quota http server world and I'll adjust my work according to that. Perhaps I'm too oldschool but I think my goals are quite good for the whole community in mind, more bang for the small download buck so to speak.

The whole point of the new tool would be to get rid of the registry requirement in SPTInstall.exe and to include the normals calculation into the same tool.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

ranger822
Banned user
Posts: 389
Joined: 2004-07-27 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Beautiful Virginia

New Tool

Post by ranger822 » 2007-04-08 00:30:56

Well I can't argue with any of your points - - lets hope we can find a code writer.

Couby
1st Lt
Posts: 127
Joined: 2006-12-25 22:35:21
Location: France
Contact:

Post by Couby » 2007-04-09 13:55:29

If no code writer for that work, I think the best would be to preprocess all that stuff and get it directly in the installer.
Installers would be bigger, but install process for end user faster.

That's what we experienced with OF conversions I made. I made more particularly that choice because of the lxnormlfix problem.

For theaters release and diffusion, p2p is working fine. I think the FF/RV exemple is proving that.


Just and idea. If we can find a code writer for that stuff, that's cool also :oops: .
ImageImage

T_Rex
FreeFalcon
Posts: 848
Joined: 2001-03-04 23:01:01
Location: here

Post by T_Rex » 2007-04-09 14:01:55

Yeah, I think that's something theater devs should consider. Granted, I'm not sure how big something like ODS would be with all the pre-generated L*/O* files.

I have a non-scientific feeling that anything up to about 400 or 500 mb is about as much as people would comfortably do, even on p2p. If something is under that, I think people will do it.
Sic Semper tyrannosauro.

Couby
1st Lt
Posts: 127
Joined: 2006-12-25 22:35:21
Location: France
Contact:

Post by Couby » 2007-04-09 14:35:03

T_Rex wrote:Granted, I'm not sure how big something like ODS would be with all the pre-generated L*/O* files.
I can give you an idea :oops: .
The ODS installer I made for OF with all preprocessed was 311 Mo big. And the 7z compression was just at normal. With ultra I went under 300 Mb if I remember well.

Maybe with a complete new DB, that would make something around 400 Mb.
ImageImage

User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Post by Sherlock » 2007-04-09 15:14:25

Another option (I know SM doesn't want to hear this but...) is to ask Tom Waelti for permission to use his HTTI.exe terrain installer. As Khronik already pointed out it doesn't have the old F4 path problem that sptinstall.exe had.
Sherlock
Victurous te Saluto

Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Post by Snake Man » 2007-04-09 16:05:17

Okay this is the last time I'll say this; we are not going to put all files into the installer.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Post by Snake Man » 2007-04-13 19:12:15

Since you guys so eagerly posted news/info on the theaters to other forums, how about posting a call for help about this topic. We really need to get this thing done to fully proceed with theater installers.

Feel free to post C/C++ coders wanted and link to this topic to anywhere you like/can.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Couby
1st Lt
Posts: 127
Joined: 2006-12-25 22:35:21
Location: France
Contact:

Post by Couby » 2007-04-13 19:42:08

Done at Globalfalcon and frugalsworld.
ImageImage

Malc
Lt Colonel
Posts: 294
Joined: 2000-12-24 23:01:01
Location: England
Contact:

Re: C/C++ coder wanted - Terrain Rebuilder tool project

Post by Malc » 2007-04-22 17:52:29

Snake Man wrote:The SPTInstall.exe is ancient and requires original Falcon 4.0 registry key to work.
Have you considered using the TI that was written for AF? That doesn't look for F4 registry entries. That said, I don't know if it would work with RV and OF...

User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Re: C/C++ coder wanted - Terrain Rebuilder tool project

Post by Sherlock » 2007-04-22 18:03:52

Malc wrote:
Snake Man wrote:The SPTInstall.exe is ancient and requires original Falcon 4.0 registry key to work.
Have you considered using the TI that was written for AF? That doesn't look for F4 registry entries. That said, I don't know if it would work with RV and OF...
Yes Malc, he did but see my post above suggesting that and Snake Man's answer just below it.

What SM really wants is a SINGLE utility that will include the following functionality:

1. SPTInstall / HTTI for ALL three types of exec RV, OF and AF.
2. TexCompress (or whatever it's called) for RV (and OF if it uses something like this).
3. LxNormalFix (for AF terrain normals--they are different than OF or RV).
Sherlock
Victurous te Saluto

Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Post by Snake Man » 2007-04-22 21:57:13

I was just about to bump this topic today but I thought to give it few more days, thanks for bringing it up :)

Anyways my point was that I feel kind of, well surprised or disapointed that absolutely nobody has came forth for coding this (did I mention we already have the data struct so it would be only to put together 1 exe with good memory handling/whatever). Who knows what is the ultimate reason nobody wants to help, I think this topic has been here and on the other forums long enough to catch every capable C/C++ coder by now.

Ok about the terrain rebuilder, yes if we use the modteam ODSAF tinstall, or what ever htti or AF tinstall is out there (I have no clue about them) we can fix the current PMC theater installer which fails for AF only users. But that still leaves us outta luck with the completely unacceptable performance of lxnormalfix.

So we are either taking the high road and just maintaining our goal to code new single util, or take the new tinstall and go with that method which still is causing peoples computers to pretty much freeze during the install and long time after that until win recovers.

Btw Sherlock, actually I wasn't referrig to the seasonswitcher specificly, but now that you mention it... it would be superb to have ALL that stuff in one single exe. I just have no data struct or even hints of info how to do the pcx to dds conversion with the new RV/OF fartile system (if there is such thing, I assume so).
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

BaldEagle
FreeFalcon
Posts: 20
Joined: 2000-12-28 23:01:01
Location: Las Cruces, NM USA
Contact:

Re: C/C++ coder wanted - Terrain Rebuilder tool project

Post by BaldEagle » 2007-04-23 18:40:48

Sherlock wrote:
Malc wrote:
Snake Man wrote:The SPTInstall.exe is ancient and requires original Falcon 4.0 registry key to work.
Have you considered using the TI that was written for AF? That doesn't look for F4 registry entries. That said, I don't know if it would work with RV and OF...
Yes Malc, he did but see my post above suggesting that and Snake Man's answer just below it.

What SM really wants is a SINGLE utility that will include the following functionality:

1. SPTInstall / HTTI for ALL three types of exec RV, OF and AF.
2. TexCompress (or whatever it's called) for RV (and OF if it uses something like this).
3. LxNormalFix (for AF terrain normals--they are different than OF or RV).

I'm working on the utility (Tinstall + LxNormalFix (optional))..

I think the latest version of Terrainview has a corrected Normals Calculation function. If this is correct, then L2's using the TV function do not need LxNormalFix. I'll check the code to see if I fixed it. If not, then I will fix it.

Snake Man
Commander-In-Chief
Posts: 9351
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: C/C++ coder wanted - Terrain Rebuilder tool project

Post by Snake Man » 2008-08-22 09:00:51

BaldEagle wrote:I think the latest version of Terrainview has a corrected Normals Calculation function. If this is correct, then L2's using the TV function do not need LxNormalFix. I'll check the code to see if I fixed it. If not, then I will fix it.
Any news on this?
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests