Commit 58d9f898 authored by Nathan De Castro's avatar Nathan De Castro
Browse files

testing phase

parent 06caecbc
......@@ -156,7 +156,7 @@
<None Include="Assets\Standard Assets\Effects\ImageEffects\Shaders\_BloomAndFlares\BlurAndFlares.shader" />
<None Include="Assets\Standard Assets\Effects\ImageEffects\Shaders\_BloomAndFlares\BlendForBloom.shader" />
<Reference Include="Assembly-UnityScript">
<HintPath>C:/Users/yuki/Desktop/Listen/Library/ScriptAssemblies/Assembly-UnityScript.dll</HintPath>
<HintPath>C:/Users/yuki/Documents/Work/Listen/Library/ScriptAssemblies/Assembly-UnityScript.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Advertisements">
<HintPath>C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Advertisements/Editor/UnityEditor.Advertisements.dll</HintPath>
......
......@@ -13,14 +13,14 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_PixelRect:
serializedVersion: 2
x: 0
y: 40
width: 1920
height: 1010
x: 1
y: 507
width: 958
height: 542
m_ShowMode: 4
m_Title:
m_RootView: {fileID: 2}
m_MinSize: {x: 950, y: 521}
m_MinSize: {x: 950, y: 542}
m_MaxSize: {x: 10000, y: 10000}
--- !u!114 &2
MonoBehaviour:
......@@ -41,9 +41,9 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1920
height: 1010
m_MinSize: {x: 950, y: 300}
width: 958
height: 542
m_MinSize: {x: 950, y: 542}
m_MaxSize: {x: 10000, y: 10000}
--- !u!114 &3
MonoBehaviour:
......@@ -61,7 +61,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1920
width: 958
height: 30
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
......@@ -81,8 +81,8 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 990
width: 1920
y: 522
width: 958
height: 20
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
......@@ -105,12 +105,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 30
width: 1920
height: 960
m_MinSize: {x: 713, y: 471}
m_MaxSize: {x: 18008, y: 14021}
width: 958
height: 492
m_MinSize: {x: 713, y: 492}
m_MaxSize: {x: 18008, y: 14042}
vertical: 0
controlID: 9
controlID: 54
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -130,11 +130,11 @@ MonoBehaviour:
x: 0
y: 0
width: 232
height: 960
m_MinSize: {x: 232, y: 471}
m_MaxSize: {x: 10002, y: 14021}
height: 492
m_MinSize: {x: 232, y: 492}
m_MaxSize: {x: 10002, y: 14042}
vertical: 1
controlID: 118
controlID: 79
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -152,9 +152,9 @@ MonoBehaviour:
x: 0
y: 0
width: 232
height: 432
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
height: 221
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 14}
m_Panes:
- {fileID: 14}
......@@ -175,9 +175,9 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 432
y: 221
width: 232
height: 528
height: 271
m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021}
m_ActualView: {fileID: 15}
......@@ -201,8 +201,8 @@ MonoBehaviour:
serializedVersion: 2
x: 232
y: 0
width: 1234
height: 960
width: 449
height: 492
m_MinSize: {x: 204, y: 221}
m_MaxSize: {x: 4004, y: 4021}
m_ActualView: {fileID: 16}
......@@ -227,14 +227,14 @@ MonoBehaviour:
- {fileID: 12}
m_Position:
serializedVersion: 2
x: 1466
x: 681
y: 0
width: 454
height: 960
width: 277
height: 492
m_MinSize: {x: 277, y: 192}
m_MaxSize: {x: 4002, y: 8042}
vertical: 1
controlID: 84
controlID: 123
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -251,8 +251,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 454
height: 640
width: 277
height: 328
m_MinSize: {x: 277, y: 71}
m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 17}
......@@ -276,11 +276,11 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 640
width: 454
height: 320
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
y: 328
width: 277
height: 164
m_MinSize: {x: 102, y: 121}
m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 19}
m_Panes:
- {fileID: 19}
......@@ -384,15 +384,15 @@ MonoBehaviour:
m_DepthBufferBits: 0
m_Pos:
serializedVersion: 2
x: 0
y: 89
x: 1
y: 556
width: 230
height: 411
height: 200
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 84a2fdff00000000
m_ExpandedIDs: e4fbffff00000000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -437,10 +437,10 @@ MonoBehaviour:
m_DepthBufferBits: 0
m_Pos:
serializedVersion: 2
x: 0
y: 521
x: 1
y: 777
width: 230
height: 507
height: 250
m_SearchFilter:
m_NameFilter:
m_ClassNames: []
......@@ -451,19 +451,18 @@ MonoBehaviour:
m_ScenePaths: []
m_ShowAllHits: 0
m_SearchArea: 0
m_Folders:
- Assets/Scripts/VR
m_Folders: []
m_ViewMode: 0
m_StartGridSize: 16
m_LastFolders: []
m_LastFoldersGridSize: 16
m_LastProjectPath: C:\Users\yuki\Desktop\Listen
m_LastProjectPath: C:\Users\yuki\Documents\Work\Listen
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 00220000
m_LastClickedID: 8704
m_ExpandedIDs: 00000000542f0000da3c00005a4400005e44000060440000644400006a44000070440000764400008e440000b0440000b8440000c2440000c4440000d4440000dc440000e4440000fa440000fe4400000a4500002245000028450000384500003a450000404500005c4500006e4500008a450000b4450000b8450000f245000000460000124600002446000042460000ae4c0000b24c0000b44c0000ca4c0000d24c0000d44c0000e64c0000e84c0000f84c0000fe4c0000364d0000085e00001a5e0000385e0000c48f0000c68f0000c88f0000ca8f0000cc8f0000ce8f0000d08f0000d28f0000d48f0000d68f0000d88f0000da8f0000dc8f0000de8f0000e08f0000e28f0000e48f0000e68f0000e88f0000ea8f0000ec8f0000ee8f0000f08f0000f28f0000f48f0000f68f0000f88f0000fa8f0000fc8f0000fe8f000000900000029000000490000006900000
m_ExpandedIDs: 000000006a2700006e27000070270000742700007a2700008027000086270000c6270000f4270000f82700000a2800002c2800002e2800004e2800007428000084280000ac280000b2280000be280000da2800004a29000064290000aa290000ae290000ca290000062a0000222a0000742a0000cc2a0000ea2a0000962b0000c62b0000fc2b0000242c00007c2c00000e3300001233000016330000403300006c33000070330000ac330000ae330000c6330000e233000048340000c2450000024600004c4600003e7a0000407a0000427a0000447a0000467a0000487a00004a7a00004c7a00004e7a0000507a0000527a0000547a0000567a0000587a00005a7a00005c7a00005e7a0000607a0000627a0000647a0000667a0000687a00006a7a00006c7a00006e7a0000707a0000727a0000747a0000767a0000787a00007a7a00007c7a00007e7a0000807a0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -491,21 +490,21 @@ MonoBehaviour:
scrollPos: {x: 0, y: 360}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000542f0000da3c00005a4400005e44000060440000644400006a44000070440000764400008e440000b0440000b8440000c2440000c4440000d4440000dc440000e4440000fa440000fe4400000a4500002245000028450000384500003a450000404500005c4500006e4500008a450000b4450000b8450000f245000000460000124600002446000042460000ae4c0000b24c0000b44c0000ca4c0000d24c0000d44c0000e64c0000e84c0000f84c0000fe4c0000364d0000085e00001a5e0000385e0000c48f0000c68f0000c88f0000ca8f0000cc8f0000ce8f0000d08f0000d28f0000d48f0000d68f0000d88f0000da8f0000dc8f0000de8f0000e08f0000e28f0000e48f0000e68f0000e88f0000ea8f0000ec8f0000ee8f0000f08f0000f28f0000f48f0000f68f0000f88f0000fa8f0000fc8f0000fe8f000000900000029000000490000006900000
m_ExpandedIDs: 000000006a2700006e27000070270000742700007a2700008027000086270000c6270000f4270000f82700000a2800002c2800002e2800004e2800007428000084280000ac280000b2280000be280000da2800004a29000064290000aa290000ae290000ca290000062a0000222a0000742a0000cc2a0000ea2a0000962b0000c62b0000fc2b0000242c00007c2c00000e3300001233000016330000403300006c33000070330000ac330000ae330000c6330000e233000048340000c2450000024600004c4600003e7a0000407a0000427a0000447a0000467a0000487a00004a7a00004c7a00004e7a0000507a0000527a0000547a0000567a0000587a00005a7a00005c7a00005e7a0000607a0000627a0000647a0000667a0000687a00006a7a00006c7a00006e7a0000707a0000727a0000747a0000767a0000787a00007a7a00007c7a00007e7a0000807a0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name: TouchpadController
m_OriginalName: TouchpadController
m_Name:
m_OriginalName:
m_EditFieldRect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
m_UserData: 1840
m_UserData: 0
m_IsWaitingForDelay: 0
m_IsRenaming: 0
m_OriginalEventType: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 8}
m_SearchString:
......@@ -568,19 +567,19 @@ MonoBehaviour:
m_DepthBufferBits: 32
m_Pos:
serializedVersion: 2
x: 234
y: 89
width: 1230
height: 939
x: 235
y: 556
width: 445
height: 471
m_SceneLighting: 0
lastFramingTime: 3771.1254184056133
m_2DMode: 0
m_isRotationLocked: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 75.96492, y: -141.46872, z: 38.830696}
m_Target: {x: 83.05037, y: -142.85994, z: 80.1547}
speed: 2
m_Value: {x: 75.96492, y: -141.46872, z: 38.830696}
m_Value: {x: 83.05037, y: -142.85994, z: 80.1547}
m_RenderMode: 0
m_ValidateTrueMetals: 0
m_SceneViewState:
......@@ -603,9 +602,9 @@ MonoBehaviour:
speed: 2
m_Value: 0
m_Rotation:
m_Target: {x: 0.42016298, y: 0.43180227, z: -0.23816492, w: 0.761766}
m_Target: {x: 0.38849494, y: 0.3251769, z: -0.14875509, w: 0.8492371}
speed: 2
m_Value: {x: 0.42016298, y: 0.43180227, z: -0.23816492, w: 0.761766}
m_Value: {x: 0.38849494, y: 0.3251769, z: -0.14875509, w: 0.8492371}
m_Size:
m_Target: 215.2298
speed: 2
......@@ -642,10 +641,10 @@ MonoBehaviour:
m_DepthBufferBits: 0
m_Pos:
serializedVersion: 2
x: 1468
y: 89
width: 452
height: 619
x: 684
y: 556
width: 275
height: 307
m_ScrollPosition: {x: 0, y: 0}
m_InspectorMode: 0
m_PreviewResizer:
......@@ -701,7 +700,7 @@ MonoBehaviour:
m_DepthBufferBits: 0
m_Pos:
serializedVersion: 2
x: 1468
y: 729
width: 452
height: 299
x: 684
y: 884
width: 275
height: 143
Base path: C:/Program Files/Unity/Editor/Data
Cmd: initializeCompiler
Cmd: preprocess
insize=9310 outsize=1776 ok=1
Cmd: preprocess
insize=11112 outsize=650 ok=1
Cmd: preprocess
insize=1484 outsize=525 ok=1
Cmd: preprocess
insize=963 outsize=362 ok=1
Cmd: preprocess
insize=435 outsize=435 ok=1
Cmd: preprocess
insize=1615 outsize=1854 ok=1
Cmd: preprocess
insize=1214 outsize=427 ok=1
Cmd: preprocess
insize=6728 outsize=2259 ok=1
Cmd: preprocess
insize=11398 outsize=721 ok=1
Cmd: preprocess
insize=1772 outsize=386 ok=1
Cmd: preprocess
insize=1960 outsize=791 ok=1
Cmd: preprocess
insize=1013 outsize=382 ok=1
Cmd: preprocess
insize=1076 outsize=341 ok=1
Cmd: preprocess
insize=2050 outsize=435 ok=1
Cmd: preprocess
insize=1469 outsize=439 ok=1
Cmd: preprocess
insize=17889 outsize=6682 ok=1
Cmd: preprocess
insize=4008 outsize=628 ok=1
Cmd: preprocess
insize=1095 outsize=421 ok=1
Cmd: preprocess
insize=1454 outsize=1800 ok=1
Cmd: preprocess
insize=11962 outsize=3350 ok=1
Cmd: preprocess
insize=1313 outsize=436 ok=1
Cmd: preprocess
insize=1844 outsize=784 ok=1
Cmd: preprocess
insize=6716 outsize=704 ok=1
Cmd: preprocess
insize=1384 outsize=341 ok=1
Cmd: preprocess
insize=1044 outsize=941 ok=1
Cmd: preprocess
insize=1083 outsize=409 ok=1
Cmd: preprocess
insize=2995 outsize=709 ok=1
Cmd: preprocess
insize=966 outsize=329 ok=1
Cmd: preprocess
insize=1596 outsize=417 ok=1
Cmd: preprocess
insize=1460 outsize=294 ok=1
Cmd: preprocess
insize=1951 outsize=307 ok=1
Cmd: preprocess
insize=1492 outsize=381 ok=1
Cmd: preprocess
insize=1406 outsize=356 ok=1
Cmd: preprocess
insize=2381 outsize=671 ok=1
Cmd: preprocess
insize=2607 outsize=887 ok=1
Cmd: preprocess
insize=1049 outsize=304 ok=1
Cmd: preprocess
insize=701 outsize=270 ok=1
Cmd: preprocess
insize=6693 outsize=927 ok=1
Cmd: preprocess
insize=32943 outsize=307 ok=1
Cmd: preprocess
insize=1282 outsize=294 ok=1
Cmd: preprocess
insize=4572 outsize=493 ok=1
Cmd: preprocess
insize=1075 outsize=300 ok=1
Cmd: preprocess
insize=5910 outsize=1510 ok=1
Cmd: preprocess
insize=4274 outsize=1549 ok=1
Cmd: preprocess
insize=13460 outsize=1722 ok=1
Cmd: preprocess
insize=1108 outsize=385 ok=1
Cmd: preprocess
insize=6286 outsize=656 ok=1
Cmd: preprocess
insize=2917 outsize=686 ok=1
Cmd: preprocess
insize=11839 outsize=2503 ok=1
Cmd: preprocess
insize=2893 outsize=1209 ok=1
Cmd: preprocess
insize=13949 outsize=2011 ok=1
Cmd: preprocess
insize=1992 outsize=457 ok=1
Cmd: preprocess
insize=1651 outsize=694 ok=1
Cmd: preprocess
insize=10299 outsize=2543 ok=1
Cmd: preprocess
insize=553 outsize=309 ok=1
Cmd: preprocess
insize=2027 outsize=329 ok=1
Cmd: preprocess
insize=26218 outsize=3456 ok=1
Cmd: preprocess
insize=4085 outsize=519 ok=1
Cmd: preprocess
insize=2224 outsize=332 ok=1
Cmd: preprocess
insize=1251 outsize=383 ok=1
Cmd: preprocess
insize=1257 outsize=455 ok=1
Cmd: preprocess
insize=737 outsize=217 ok=1
Cmd: preprocess
insize=5944 outsize=777 ok=1
Cmd: preprocess
insize=6170 outsize=661 ok=1
Cmd: preprocess
insize=584 outsize=309 ok=1
Cmd: preprocess
insize=8608 outsize=923 ok=1
Cmd: preprocess
insize=12828 outsize=4479 ok=1
Cmd: preprocess
insize=1542 outsize=558 ok=1
Cmd: preprocess
insize=32953 outsize=307 ok=1
Cmd: preprocess
insize=844 outsize=395 ok=1
Cmd: preprocess
insize=5369 outsize=1773 ok=1
Cmd: preprocess
insize=7020 outsize=288 ok=1
Cmd: preprocess
insize=5582 outsize=438 ok=1
Cmd: preprocess
insize=1009 outsize=425 ok=1
Cmd: preprocess
insize=5402 outsize=812 ok=1
Cmd: preprocess
insize=1393 outsize=436 ok=1
Cmd: preprocess
insize=5978 outsize=1176 ok=1
Cmd: preprocess
insize=1014 outsize=360 ok=1
Cmd: preprocess
insize=799 outsize=338 ok=1
Cmd: preprocess
insize=720 outsize=267 ok=1
Cmd: preprocess
insize=4267 outsize=1245 ok=1
Cmd: preprocess
insize=17641 outsize=5065 ok=1
Cmd: preprocess
insize=4426 outsize=587 ok=1
Cmd: preprocess
insize=945 outsize=328 ok=1
Cmd: preprocess
insize=1544 outsize=324 ok=1
Cmd: preprocess
insize=2097 outsize=966 ok=1
Cmd: preprocess
insize=5244 outsize=688 ok=1
Cmd: preprocess
insize=1164 outsize=522 ok=1
Cmd: preprocess
insize=1222 outsize=416 ok=1
Cmd: preprocess
insize=595 outsize=293 ok=1
Cmd: preprocess
insize=801 outsize=342 ok=1
Cmd: preprocess
insize=5731 outsize=845 ok=1
"Start of log file."
"C:/Users/yuki/Desktop/Listen/Assets/OTHERS~1/Model/Villa/4.max"
"Starting max loading and fbx conversion"
window = undefined
"Settings units"
"Before fbx export"
"After fbx export"
"Finished max loading and fbx conversion"
"C:/Users/yuki/Desktop/Listen/Assets/OTHERS~1/Model/Test/House.max"
"Starting max loading and fbx conversion"
window = undefined
"Settings units"
"Before fbx export"
"After fbx export"
"Finished max loading and fbx conversion"
File deleted
fn fileExists fname = (getfiles fname).count != 0
fn strip str = (trimRight (trimLeft str))
-- Dialog Monitor callback function; looks for MXS export related pop-ups and executes specific commands.
fn DialogCallback =
(
rogueWindows = #( "Biped" )
-- get current popup window
h = dialogmonitorops.getwindowhandle()
windowText = UIAccessor.GetWindowText( h )
format "window = %\n" (windowText)
for w = 1 to rogueWindows.count do
(
if ( windowText == rogueWindows[ w ] ) do
(
format "Closing window '%'\n" (windowText)
UIAccessor.PressDefaultButton()
)
)
true
)
pluginManager.loadClass FBXIMP;
pluginManager.loadClass FBXEXP;
openLog "C:/Users/yuki/Desktop/Listen/Temp/3dsMax.log" mode:"w"
print "Start of log file."; flushLog();
while true do
(
if ( fileExists "C:/Users/yuki/Desktop/Listen/Temp/MaxCommandPipe" ) then
(
exportNormals = false;
exportTangents = false;
bakeAnimations = false;
useFileUnits = false;
waitpipe = (openFile "C:/Users/yuki/Desktop/Listen/Temp/MaxCommandPipe" mode:"r");
filename = (readLine waitpipe);
fbxFilename = (readline waitpipe);
for i = 0 to 3 do
(
if ( not (eof waitpipe) ) do
(
cmd = (readLine waitpipe);
if (cmd == "exportNormals") then
exportNormals = true;
else if (cmd == "exportTangents") then
exportTangents = true;
else if (cmd == "bake") then
bakeAnimations = true;
else if (cmd == "useFileUnits") then
useFileUnits = true;
)
)
close waitpipe;
print filename; flushLog();
if ( (stricmp (getFilenameType filename) ".max") == 0 ) then
(
filename = (strip filename);
fbxFilename = (strip fbxFilename);
print "Starting max loading and fbx conversion"; flushLog();
with defaultAction #logmsg
(
ver = maxVersion()
if ( ver[ 1 ] >= 9000 ) do
(
-- register dialog monitor callback notificition and enable
dialogmonitorops.registernotification DialogCallback id:#QuietWindows
dialogmonitorops.enabled = true
)
doExport = loadMaxFile filename useFileUnits:true quiet:true;
if ( ver[ 1 ] >= 9000 ) do
(
-- unregister and disable
dialogmonitorops.enabled = false
dialogmonitorops.unregisternotification id:#QuietWindows
)
if ( doExport ) do
(