Jump to content

The New model Viewer is Awesome


sadjad-vosoul

Recommended Posts

Happy New Year

 

i just wanna say thank you for this new flawless update on MODEL VIEWER 2 :thumbup:

 

Cheers

ISAAC

 

IIF Project :https://forums.eagle.ru/showthread.php?t=216906

 
icon modules dcs small.png
 
My Liveries : Download Here       IIF Project : Click here       My Discord : Isaac#5625       Iranian DCS Community Discord Channel : Click Here
___________________________________________________________________________________________________________________________________________________________________________________
My Gear :

CPU: i5 7500 @ 3.8GHz | Mainboard: ASUS STRIX H270F Gaming | Ram: 32gig 2400 | GPU: ASUS DUAL GTX 1060 6G OC | Monitor: ASUS VG278HE 27" 144Hrz | Headtracker: Open Track + DIY Clips | HOTAS : T.16000M | Mouse & Keyboard: ROG IMPACT II & Cooler Master Devastator 3

___________________________________________________________________________________________________________________________________________________________________________________

WISH LIST Maps : Iraq and West of IRAN  | Vietnam 

Link to comment
Share on other sites

  • Replies 121
  • Created
  • Last Reply

Top Posters In This Topic

Is it picking up the saved games folder yet?

Send lawyers, guns and money......... for the …. has hit the fan.

Windows 10 Home 64-bit | CPU: AMD Ryzen 7 5800X3D 8-Core Processor | RAM: Corsair 32.0GB Dual-Channel | MOBO: ROG STRIX X570-F GAMING (AM4) | GPU: MSI G271CQP on NVIDIA GeForce RTX 3080 | SSD: Samsung SSD 860 EVO 2TB & Samsung SSD 970 EVO Plus 1TB for Gaming

 CH Fightersick - Pro Throttle - Pro Pedals | Thrustmaster MFD Cougar x 3 | Buddy Fox A-10C UFC

image.jpeg

Link to comment
Share on other sites

Do we have a refresh option so we not need to re open the probram and re load the model and texture in any dds changes we made on the folder ?

[sIGPIC][/sIGPIC]

 

IAF Bell205

IAF Anafa

 

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

DCS World Modules: A-10C, FC3, MiG-21BiS, F-86, P-51, KA-50, UH-1H Huey, Mi-8, M2000K, Gazal, Bf109, Mig-15, Hawk and NTTR

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

My System - ASUS Maximus HERO iiiv, CoolMaster 120 Sadion Plus, I7 -6700K @4.0, G.Skill ddr4 16GB ram, Gigabyte GTX 1070 G1 , PSU Seasonic X-650W, OCZ 150 500Gb ssd drive X2, Seagate 7200 1T X2.

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

Link to comment
Share on other sites

If anyone knows how to get ModelViewer2 to work with liveries in '..\Saved Games\DCS...' it would be much appreciated.

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

If anyone knows how to get ModelViewer2 to work with liveries in '..\Saved Games\DCS...' it would be much appreciated.

 

I believe the problem is known, the issue is it adds the DCS Root to the beginning of the saved games folders you add in the autoexec file.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Model viewer 2 has been around for longer than December. October even.

I've been using the regular model viewer for ever, but while I had never opened MV2 that was right under it in /bin, I know it's been there for some time already.

I recently has some issues, which in short required I do a decent repair, after deleting the regular model viewer. But after I've done the repair, the regular modelviewer is no longer in /bin, it wasn't put back in! But I've started to use MV2. There are some improvements as far as I can tell (took me a few minutes to figure out how to see liveries in MV2, with different things being reorganized), but it's similar enough I easily slipped into using it.

Hardware: T-16000M Pack, Saitek 3 Throttle Quadrant, Homemade 32-function Leo Bodnar Button Box, MFG Crosswind Pedals Oculus Rift S

System Specs: MSI MPG X570 GAMING PLUS, GTX 1070 SC2, AMD RX3700, 32GB DDR4-3200, Samsung 860 EVO, Samsung 970 EVO 250GB

Modules: Ka-50, Mi-8MTV2, FC3, F/A-18C, F-14B, F-5E, P-51D, Spitfire Mk LF Mk. IXc, Bf-109K-4, Fw-190A-8

Maps: Normandy, Nevada

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Model viewer 2 has been around for longer than December. October even.

