JanHas Models & Skin Thread -Compatible with 4.36
-
Use the new 3ddb_builder.exe tool found in the BMS tools folder ;-). LE seems not the way to go anymore…
JAN can you make a video instruction how to replace the default 3d models with 3ddb_builder.exe tool ?
Regards
-
-
-
-
-
Can’t wait.
-
JAN can you make a video instruction how to replace the default 3d models with 3ddb_builder.exe tool ?
Regards
You can use 3DDBBuilderGUI but if you don’t find it or you haven’t it yet, you need F4_3D_Database_Builder
it is located in Falcon BMS 4.34\Tools\3DDBBuilder folder and moreUPDATED: 03/05/2019
One Click Installer Steps.1-Firstly backup Falcon and create a working folder like named newdb to desktop(or where you want).
2-Add 3ddb_builder.exe, FreeImage.dll from tools folder into working folder
3-Copy orjinal KoreaObj.HDR, KoreaObj.LOD files from x:\Falcon BMS 4.34\Data\TerrData\Objects into newdb folder.
4-Create a data folder and skins folder
5-Copy all data(ac data) files of your model into data folder
6-Copy all skin files of your model into skins folder
7-Create “Parents” folder into working folder for db update-
Create a folder/folders named with model parent no and copy all model lod files into related parent folder
or If model creator provide model parent folder only copy them into main Parents folder.
NOTE: folder name must be four digits!Example JanHas LVN4 for 16cm50 : “1196” Main Model and “1052”(for wing model parent data folder)
Example : folder name 0005 // parent num 58-Creating Parents.dat file
The content of the Parents.dat file is as follow: Not: This Parents.dat files allows to adding many models files into db.DefineParent = 1052 Dimensions = 66.000000 -18.000000 18.500000 -4.550000 4.550000 -2.500000 2.500000 TextureSets = 7 Switches = 255 Dofs = 255 AddDynamicVertex = -37.970493 0.030787 0.249801 AddDynamicVertex = -37.970493 0.002212 -0.634808 AddDynamicVertex = -37.970493 -0.366991 -0.419688 AddDynamicVertex = -37.970493 -0.390584 0.006523 AddDynamicVertex = -37.970493 0.389775 -0.411048 AddDynamicVertex = -37.970493 0.423097 0.019196 AddSlot = -2.894030 -15.521161 -0.210898 AddSlot = -3.706819 -13.250000 -0.164210 AddSlot = -1.727206 -10.000000 -0.127838 AddSlot = 1.104531 -6.000000 -0.086523 AddSlot = 1.085001 0.000000 2.620651 AddSlot = 1.104531 6.000000 -0.086523 AddSlot = -1.727206 10.000000 -0.127838 AddSlot = -3.706819 13.250000 -0.164210 AddSlot = -2.894030 15.521161 -0.210898 AddSlot = 9.633934 -1.638983 2.296633 AddSlot = 9.828934 1.656000 2.256633 AddLOD = 1052\Model_0.LOD 15.000000 AddLOD = 1052\Model_1.LOD 50.000000 AddLOD = 1052\Model_2.LOD 100.000000 AddLOD = 1052\Model_3.LOD 3000.000000 AddLOD = 1052\4 36000.000000 DefineParent = 1196 Dimensions = 75.000000 -20.268000 -3.057424 -9.359003 9.359003 -7.566937 TextureSets = 7 Switches = 255 Dofs = 255 AddSlot = -18.274029 -15.521161 2.999102 AddSlot = -19.086817 -13.250000 3.045790 AddSlot = -17.107204 -10.000000 3.082162 AddSlot = -14.275467 -6.000000 3.123477 AddSlot = 0.040285 0.046370 2.233844 AddSlot = -14.275467 6.000000 3.123477 AddSlot = -17.107204 10.000000 3.082162 AddSlot = -19.086817 13.250000 3.045790 AddSlot = -18.274029 15.521161 2.999102 AddLOD = 1196\Model_0.LOD 600000.000000
-
Copy model lod files into related parent folders and enter its names into Parents.dat file defination line and save it!
If there are many provided parent folder, merge each provided parent.dat files contents as one parents.dat file.
When you merged the parent files. Remove parent.dat files from related folders
Explanation: 1052\Model_0.LOD 30.000000
DefineParent = 1052 parent no of model
AddLOD= 1052\Model_0.LOD => lod folder path lines of model (lod1, lod2,…,)
15.000000 => lod1 distance you can give 15)
Dofs = x => x given model dofs
TextureSets = x => x given texture set number
Switches = x => x given switch set number
Dimensions = => hitbox values and etc. (for more information please check f4 3ddb_builder manuels)9-Create a batch file “Setup.bat” or “Update.bat” named with notepad into working folder and right click, edit it.
10-Final Step run setup.bat and enjoy!
I hope may be helpful some one
Best Regards.
GizemkarBatch file content: Please copy that from @echo off line to end of file and edit it.
(Please change falcon location=C:\Falcon BMS 4.34 to your location info)
(Please change Newdb location=C:\Falcon BMS 4.34 to your newdb working folder location info)@echo off REM Installed Falcon Location SET FALCON="C:\Falcon BMS 4.34" SET NEWDB="C:\Users\HNG\Desktop\newdb" echo Falcon PATH echo %FALCON% echo NEWDB PATH echo %NEWDB% REM Skin files processing echo ================================================================================ echo new model Skin folders is loading into KoreaObj... copy /Y skins\*.dds %FALCON%\Data\TerrData\Objects\KoreaObj rem Data files processing... echo ================================================================================ echo Data files is loading... copy /Y data\*.dat %FALCON%\Data\Sim\Acdata\ echo ================================================================================ rem Database Update echo Database is updating with new models... 3ddb_builder /update /objectdir %NEWDB% echo ================================================================================ echo Update is complated. echo ================================================================================ pause
If you want to add updated new database into orjinal falcon4.34 object folder location add this line before from pause code or add by manuel later
echo ================================================================================ echo New db moving into Object Folder Please wait until the process complated... copy /Y %NEWDB%\KoreaObj.HDR %FALCON%\Data\TerrData\Objects\ copy /Y %NEWDB%\KoreaObj.LOD %FALCON%\Data\TerrData\Objects\ echo ================================================================================
-
-
Jan, will you make a one click installer for the 4.34 version of your models? Just asking
-
One click installer, would practically mean:
1. download the new model files (manually from the site, when available)
2. extract its contect (manual)
3. rename and move the content appropriatelly in specific folders/structure and naming (parent numbers)
4. use 3ddbbuilder (on a specific path)
5. copy the 2 db files -from the appropriate theater- within there
6. trigger db extraction
7. if ok trigger copy/paste/replace-overwrite the new models and their new parent.dat’s to the exproted db structure folders
8. trigger db rebuild, that in the end will move the generated db to the appropriate path/theater
9. trigger skins copy/paste/replace-overwrite to the appropriate paths
10. trigger new fm’s copy/paste/replace-overwrite to the appropriate pathsTook me 2 nights to script most of the above to a 1-click executable and working fine, BUT, it requires parts 1-3 to be done by user, AND manual job to prepare the structure, AND it will use my own installed/running paths, thus not a release that will work on any machine.
If end-user is not willing to do the “3ddbbuilder dance”, I would expect a new tool sooner or later (similar to Mortesil’s abadoned tool) to do the job.
I think Jan will prepare a documentation of what need to be done, or I can also prepare something similar to assist;
EDIT: FYI, I started from 0 knowledge with 3ddbbuilder, and following understanding of what-how etc. I am able to replace a current model within 3’ , so don’t worry much about this method, it is quite straight-forward, specially if you have prepared the content structure somewhere on your disk.
-
Guys
still you can use LodEditor. All you need to do is rebuild your DB with 3ddb builder and do it just once. -
And just how exactly do you update the database using the 3ddb. I’m going thru the manual and I’m none the wiser.
-
And just how exactly do you update the database using the 3ddb. I’m going thru the manual and I’m none the wiser.
F4 3D Database Builder.PDF
This manual? -
One info for you. Lod distance to set is not always easy to set and there is no “rules of thimb”. (Depends on each models and how LODs are made) It has to be determined visualy in game.
For proper settings we recommend the following…
FOV set in .cfg to 70°
Smart scaling threshold set to 0.5NM with smart scaling activated.
In 3D use free cam and check at what “pseudo distance” the lod transitions from one LOD to the next is barely visible.
For a/c, do it in Freeze mode and lower the gear.So you can optimise LOD (and hence performances) transitions.
About hitbox, for a/c, do not include the entire model but restrice it to the main body and a bit on wings.
Edit: LOD distance transition are not realy feets and anything really defined. It depends on actual FOV … This is why recomendation is 70°. with 70° 1000 is about 1Nm, 2000 - 2Nm this is more or less true until futher distance, beyond about 15000 it is no more true.
-
yup. and I have tried to do what is says, But I still can’t use LODEditor. I know I’m doing something wrong but what??
It now says it is updated, but instead of LODEdtor giving me and HDR 4 error it is now HDR 3 error??? -
Starrats posted a video how to do it in theater conversion thread.
Sent from my SAMSUNG-SM-T818A using Tapatalk
-
Starrats posted a video how to do it in theater conversion thread.
Sent from my SAMSUNG-SM-T818A using Tapatalk
do you have a link?
-
It’s just the basics to get lodedit going…
https://www.benchmarksims.org/forum/showthread.php?35609-Theater-conversion-from-4-33-to-4-34&p=495698&viewfull=1#post495698There are other ways to use 3ddb as well , lots posted and in docs.
But if you do like in this vid you can do anything as before , with lodeditor. -
One click installer, would practically mean:
1. download the new model files (manually from the site, when available)
2. extract its contect (manual)
3. rename and move the content appropriatelly in specific folders/structure and naming (parent numbers)
4. use 3ddbbuilder (on a specific path)
5. copy the 2 db files -from the appropriate theater- within there
6. trigger db extraction
7. if ok trigger copy/paste/replace-overwrite the new models and their new parent.dat’s to the exproted db structure folders
8. trigger db rebuild, that in the end will move the generated db to the appropriate path/theater
9. trigger skins copy/paste/replace-overwrite to the appropriate paths
10. trigger new fm’s copy/paste/replace-overwrite to the appropriate pathsTook me 2 nights to script most of the above to a 1-click executable and working fine, BUT, it requires parts 1-3 to be done by user, AND manual job to prepare the structure, AND it will use my own installed/running paths, thus not a release that will work on any machine.
If end-user is not willing to do the “3ddbbuilder dance”, I would expect a new tool sooner or later (similar to Mortesil’s abadoned tool) to do the job.
I think Jan will prepare a documentation of what need to be done, or I can also prepare something similar to assist;
EDIT: FYI, I started from 0 knowledge with 3ddbbuilder, and following understanding of what-how etc. I am able to replace a current model within 3’ , so don’t worry much about this method, it is quite straight-forward, specially if you have prepared the content structure somewhere on your disk.
Probably a stupid question but why not just install the models and then send us the moded files of your installation? Similarly to the custom moded folder that can be found around here but only with Jan Has models.
-
@Master:
Probably a stupid question but why not just install the models and then send us the moded files of your installation? Similarly to the custom moded folder that can be found around here but only with Jan Has models.
Simply because there is no general custom modded folder that suites everyone.
Installing exactly what you need in your database is the most flexible solution. But yes… you had to install the models by hand (with help of an excellent documentation by JanHas). -
@Master:
Probably a stupid question but why not just install the models and then send us the moded files of your installation? Similarly to the custom moded folder that can be found around here but only with Jan Has models.
It is a scenario that passed my mind. Will c…