Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Carsmaster's HD mirror mod, WxTech tweak  (Read 792 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6031
Carsmaster's HD mirror mod, WxTech tweak
« on: March 17, 2024, 06:12:04 AM »

If you already have Carsmaster's original mod and it's working for you, from this update of mine you will replace ONLY the existing cockpit folders and add my new Mirror_tex folder. What I've done is to eliminate the multiple copies of the texture by putting it into a dedicated folder. Then each cockpit folder needs to contain only the .mat file. If you use the 1024 pixel texture, nothing else need be done. If you use the 512 pixel texture, a small change will be required, as explained in the readme file. Moreover, I've added several more cockpit folders.

I recommend to see if the original mod works for you. If it does, you don't need any of the classfiles I provide; simply replace the 30-odd cockpit folders. Carsmaster's original is available in this thread:

https://www.sas1946.com/main/index.php/topic,67928.0.html

If the original mod doesn't work for your later B.A.T. game, in desperation you could try the classfiles I supply. I can't test this myself, and so am shooting in the dark. Hopefully the original classfiles provided by carsmaster are doing the job just fine.  ;)

All is explained in more detail in the readme file, which I reproduce below.

Get my tweaked arrangement here:

https://www.mediafire.com/file/1h374cry36j3pt3/%2521_%2521_%2521_%2521_Carsmaster_Hi_Rez_MIRRORS_WxTech.7z/file

From the included readme file:


Carsmaster's high resolution mirror mod, tweaked by WxTech

WxTech's notes
==============

IMPORTANT! If you already have carsmaster's original mod and it works, then you only need to replace the numerous cockpit folders with mine, and add the new Mirror_tex folder that contains the textures. Why?

What I've done is eliminate the wasteful repetition of the MIRROR.tga texture in every cockpit folder. I have put the 512px and 1024px textures into a dedicated folder, [Mirror_tex], which each cockpit's MIRROR.mat file uses. This means that all cockpit folders need contain only the MIRROR.mat file, which is far more economical of HD space.

If you've elected to use the 512 pixel texture instead of the 1024 pixel version, you will need to rename something. The simplest is to rename the 1024 pixel texture to:

  -MIRROR_1024.tga

and then rename

  MIRROR_512.tga to MIRROR_1024.tga

In this way all .mat file entries can remain as they are. Of course, the [Mods] section in conf.ini would still retain the entries:

  mirrorWidth=512
  mirrorHeight=512

To replace the various cockpit folders and add my new Mirror_tex folder, copy all 38 of my folders in

  3do\Cockpit\

and paste them into your existing

  3do\Cockpit

folder. Overwrite when prompted. If you have any additional folder that you've added yourself, it will be unaffected. You can delete the .tga file there and replace the .mat file with a copy of mine.

NOTE! In the F6F-3 and F6F-5 I include inactive copies of the cockpit's hier.him, in case you should need to add the two sections for the [BaseMirror] and [MIRROR].


Read on only if you are installing this mod for the first time.

---------------------------------------------------------------------------

Provisional version for 4.12.2 with the Engine Mod and B.A.T. to 4.1.1. Might work with later B.A.T. versions???

The Java and classfiles here are from B.A.T. 4.0. They should work for 4.12.2 and B.A.T. to 4.1.1. If your later B.A.T. game does not like these, you could try, in desperation, to copy/paste the classfiles provided in folder [Classes 4.13]. I have no way to test this myself, and so don't know the score.  ;)


I've Put the 1024pixel texture in its own, brand new folder:
  3do\Cockpit\Mirror_tex\MIRROR_1024.tga
Each plane's cockpit folder therefore contains only MIRROR.mat, each pointing to the aforementioned folder/file. This saves unnecessary duplication of the texture.

I've added folders for the F6F-3/-5/-5N, HURRIC, SB2C, SpitfireMkI, TBM.

If any other plane in your game supports a mirror, simply add a new cockpit folder with the correct name, and paste into it a copy of MIRROR.mat from any other folder.

I provide two folders containing the Main3D.class classfiles, one for 4.12.2/B.A.T. 4.0, and the other for 4.13.


WxTech
March 17, 2024

Below is Carsmaster's original text...

===========================================================================

Hello everyone.
It took a long time to find a place in the code and a way to influence
image quality of mirrors.

This work allows the use of a mirror resolution of up to 1024 pixels.
Attention, do not use textures higher than 1024 pixels.

This version is for the clean, standard version 4.12.2
with the classic "mods" folder.

Installation:
1. Place the "CARSMASTER_MIRROR_SD (HD) _1024" folder in your "mods" folder

2. Inside the folder "CARSMASTER_MIRROR_SD (HD)_1024" there are folders
"256_DEFAULT_MIRROR_TEXTURE"
"512_MIRROR_TEXTURE"
"1024_MIRROR_TEXTURE"

These folders contain textures "MIRROR.tga" standard 256 pixels,
512 pixels, 1024 pixels. Also there is the material "MIRROR.mat"
This material has increased the brightness of the image.
[LightParams]
Ambient 0.7
Diffuse 0.7

3. Select the size of the texture "MIRROR.tga", place it in all folders
aircraft cockpits that have mirrors.

!!!!! If you don't put the texture in some cockpit of an airplane that has
mirrors, the mirror will not work on this plane !!!!!!!!!!!!!


4. In the Conf.ini file, write the lines of text:

[MODS]

mirrorWidth=1024

mirrorHeight=1024

5. Attention. mirrorWidth and mirrorHeight must be equal to the size of the texture,
which you put in all aircraft cockpits that have mirrors

6. In the folder "CARSMASTER_MIRROR_SD (HD)_1024" there is a source file "Main3D.java"

changes in the code can be found by keywords

// my cod add /////////////////////////////////////////// /////////////////

DOWNLOAD MOD: https://www.mediafire.com/file/d6m5ffko ... 24.7z/file

Enjoy your flight.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

carsmaster

  • Modder
  • member
  • Offline Offline
  • Posts: 731
Re: Carsmaster's HD mirror mod, WxTech tweak
« Reply #1 on: March 17, 2024, 06:18:24 AM »

If you already have Carsmaster's original mod and it's working for you, from this update of mine you will replace ONLY the existing cockpit folders and add my new Mirror_tex folder. What I've done is to eliminate the multiple copies of the texture by putting it into a dedicated folder........
Great job. I'm very glad that the "fishing rod" was useful...
Logged
Pages: [1]   Go Up
 

Page created in 0.042 seconds with 24 queries.