mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-30 05:59:20 +00:00
1
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#!perl
|
||||
|
||||
while(<>)
|
||||
{
|
||||
s/[\n\r]//g;
|
||||
s@\\@/@g;
|
||||
if (/\.vtf$/)
|
||||
{
|
||||
$origname=$_;
|
||||
if (s@/game/(\S+)/materials/@/content/\1/materialsrc/@i)
|
||||
{
|
||||
s/\.vtf$/.tga/i;
|
||||
unless (-e $_)
|
||||
{
|
||||
print "Missing :$_ \n for $origname\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
#print "***found content $_ for $origname\n";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
print "I don't know where the materialsrc for $origname is supposed to be!\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user