Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4568866 - 05/18/21 06:29 AM A new DirSetPicker  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
It is available here

The download is named "NewDSP2021.ex_" but it needs to be re-named "NewDSP2021.exe".
Put it in your UAW160 folder.

It was scanned before being uploaded.
Rationale:

Each time you load a plane-set this version creates a file which lists the slots that have the new hi-resolution cockpit files.
This enables the latest UAW160 exes to run the appropriate cockpit loading routine.

[Linked Image]

Last edited by MrJelly; 05/20/21 08:10 AM. Reason: Picture added

Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4568871 - 05/18/21 09:22 AM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Feb 2006
Posts: 4,859
Rotton50 Offline
3DZ / campaign designer
Rotton50  Offline
3DZ / campaign designer
Senior Member

Joined: Feb 2006
Posts: 4,859
Cape Charles, Virginia, USA
Do you need to do the same thing for the plane set maker?


Heck, even paranoids have enemies.
#4568873 - 05/18/21 09:41 AM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
I only use it for making plane-sets. There is a little utility that can do it anyway.


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4568874 - 05/18/21 09:49 AM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Aug 2000
Posts: 7,428
Moggy Offline
EAW Old Timer and Bodger
Moggy  Offline
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,428
A slit trench at RAF Gravesend
thumbsup

#4568882 - 05/18/21 12:05 PM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Feb 2006
Posts: 4,859
Rotton50 Offline
3DZ / campaign designer
Rotton50  Offline
3DZ / campaign designer
Senior Member

Joined: Feb 2006
Posts: 4,859
Cape Charles, Virginia, USA
Originally Posted by MrJelly
I only use it for making plane-sets. There is a little utility that can do it anyway.


Unsure we're talking about the same thing.

I use the PSM160V4Ray.exe daily while adding new models to the inventory. Does THIS program need to be upgraded if I plan to include CJ's new cockpits?


Heck, even paranoids have enemies.
#4568885 - 05/18/21 12:35 PM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
You need to understand how it works.

1. When you click on the new button, or use the earlier stand-alone application, a routine is run to read the 30 paths in the "PDir.set" file in the GameData folder.

2. The "VCGplane.DAT" in each of the folders is read, and the slot number is added to a list if the second byte in that file is "01".

In the case of my planeset with CJ's Hurricane, when all 30 slots have been read then that list would read "9" as it is the only plane with the "01" second byte in the "VCGplane.DAT" file.

3. Then the list is packed with values of "100" until there are 30 items, and it is saved in the root folder as "HiResPit.mpf".

It reads
9
100
100
100 etc

4. When you select a plane the new UAW160 exe reads the "HiResPit.mpf" file, and if the slot number of your chosen plane equals any of the 30 values in the file than when you fly the Hi-res 'pit file load routine runs. Otherwise the old load routine runs.
Obviously "100" is an impossible value for a plane slot number, hence its use.
The "HiResPit.mpf" file for a plane-set with no hi-res 'pits has 30 values of 100.

Making a planeset does not require any file changes in this regard smile
If you have the stand-alone utility and run it before you test a newly created plane-set using your PSM160V4Ray.exe program then there should be no problem.
I will put a copy in your folder at the FTP.

Edit:
I put two files in there:
The "Hi-res cockpit list maker.exe" goes in your root folder.
When you run it and click the "Do It!" button it makes the "HiResPit.mpf" file and then exits and disappears.
The other file is the "May 15th Cockpit test(Single & Instant).exe" which needs to go in your "EAW Versions" folder.



Last edited by MrJelly; 05/18/21 12:51 PM. Reason: Updated information

Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4568912 - 05/18/21 03:15 PM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Feb 2006
Posts: 4,859
Rotton50 Offline
3DZ / campaign designer
Rotton50  Offline
3DZ / campaign designer
Senior Member

Joined: Feb 2006
Posts: 4,859
Cape Charles, Virginia, USA
Originally Posted by MrJelly

Making a planeset does not require any file changes in this regard smile
If you have the stand-alone utility and run it before you test a newly created plane-set using your PSM160V4Ray.exe program then there should be no problem.
I will put a copy in your folder at the FTP.


Ok so this is an "after the fact" utility for users.

Meaning a player would select ANY plane set as normal and then hit the new cockpit button. Only thing is, the average user probably won't know if the plane set he chose contains a new style cockpit.


Heck, even paranoids have enemies.
#4568921 - 05/18/21 03:42 PM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
It can be run anyway, better safe than sorry wink

If there are no hi-res 'pit files the "HiResPit.mpf" has thirty 100s.


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4569052 - 05/19/21 09:43 AM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Feb 2006
Posts: 4,859
Rotton50 Offline
3DZ / campaign designer
Rotton50  Offline
3DZ / campaign designer
Senior Member

Joined: Feb 2006
Posts: 4,859
Cape Charles, Virginia, USA
Originally Posted by MrJelly
It can be run anyway, better safe than sorry wink

If there are no hi-res 'pit files the "HiResPit.mpf" has thirty 100s.


Forgive me if it sounds like I'm being dense. I'm not.

The thing is, it sounds like a player should hit the new button every time he chooses a new plane set to avoid any CTD's if there's a hi-res 'pit in the mix.

If that's the case, why not make this an automatic process?


Heck, even paranoids have enemies.
#4569073 - 05/19/21 01:49 PM Re: A new DirSetPicker [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
Quote
If that's the case, why not make this an automatic process?


I tried to yesterday, but it was inconsistent, and that's why I added the label to click.
Better luck today, I checked the code and one of the three lists involved was not cleared at the start of the routine.
Now it works fine and a new file is made each time a plane-set is chosen wink

The link in the first post now downloads the new version.

Last edited by MrJelly; 05/19/21 02:05 PM.

Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
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
OJ Simpson Dead at 76
by bones. 04/11/24 03:02 PM
They wokefied tomb raider !!
by Blade_RJ. 04/10/24 03:09 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0