I've been using the regular model viewer for ever, but while I had never opened MV2 that was right under it in /bin, I know it's been there for some time already.

I recently has some issues, which in short required I do a decent repair, after deleting the regular model viewer. But after I've done the repair, the regular modelviewer is no longer in /bin, it wasn't put back in! But I've started to use MV2. There are some improvements as far as I can tell (took me a few minutes to figure out how to see liveries in MV2, with different things being reorganized), but it's similar enough I easily slipped into using it.

 

ModelViewer.exe was removed w/ 2.5.4 I believe.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Hi,

 

Thanks for the post sadjad-vosoul. I did not notice that there was any improvement in the model viewer tool until I have read this post.

 

I was working in some liveries for Mi-8 some time ago and I found it fairly useful, but this new version is just much better, specially because a part from many other new features and GUI improvements, now you can reload the textures from your liveries with the click of a button which speeds up the process of visualization a lot, specially when tweaking spec maps.

 

Nice one Devs!:thumbup:

Link to comment
Share on other sites

I believe the problem is known, the issue is it adds the DCS Root to the beginning of the saved games folders you add in the autoexec file.

 

That's one issue, but it's more than that.

 

I added 'c:\Users\Orso\Saved Games\edModelViewer2.openbeta\autoexec.lua'

 

with:

 

mount_vfs_liveries_path("../../../Users/Orso/Saved Games/DCS.Liveries")

 

and it stops complaining about not finding the path, but it still doesn't find ANY skins in my DCS.Liveries folder and appears to then also not fand a bunch of 3d objects :cry:

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

On the back of this, am I supposed to have edmodelviewer2.openbeta in my saved games folder?

MSI M5 z270 | Intel i5 7600k (OC) 4.8GHz | MSI GTX1080ti Gaming X 11Gb | 500gb Samsung 970 Evo NVME M.2 (DCS World) | 500gb Samsung 850 Evo SSD (OS and Apps) | 32Gb 2400MHz DDR4 - Crucial Ballistix | Be Quiet Silent Loop 240mm | NZXT H440 case |

 

Thrustmaster Warthog - 47608 with Virpil Mongoose joystick base | MFG Crosswinds - 1241 | Westland Lynx collective with Bodnar X board | Pilot's seat from ZH832 Merlin | JetSeat | Oculus Rift S | Windows 10 | VA |

Link to comment
Share on other sites

On the back of this, am I supposed to have edmodelviewer2.openbeta in my saved games folder?

 

Yes

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Cheers

MSI M5 z270 | Intel i5 7600k (OC) 4.8GHz | MSI GTX1080ti Gaming X 11Gb | 500gb Samsung 970 Evo NVME M.2 (DCS World) | 500gb Samsung 850 Evo SSD (OS and Apps) | 32Gb 2400MHz DDR4 - Crucial Ballistix | Be Quiet Silent Loop 240mm | NZXT H440 case |

 

Thrustmaster Warthog - 47608 with Virpil Mongoose joystick base | MFG Crosswinds - 1241 | Westland Lynx collective with Bodnar X board | Pilot's seat from ZH832 Merlin | JetSeat | Oculus Rift S | Windows 10 | VA |

Link to comment
Share on other sites

That's one issue, but it's more than that.

 

I added 'c:\Users\Orso\Saved Games\edModelViewer2.openbeta\autoexec.lua'

 

with:

 

mount_vfs_liveries_path("../../../Users/Orso/Saved Games/DCS.Liveries")

 

and it stops complaining about not finding the path, but it still doesn't find ANY skins in my DCS.Liveries folder and appears to then also not fand a bunch of 3d objects :cry:

 

if your mounting vfs from starting folder of

/Saved Games/edModelViewer2.openbeta/

 

then you might have too many " ../ "

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

It loads Livery Folders fine for me, It's just a matter of getting the path correct:

 

For example I had to use "../" 4 Times to Back from the Current /DCS Installs/DCS World/Config/ModelViewer/ to the Root of the Drive, then the path is DCS.Aircraft/<aircraft>/Liveries.

 

So if you're going from your /Saved Games/edModelViewer2.OpenBeta/Autoexec.lua, then you need to add "../" once to back to the main /Saved Games Folder, and then the path.

 

The problem I do still have is if the Folders are on a Different Drive Letter

