Is there a way to create a .txt file of all the maps that your scene?
Announcement
Collapse
No announcement yet.
TXT map list
Collapse
X
-
doesn't MAX's archive feature do that for you?Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- ​Windows 11 Pro
-
Run this piece of crap:
Code:MyOutFile = "c:\\scene_texture_list.txt" ThetextFile = CreateFile MyOutFile ( local mapfiles=#() fn addmap mapfile = ( local mapfileN=mapfile as name local index=finditem mapfiles mapfileN if index == 0 do append mapfiles mapfileN ) enumeratefiles addmap --line 9 sort mapfiles for mapfile in mapfiles do ( format (mapfile as string) to:ThetextFile format ("\n") to:ThetextFile ) ) Close ThetextFile ShellLaunch (MyOutFile as string) ""
Comment
-
Originally posted by YoyoBoy View PostOr even just list them in the Listener so that I can paste it into an e-mail.
atsarr = #()
ATSOps.Refresh()
ATSOps.GetFiles &atsarr
for atsfile in atsarr where (ATSOps.IsInputFile atsfile) == true do
(
if (getFiles atsfile).count == 1 then
(
print ("found: " + atsfile)
)
else
(
print ("missing: " + atsfile)
)
)
But it only works with absolute paths not with relative.Last edited by scheinbarreal; 10-08-2011, 11:57 PM.
Comment
-
Ah sorry, didn't read the second line where you mentioned missing:
Code:MyOutFile = "c:\\scene_texture_list.txt" ThetextFile = CreateFile MyOutFile ( local mapfiles=#() fn addmap mapfile = ( local mapfileN=mapfile as name local index=finditem mapfiles mapfileN if index == 0 do append mapfiles mapfileN ) enumeratefiles addmap #missing --line 9 sort mapfiles for mapfile in mapfiles do ( format (mapfile as string) to:ThetextFile format ("\n") to:ThetextFile ) )
Comment
-
Originally posted by simmsimaging View PostColin Senner's Relink Bitmaps script will print a list of missing texmaps for you. I'm fairly sure it will also pickup Vrmesh files and things like that, but it will track the *missing* images for you anyway.
/b
---------------------------------------------------
MSN addresses are not for newbies or warez users to contact the pros and bug them with
stupid questions the forum can answer.
Comment
Comment