where is the mistake this is my result, some one can re tape the correct format for the command be success
please no ** or ... /// show me the correct way. thank
Program Files\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins /XMLSAMPLE /XANIM "%jhpan%\My Documents\Oil Rig\Oil Rig.X
<Lockheed Martin\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe /Oil Rig.X /Oil Ring.XANIM %jhpan%\My Documents\Oil Rig
where is the mistake this is my result
please help with the tutorial
C:\>'Program' is not recognized as an internal or external command,
''Program'' is not recognized as an internal or external command,
operable program or batch file.
C:\>operable program or batch file.
'operable' is not recognized as an internal or external command,
operable program or batch file.
C:\>
C:\>C:\><Lockheed Martin\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe /XMLSAMPLE /XANIM %jhpan%\My Documents\Oil Rig
< was unexpected at this time.
C:\>The system cannot find the file specified.
'The' is not recognized as an internal or external command,
operable program or batch file.
C:\>
C:\>C:\><Lockheed Martin\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe /Oil Rig.X /Oil Ring.XANIM %jhpan%\My Documents\Oil Rig
< was unexpected at this time.
C:\>The system cannot find the file specified.
basic tutorial Help please
Re: basic tutorial Help please
Looks like you are not including the quotes in the DOS command like the Learning Center tells you to. And %USERPROFILE% is already correct, you don't replace it.
On my system, the command would look like this:
MIND THE QUOTES " AROUND THE PATHS. THEY ARE NECESSARY.
Best regards
Oliver Binder
Lorby-SI
On my system, the command would look like this:
Code: Select all
"C:\Program Files\Lockheed Martin\Prepar3D v4 SDK 4.3.29.25520\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /XMLSAMPLE /XANIM "%USERPROFILE%\My Documents\Oil Rig\Oil Rig.X"
Best regards
Oliver Binder
Lorby-SI
-
- Posts: 11
- Joined: Sat Jul 28, 2018 3:26 pm
Re: basic tutorial Help please
thank Oliver, if you take a look after attempt and error show point to Line char:96 doI have to give a name to my sample (XMLsample).
thank
C:\Windows\system32> "C:\Program Files\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /X
MLSAMPLE /XANIM "%pantera%\My Documents\Oil Rig\Oil Rig.X"
At line:1 char:96
+ ... Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /XMLSAMPL ...
+ ~
You must provide a value expression following the '/' operator.
At line:1 char:96
+ ... v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /XMLSAMPLE /XANIM ...
+ ~~~~~~~~~
Unexpected token 'XMLSAMPLE' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ExpectedValueExpression
thank
C:\Windows\system32> "C:\Program Files\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /X
MLSAMPLE /XANIM "%pantera%\My Documents\Oil Rig\Oil Rig.X"
At line:1 char:96
+ ... Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /XMLSAMPL ...
+ ~
You must provide a value expression following the '/' operator.
At line:1 char:96
+ ... v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /XMLSAMPLE /XANIM ...
+ ~~~~~~~~~
Unexpected token 'XMLSAMPLE' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ExpectedValueExpression
Re: basic tutorial Help please
1. %pantera% is not correct. Must be %USERPROFILE% - this is a variable, not a literal. DOS replaces it automatically with the path to your current user directory.jhpantaleon wrote: ↑Sun Oct 28, 2018 10:28 pm thank Oliver, if you take a look after attempt and error show point to Line char:96 doI have to give a name to my sample (XMLsample).
thank
C:\Windows\system32> "C:\Program Files\Lockheed Martin\Prepar3D v4 SDK\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /X
MLSAMPLE /XANIM "%pantera%\My Documents\Oil Rig\Oil Rig.X"
2. Make sure that the XToMdl.exe really is where you are saying (C:\Program Files\Lockheed Martin\Prepar3D v4 SDK\ is not the standard path where the SDK would typically install to).
Code: Select all
C:\Users\obinder>"C:\Program Files\Lockheed Martin\Prepar3D v4 SDK 4.3.29.25520\Modeling\3ds Max\Common\Plugins\XToMDL.exe" /XMLSAMPLE /XANIM "%USERPROFILE%\Documents\Oil Rig\Oil Rig.X"
Result:
Best regardsOutputFile: C:\Users\obinder\Documents\Oil Rig\Oil Rig.mdl
Output file after modification: C:\Users\obinder\Documents\Oil Rig\Oil Rig.mdl
Creating output MDL file: C:\Users\obinder\Documents\Oil Rig\Oil Rig.mdl
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0321937
<!-- ++++ Processing Animation : Ambient ++++ -->
<!-- ++++ Processing Animation : Ambient2 ++++ -->
Oliver Binder
Lorby-SI
-
- Posts: 11
- Joined: Sat Jul 28, 2018 3:26 pm
Re: basic tutorial Help please
do you have some dos aplication like powelshell any way still have issue. check unhandled,
I disable my antivirus and reinstall sdk.
i will install win 10 one again.
OutputFile: C:\Users\jhpan\Documents\Oil Rig\Oil Rig.mdl
Output file after modification: C:\Users\jhpan\Documents\Oil Rig\Oil Rig.mdl
(0): error :
(0): error : ----------------------------------------------------------------
(0): error :
(0): error : XToMdl.exe Unhandled Application Exception
(0): error :
(0): error : System.IO.DirectoryNotFoundException
(0): error :
(0): error : Could not find a part of the path 'C:\Users\jhpan\Documents\Oil Rig\Oil Rig.mdl'.
(0): error :
(0): error : ----------------------------------------------------------------
(0): error :
(0): error : Stack Trace:
(0): error :
(0): error : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
(0): error : at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
(0): error : at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
(0): error : at System.IO.FileStream..ctor(String path, FileMode mode)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
C:\Windows\system32>
I disable my antivirus and reinstall sdk.
i will install win 10 one again.
OutputFile: C:\Users\jhpan\Documents\Oil Rig\Oil Rig.mdl
Output file after modification: C:\Users\jhpan\Documents\Oil Rig\Oil Rig.mdl
(0): error :
(0): error : ----------------------------------------------------------------
(0): error :
(0): error : XToMdl.exe Unhandled Application Exception
(0): error :
(0): error : System.IO.DirectoryNotFoundException
(0): error :
(0): error : Could not find a part of the path 'C:\Users\jhpan\Documents\Oil Rig\Oil Rig.mdl'.
(0): error :
(0): error : ----------------------------------------------------------------
(0): error :
(0): error : Stack Trace:
(0): error :
(0): error : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
(0): error : at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
(0): error : at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
(0): error : at System.IO.FileStream..ctor(String path, FileMode mode)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
C:\Windows\system32>
Re: basic tutorial Help please
Did you copy the Oil Rig example files from "<SDK folder>\Modeling\3ds Max\Samples" to your documents folder like the Learning Center tells you to?
Obviously the files and folder "C:\Users\jhpan\Documents\Oil Rig\" must exist, otherwise the XToMDL program has nothing to do. You must give the program the correct location, whereever that is (\Documents\Oil Rig, \My Documents\Oil Rig, G:\Whateverfolder\Oil Rig)
This is all just basic DOS 101, no advanced magic required.
Best regards
Oliver Binder
Lorby-SI
Obviously the files and folder "C:\Users\jhpan\Documents\Oil Rig\" must exist, otherwise the XToMDL program has nothing to do. You must give the program the correct location, whereever that is (\Documents\Oil Rig, \My Documents\Oil Rig, G:\Whateverfolder\Oil Rig)
This is all just basic DOS 101, no advanced magic required.
Best regards
Oliver Binder
Lorby-SI