ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.75k stars 2k forks source link

SdkTools ( maya I\O ) #52

Open fuzzzzzz opened 11 years ago

fuzzzzzz commented 11 years ago

i just wanted to report, that the maya plugins are missing. so actually people must get SFM to grab the I/O plugins for maya. It would be great to commit the files and add them in "Common\Source SDK Base 2013 Singleplayer\bin\sdktools" or something like that. Same problem with the photoshop Scripts that are missing : vst_compile_new_texture.js vst_recompile_texture.js

alfred-valve commented 11 years ago

maya plugins are in the SP SDK now, under the sdktools\ folder.

fuzzzzzz commented 11 years ago

thanks again Alfred, I had restarted steam and tried to validate the content of the SP SDK, but the folder you are mentioning doesn't exists :)

alfred-valve commented 11 years ago

Thanks, I'll work out why.

alfred-valve commented 11 years ago

Okay, the update later today will include sdktools. I don't see a vst_compile_new_texture.js in our source control system nor does the internet know of its existence...

fuzzzzzz commented 11 years ago

Al that great ! the vst_compile_new_texture.js can be found at that path ( in SFM ) "\common\SourceFilmmaker\game\sdktools\photoshop\"

Nicolas

fuzzzzzz commented 11 years ago

i can fork the repository and submit a pull request if you want me to add these files.

alfred-valve commented 11 years ago

no, files from SFM aren't matched to this branch. I see the equivalent here and we can add them in a future update.

fuzzzzzz commented 11 years ago

all right , let's do that :+1:

fuzzzzzz commented 11 years ago

I get them now :) The tools are interesting, and different compared to the sdktools from SFM branch :) So i great you didn't closed the issue, has there is several problem , to get the tools to work First , it seems that /sdktools/ must be installed into the proper directory to fit with the Valve Shipped Software Tree. Second, for the tools to work properly it seems than Environement variable are required SFM use those one

The Missing content : "sdktools/maya/scripts/" This directory is missing, According to SFM a file named maya/scripts/sfmValveSetup.mel is required, to check the Path ( environment variables listed below) The maya plugins work better with that, the Valve menu appears on the menu bar of maya.

The batch files to run maya are missing. Anyway i get the one that SFM provides and it works well. ../sdktools/maya/runmaya_2012.bat ../sdktools/maya/runmaya_2011.bat ../sdktools/maya/runmaya.bat ..etc.. When i go to maya preference to active the plugins, 3 of 4 plugin can be loaded. VsMaster cannot be dynamically loaded, from maya Script editor. The 3 other plugins are in the same place, so i don't understood what could be broken just for that plugin. Also now that Maya load properly sfmValveSetup.mel i get these error from the script editor :

// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 338: VALVe:: SFM Startup Script=G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools/maya//scripts/sfmValveSetup.mel  // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 339: VALVe:: VPROJECT=G:/Steam/steamapps/SourceMods // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 340: VALVe:: Expected VPROJECT to be "G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer" based on startup script
 // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 338: VALVe:: SFM Startup Script=G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools/maya//scripts/sfmValveSetup.mel  // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 339: VALVe:: VCONTENT=G:/Steam/steamapps/SourceMods/mod2013_source // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 340: VALVe:: Expected VCONTENT to be "G:/Steam/steamapps/content" based on startup script
 // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 338: VALVe:: SFM Startup Script=G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools/maya//scripts/sfmValveSetup.mel  // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 339: VALVe:: VGAME=G:/Steam/steamapps/SourceMods/mod2013 // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 340: VALVe:: Expected VGAME to be "G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer" based on startup script
 // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 338: VALVe:: SFM Startup Script=G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools/maya//scripts/sfmValveSetup.mel  // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 339: VALVe:: VTOOLS=G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools" // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 340: VALVe:: Expected VTOOLS to be "G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools" based on startup script
 // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 421: VALVe:: SFM Startup Script=G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sdktools/maya//scripts/sfmValveSetup.mel  // 
// Warning: file: G:\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\sdktools\maya\\scripts\sfmValveSetup.mel line 422: VALVe:: Did not find sfm.exe here: "G:/Steam/steamapps/common/Source SDK Base 2013 Singleplayer/sfm.exe", based on startup script path // 

Currently we can't use the tool because of Vmaster that request script procedure to work. and look like the sfmValveSetup, is not the right script that maya needs to finalize the setup.

Something more odd again, when i load a maya scene from the "steamapps/profile/sourcesdk_content/tf/" .

file -f -options "v=0"  -typ "mayaAscii" -o "G:/Steam/steamapps/laudanum/sourcesdk_content/tf/modelsrc/player/demo/parts/maya/demo_rig.ma";addRecentFile("G:/Steam/steamapps/laudanum/sourcesdk_content/tf/modelsrc/player/demo/parts/maya/demo_rig.ma", "mayaAscii");
# Error: file: G:/Steam/steamapps/laudanum/sourcesdk_content/tf/modelsrc/player/demo/parts/maya/demo_rig.ma line 8: Plug-in, "vstUtils.mll", was not found on MAYA_PLUG_IN_PATH.
# Traceback (most recent call last):
#   File "", line 1, in 
# RuntimeError: Plug-in, "vstUtils.mll", was not found on MAYA_PLUG_IN_PATH. # 

The plugin vsUtils.mll is activated in maya, and the plugin location is also set into the "maya/2012/maya.env" pretty annoying to me.

Nicolas

fuzzzzzz commented 11 years ago

bump ! Please it's important to have functional tools to work with the engine. Hopefully MESA is compatible with all valve games and all version of maya. ( https://developer.valvesoftware.com/wiki/MESA ) I already support Source engine by maintaining the very older exporter made for maya 4.5 (MESA), but it would be better if maya users can work with the production tools used by valve and especially with DMX format but not especially for the 2013 sdk.