so:

mount_vfs_liveries_path ("../DCS.Liveries/")

MV2.thumb.jpg.c09d09a883c6ee587d6eb7c43af0273d.jpg

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

It loads Livery Folders fine for me, It's just a matter of getting the path correct:

 

For example I had to use "../" 4 Times to Back from the Current /DCS Installs/DCS World/Config/ModelViewer/ to the Root of the Drive, then the path is DCS.Aircraft/<aircraft>/Liveries.

 

So if you're going from your /Saved Games/edModelViewer2.OpenBeta/Autoexec.lua, then you need to add "../" once to back to the main /Saved Games Folder, and then the path.

 

The problem I do still have is if the Folders are on a Different Drive Letter

so:

mount_vfs_liveries_path ("../DCS.Liveries/")

 

From my experience, the model view is assuming its base location to be in the DCS World installation. When I use the full path in 'mount_vfs_liveries_path' I get this warning:

 

21:04:43 WARNING: Output directory does not exist, or is not readable! C:/Program Files/Eagle Dynamics/DCS World OpenBeta/C:/Users/Orso/Saved Games/DCS.Liveries

When I use just "../DCS.Liveries/" I get:

 

21:06:39 WARNING: Output directory does not exist, or is not readable! C:/Program Files/Eagle Dynamics/DCS.Liveries

When I use "../../../Users/Orso/Saved Games/DCS.Liveries", I get NO errors(!!), but when I load the 'P-51D-25-NA.edm' I get this:

 

attachment.php?attachmentid=202564&stc=1&d=1547931034

 

... and it still doesn't find my liveries in my DCS.Liveries directory.

 

And when I load a livery from '..Bazar/Liveries' there are still textures missing:

 

attachment.php?attachmentid=202565&stc=1&d=1547931034

1566602211_WithNoErrors.thumb.jpg.ed15238eb08b62a206756ba6e75430b6.jpg

949004540_WithNoErrorsLoadedLivery.thumb.jpg.e00ad28197ffb1809932ce2e2c0757fc.jpg

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

There she blows! ;)

autoexec.lua


Edited by Captain Orso
spelling *duh*

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

is there a way to limit the framrate?, i dont need 400fps :)

 

Preferences, Check "Use fps limiter", enter max fps

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

attach your autoexec.lua and I'll check it.

 

Hi Skate, did you see anything in my 'autoexec.lua'?

There she blows! ;)

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

Hi Skate, did you see anything in my 'autoexec.lua'?

 

yeah, why did you remove the other lines?

 

local lfs = require("lfs")
local function service_file(file)
return file == "." or
	   file == ".." or 
	   file == ".svn" or 
	   file == "_svn" 
end

function scan_for_textures(path)
local lower_case      = path:lower()
if lower_case:find("liveries") then
   mount_vfs_liveries_path(path)
   return
end
local is_texture_path  = lower_case:find("texture") ~= nil
local mounted_already  = false 
for file in lfs.dir(path) do
	if not service_file(file) then
	   local fn 	  = path.."/"..file
	   local attr 	  = lfs.attributes (fn)     
	   if attr.mode	 == "directory" then
		  scan_for_textures(fn)
	   elseif is_texture_path then
		  local ext = string.sub(file,-4)
		  if '.zip' == ext then
				mount_vfs_texture_path(fn)
		  elseif not mounted_already and (
			 '.dds' == ext or
		     '.bmp' == ext or
			 '.jpg' == ext or
			 '.png' == ext or
			 '.tga' == ext) then
				mount_vfs_texture_path(path)
				mounted_already = true
		  end
	   end
	end
end
end

function scan_for_environment_cubes(path)
local lower_case = path:lower()	
for file in lfs.dir(path) do
	if not service_file(file) then
		local fn = path.."/"..file
		local attr = lfs.attributes(fn)
		if attr.mode == "file" then
			local ext = string.sub(file,-4) 
			if '.dds' == ext then
				AddEnvironmentMap(file)
			end
		end
	end
end
end

print("----------------------------------------------------------------")
print("scan for textures and liveries")
scan_for_textures("CoreMods")
print("----------------------------------------------------------------")
scan_for_textures("Mods")
scan_for_environment_cubes("Bazar/EffectViewer/envcubes")
print("scan done")
print("----------------------------------------------------------------")

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...