-
Re: Unfinished source BMD (3dMesh) to SMD
rodrigobmg: Can you upload your compiled converter?, please.
I fix all, only this:
Code:
1>------ Operación Generar iniciada: proyecto: BMD, configuración: Release Win32 ------
1>Compilando...
1>StdAfx.cpp
1>Compilando...
1>SMDModel.cpp
1>.\SMDModel.cpp(33) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(37) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(49) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(56) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(67) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(75) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(86) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(99) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(129) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(136) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(160) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(161) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(162) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(173) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(194) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(211) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(260) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(267) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(274) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(277) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(291) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(293) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(333) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(340) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(348) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(355) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(358) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(379) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(384) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(327) : warning C4101: 'fnamedat' : variable local sin referencia
1>.\SMDModel.cpp(417) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(424) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(480) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(497) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(514) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(536) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(586) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(590) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(625) : warning C4018: '<' : no coinciden signed/unsigned
1>readscript.cpp
1>.\readscript.cpp(113) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>ModelConverter.cpp
1>.\ModelConverter.cpp(90) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(144) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(145) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(146) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(148) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(149) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(150) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(152) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(153) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(154) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(131) : warning C4101: 'j' : variable local sin referencia
1>.\ModelConverter.cpp(252) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\ModelConverter.cpp(267) : warning C4800: 'unsigned int' : forzando el valor a bool 'true' o 'false' (advertencia de rendimiento)
1>.\ModelConverter.cpp(293) : warning C4018: '<' : no coinciden signed/unsigned
1>.\ModelConverter.cpp(297) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\ModelConverter.cpp(367) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>BMDModel.cpp
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(17) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(17) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(18) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(18) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(18) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(19) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(20) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(20) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(21) : warning C4309: 'inicializando' : truncamiento de valor constante
1>.\BMDModel.cpp(117) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(337) : warning C4996: 'mbstowcs': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdlib.h(527) : vea la declaración de 'mbstowcs'
1> Mensaje: 'This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(363) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(418) : warning C4996: 'strcpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(73) : vea la declaración de 'strcpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(472) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(513) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(537) : warning C4996: 'sprintf': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(345) : vea la declaración de 'sprintf'
1> Mensaje: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(589) : warning C4996: 'mbstowcs': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdlib.h(527) : vea la declaración de 'mbstowcs'
1> Mensaje: 'This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(619) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(768) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>BMD.cpp
1>.\BMD.cpp(147) : error C2664: 'GetFolder' : no se puede convertir el parámetro 1 de 'const wchar_t [29]' a 'LPCSTR'
1> Los tipos señalados no están relacionados; la conversión requiere reinterpret_cast, conversión de estilo de C o conversión de estilo de función
1>Generando código...
1>El registro de generación se guardó en el "file://c:\Documents and Settings\Usuario\Escritorio\BMD - SMD Converter Source\Release\BuildLog.htm"
1>BMD - 1 errores, 75 advertencias
========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ========
PS: Only 1 error of bad conversion
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
mauro07
rodrigobmg: Can you upload your compiled converter?, please.
I fix all, only this:
Code:
1>------ Operación Generar iniciada: proyecto: BMD, configuración: Release Win32 ------
1>Compilando...
1>StdAfx.cpp
1>Compilando...
1>SMDModel.cpp
1>.\SMDModel.cpp(33) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(37) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(49) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(56) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(67) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(75) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(86) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(99) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(129) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(136) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(160) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(161) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(162) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(173) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(194) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(211) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(260) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(267) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(274) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(277) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(291) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(293) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(333) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(340) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(348) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(355) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(358) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(379) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(384) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(327) : warning C4101: 'fnamedat' : variable local sin referencia
1>.\SMDModel.cpp(417) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(424) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(480) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(497) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(514) : warning C4482: se utilizó una extensión no estándar: enumeración 'SMDToken' utilizada en el nombre completo
1>.\SMDModel.cpp(536) : warning C4244: '=' : conversión de 'float' a 'int'; posible pérdida de datos
1>.\SMDModel.cpp(586) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\SMDModel.cpp(590) : warning C4018: '<' : no coinciden signed/unsigned
1>.\SMDModel.cpp(625) : warning C4018: '<' : no coinciden signed/unsigned
1>readscript.cpp
1>.\readscript.cpp(113) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>ModelConverter.cpp
1>.\ModelConverter.cpp(90) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(144) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(145) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(146) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(148) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(149) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(150) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(152) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(153) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(154) : warning C4244: '=' : conversión de 'double' a 'float'; posible pérdida de datos
1>.\ModelConverter.cpp(131) : warning C4101: 'j' : variable local sin referencia
1>.\ModelConverter.cpp(252) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\ModelConverter.cpp(267) : warning C4800: 'unsigned int' : forzando el valor a bool 'true' o 'false' (advertencia de rendimiento)
1>.\ModelConverter.cpp(293) : warning C4018: '<' : no coinciden signed/unsigned
1>.\ModelConverter.cpp(297) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\ModelConverter.cpp(367) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>BMDModel.cpp
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(17) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(17) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(18) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(18) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(18) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(19) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(20) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(20) : warning C4309: 'inicializando' : truncamiento de valor constante
1>c:\documents and settings\usuario\escritorio\bmd - smd converter source\encdec.h(21) : warning C4309: 'inicializando' : truncamiento de valor constante
1>.\BMDModel.cpp(117) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(337) : warning C4996: 'mbstowcs': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdlib.h(527) : vea la declaración de 'mbstowcs'
1> Mensaje: 'This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(363) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(418) : warning C4996: 'strcpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(73) : vea la declaración de 'strcpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(472) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(513) : warning C4996: 'strncpy': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\string.h(156) : vea la declaración de 'strncpy'
1> Mensaje: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(537) : warning C4996: 'sprintf': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(345) : vea la declaración de 'sprintf'
1> Mensaje: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(589) : warning C4996: 'mbstowcs': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdlib.h(527) : vea la declaración de 'mbstowcs'
1> Mensaje: 'This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(619) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>.\BMDModel.cpp(768) : warning C4996: '_wfopen': el símbolo se ha declarado como deprecated
1> c:\Archivos de programa\Microsoft Visual Studio 8\VC\include\stdio.h(560) : vea la declaración de '_wfopen'
1> Mensaje: 'This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>BMD.cpp
1>.\BMD.cpp(147) : error C2664: 'GetFolder' : no se puede convertir el parámetro 1 de 'const wchar_t [29]' a 'LPCSTR'
1> Los tipos señalados no están relacionados; la conversión requiere reinterpret_cast, conversión de estilo de C o conversión de estilo de función
1>Generando código...
1>El registro de generación se guardó en el "file://c:\Documents and Settings\Usuario\Escritorio\BMD - SMD Converter Source\Release\BuildLog.htm"
1>BMD - 1 errores, 75 advertencias
========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ========
PS: Only 1 error of bad conversion
Code:
// BMD.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include "SMDModel.h"
//float RADIAN; //0.01745329f - 0x3C8EFA35
//float TODEG; //57.29578f - 0x42652EE0
//
//
//typedef struct _VERTEX3F
//{
// _VERTEX3F()
// {
// x=y=z=0;
// };
// _VERTEX3F(float _x, float _y, float _z)
// {
// x = _x;
// y = _y;
// z = _z;
// };
// _VERTEX3F& operator=(_VERTEX3F& v)
// {
// x = v.x;
// y = v.y;
// z = v.z;
// return *this;
// };
// _VERTEX3F operator+(_VERTEX3F& v)
// {
// return _VERTEX3F(x+v.x, y+v.y, z+v.z);
// };
//
// _VERTEX3F operator-(_VERTEX3F& v)
// {
// return _VERTEX3F(x-v.x, y-v.y, z-v.z);
// };
// float x, y, z;
//}VERTEX3F, *LPVERTEX3F;
//
//typedef struct _VERTEX2F
//{
// float x, y;
//}VERTEX2F, *LPVERTEX2F;
//
//typedef struct _VERT_IND
//{
// WORD v[3], trash;
//}VERT_IND;
//
//typedef struct _BMD_HDR
//{
// BYTE sign[3]; //BMD
// BYTE crypt;
//}BMD_HDR, *LPBMD_HDR;
//
//typedef struct _BMD_HDR_INFO
//{
// char sName[32];
// WORD tex_cnt;
// WORD bone_cnt;
// WORD animation_cnt;
//}BMD_HDR_INFO, *LPBMD_HDR_INFO;
//
//
//typedef struct _BMD_TEX
//{
// WORD VertPosCnt;
// WORD VertNormCnt;
// WORD VertTexCnt;
// WORD TrnglCnt;
// WORD ukn;
//}BMD_TEX, *LPBMD_TEX;
//
//typedef struct _BMD_VERT_POS
//{
// int Parent;
// VERTEX3F VertPos;
//}BMD_VERT_POS, *LPBMD_VERT_POS;
//
//typedef struct _BMD_VERT_NORM
//{
// int Parent;
// VERTEX3F VertNorm;
// int Id;
//}BMD_VERT_NORM, *LPBMD_VERT_NORM;
//
//typedef struct _BMD_VERT_TEX
//{
// VERTEX2F VertTex;
//}BMD_VERT_TEX, *LPBMD_VERT_TEX;
//
//
//typedef struct _BMD_TRNG
//{
// BYTE cnt;
// VERT_IND v[3];
// char trash[38];
//}BMD_TRNG, *LPBMD_TRNG;
//
//#pragma pack(1)
//typedef struct _BMD_ANIM_HDR
//{
// WORD FrameCnt;
// BYTE is;
//}BMD_ANIM_HDR, *LPBMD_ANIM_HDR;
//
//
//typedef struct _BMD_BONE_HDR
//{
// BYTE IsNull;
// BYTE sName[32];
// short Parent;
//}BMD_BONE_HDR, *LPBMD_BONE_HDR;
//#pragma pack()
//
//typedef struct _TEX
//{
// BMD_TEX tex;
// LPBMD_VERT_POS lpVertPos;
// LPBMD_VERT_NORM lpVertNorm;
// LPBMD_VERT_TEX lpVertTex;
// LPBMD_TRNG lpTrng;
//
// char texture[32];
//}TEX, *LPTEX;
//
//typedef struct _ANIM
//{
// BMD_ANIM_HDR hdr;
// LPVERTEX3F lpVert3f;
//}ANIM, *LPANIM;
//
//typedef struct _BONES
//{
// BMD_BONE_HDR hdr;
// LPVERTEX3F *lpVertPos;
// LPVERTEX3F *lpVertRot;
//}BONES, *LPBONES;
//
///*
//typedef struct _MATRIX3x4
//{
// _MATRIX3x4()
// {
// ZeroMemory(this, sizeof(*this));
// }
// float v[3][4];
//}MATRIX3x4, *LPMATRIX3x4;
//*/
//typedef float MATRIX3x4[3][4];
//typedef MATRIX3x4 *LPMATRIX3x4;
//
//typedef struct _TRANSFORM
//{
// MATRIX3x4 vpos;
// MATRIX3x4 vnorm;
// MATRIX3x4 ivpos;
// MATRIX3x4 xvpos;
// MATRIX3x4 yvpos;
// MATRIX3x4 zvpos;
//
// MATRIX3x4 xnpos;
// MATRIX3x4 ynpos;
// MATRIX3x4 znpos;
//
//
// VERTEX3F bpos;
//// VERTEX3F ibpos;
//
//}TRANSFORM, *LPTRANSFORM;
//
//void MakeRotateMatrix(LPMATRIX3x4 lpDstMat, VERTEX3F *lpRot);
//void MakeRotateMatrix2(LPMATRIX3x4 lpDstMat, VERTEX3F *lpRot);
//void MulMatrix(LPMATRIX3x4 lpDstMat, LPMATRIX3x4 lpMat1, LPMATRIX3x4 lpMat2);
//void MulVectMat(float *lpDstVect, float *lpVect, LPMATRIX3x4 lpMat);
//void MatInv(LPMATRIX3x4 lpDstMat, LPMATRIX3x4 lpMat);
//
//
//
#include "BMDModel.h"
//
//void ParseBmd(char* pBMD, DWORD dwSize)
//{
///*
// char *DecBMD = new char[dwSize];
// char * eax, ebx, ecx, edx, edi, esi;
// ebx = 4;
// edi = pBMD;
// eax = *(edi+3);
// if( eax == 0x0C)
// {
//
// }
// eax = dwSize;
// esi = edi+ebx;
// ecx = 8;
// edi = eax;
//*/
// BYTE keys[16] = {0xD1, 0x73, 0x52, 0xF6,
// 0xD2, 0x9A, 0xCB, 0x27, 0x3E, 0xAF,
// 0x59, 0x31, 0x37, 0xB3, 0xE7, 0xA2};
// char *pDst = new char[dwSize];
// ZeroMemory(pDst, dwSize);
// int i;
// BYTE j;
// for(i=0, j=0x5E; i < dwSize; i++)
// {
// pDst[i] = (keys[i%16]^pBMD[i])-j;
// j = pBMD[i]+0x3D;
// }
//}
//
#include <vector>
using namespace std;
int main(int argc, char* argv[])
{
CBMDModel b;
CModelConverter mc;
CSMDModel m;
b.LoadFromFileW(L"C:\\test\\player.bmd");
mc.BmdToSmd(b, m);
m.SaveToFileW(L"C:\\test\\player.smd");
getch();
return 0;
}
Leave your main.cpp like that...
-
Re: Unfinished source BMD (3dMesh) to SMD
Well, friends I worked ... can convert to smd to bmd with animations included!
DOWNLOAD COMPILED BMD CONVERTER
Credits: Hybrid (Gembrid).
Gembrid, you will not have any material effects on the items?, Such as Shine, Transparency, Blur, etc... thanks in advance
-
Re: Unfinished source BMD (3dMesh) to SMD
I'm having issues trying to convert an SMD that I edited. If I take a model from the game, convert to smd, and back to bmd it works fine, but whenever I make a change to a mesh and try to convert it to bmd the program crashes.
I have a theory as to the transparency part you mentioned though. I think you can assign a tga material to a model and have that converted to ozt for game use. I am going try changing the specularity and gloss to see if it makes any changes.
Since this smd format is different from the valve/source one I think I'll try writing a maxscript to import the mu exported "smd" format instead of cannonfodder's or wunderboy.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
mauro07
Well, friends I worked ... can convert to smd to bmd with animations included!
DOWNLOAD COMPILED BMD CONVERTER
Credits: Hybrid (Gembrid).
Gembrid, you will not have any material effects on the items?, Such as Shine, Transparency, Blur, etc... thanks in advance
Good Job boy, btw let me tell u something, someting animations files have .coordenate files, this script u made need btw load thi .coordenate files in order or animations can be buged.
If u can fix this, then this can be very nice :D:, take player.bmd and convert to .smd, you get lots of smd files, all animations for player, with Pentium Tools if u compile back this animations to BMD all works fine, but with this BMD.EXE u made i get buged animations, Test by yourself, i hope u can fix man, this its a very nice release.
Quote:
Originally Posted by
spigga101
I'm having issues trying to convert an SMD that I edited. If I take a model from the game, convert to smd, and back to bmd it works fine, but whenever I make a change to a mesh and try to convert it to bmd the program crashes.
I have a theory as to the transparency part you mentioned though. I think you can assign a tga material to a model and have that converted to ozt for game use. I am going try changing the specularity and gloss to see if it makes any changes.
Since this smd format is different from the valve/source one I think I'll try writing a maxscript to import the mu exported "smd" format instead of cannonfodder's or wunderboy.
In the past i have same problem, if u export direct from max to Smd with valve plugins and then you try converto to bmd u have this problem, to fix only open the smd with Milkshape and export to .smd, then use the BMD.exe and all be fine.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
Good Job boy, btw let me tell u something, someting animations files have .coordenate files, this script u made need btw load thi .coordenate files in order or animations can be buged.
If u can fix this, then this can be very nice :D:, take player.bmd and convert to .smd, you get lots of smd files, all animations for player, with Pentium Tools if u compile back this animations to BMD all works fine, but with this BMD.EXE u made i get buged animations, Test by yourself, i hope u can fix man, this its a very nice release.
In the past i have same problem, if u export direct from max to Smd with valve plugins and then you try converto to bmd u have this problem, to fix only open the smd with Milkshape and export to .smd, then use the BMD.exe and all be fine.
yes... it's true... I test with: Player.bmd of: 1.03.52 (Eng) - Season 6 Episode 2.. and the original file: Player.bmd weight: 3,16 MB, but the new compilation of: Player.bmd made by: BMD.exe weight: 2,86 MB :(: is bug.
TEST IN: 1.03.52 (Eng) Season 6 Episode 2 Using Original: Player.bmd
http://i.imgur.com/aywgQ.jpg
http://i.imgur.com/AeHbv.jpg
TEST IN: 1.03.52 (Eng) Season 6 Episode 2 Using Generated: Player.bmd
http://i.imgur.com/a8CcI.jpg
http://i.imgur.com/0iohG.jpg
PS: Perhaps it is because of the version, but I think... in any way.. I will see what can be wrong in the code. thanks Rimbros.
PS 2: With normal 3d bmd models like: Bows or Pets.. works well. :):
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
Good Job boy, btw let me tell u something, someting animations files have .coordenate files, this script u made need btw load thi .coordenate files in order or animations can be buged.
it generates .dat files and loads them back, and i really don't know if this data is used, tried to hardware bp and no results.
Quote:
Originally Posted by
mauro07
Player.bmd of: 1.03.52 (Eng) - Season 6 Episode 2..
upload player.bmd, i'll convert with my build.
or if you converted to smd with penitium tools, then it didn't load those ".coor.." files, cause it loads .dat =)
-
Re: Unfinished source BMD (3dMesh) to SMD
Link player file in smd format.
PLAYERSMD.rar - 4shared.com - обмен, хранение, загрузка файлов
Thank Gembrid, hope can be fixed i still to put customized animations here.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
zSHARE - PLAYER.rar - Free File Hosting Service | Audio and Video Sharing | Image Uploading | Web storage
also, FileList function requires 1st file to be reference file(load reference, append animations), so if there is only animation smds need to add additional file "???_000.smd" or "???.smd" (just copy 1st animation file and rename it)
also in code need to change
PHP Code:
typedef struct _BMD_FILE_VERTEX_POS
{
// int iParent;
short iParent;
short ukn; // maybe trash
CVector3 vPos;
}BMD_FILE_VERTEX_POS, *LPBMD_FILE_VERTEX_POS;
// BMD Vertex's Normal vector
typedef struct _BMD_FILE_VERTEX_NORM
{
// int iParent;
short iParent;
short ukn;
CVector3 vNorm;
int id;
}BMD_FILE_VERTEX_NORM, *LPBMD_FILE_VERTEX_NORM;
and
these functions don't close opened files
PHP Code:
BOOL CSMDModel::LoadFromFileW(const wchar_t* wszFileName)
BOOL CSMDModel::AppendAnimation(const wchar_t* wszFileName)
need to add
PHP Code:
fclose(SMDFile);
-
Re: Unfinished source BMD (3dMesh) to SMD
The Gembrid converter, generated: .coords files how: .dat file.. but the info into the file is very similar..
Look this:
player_001.coords (of Pentium Tools):
Code:
0.0 0.0 0.0
0.0 0.0 0.0
0.0 0.0 0.0
player_001.dat (of BMD.exe converter of Gembrid):
Code:
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
Info in file is the same, but type file: .dat of .coords is the difference. :):
PS: I can generate 1 "Player.bmd" for: Season 6 Episode 2 of: 3.20 MB (Original Player.bmd of: 1.03.52 Eng is --> 3.16 MB) :D: this difference of: 4 kb is for different cant of: 0.000000 only must be: open .dat files with: notepad and save file how: .coords
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
mauro07
The Gembrid converter, generated: .coords files how: .dat file.. but the info into the file is very similar..
Look this:
player_001.coords (of Pentium Tools):
Code:
0.0 0.0 0.0
0.0 0.0 0.0
0.0 0.0 0.0
player_001.dat (of BMD.exe converter of Gembrid):
Code:
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
Info in file is the same, but type file: .dat of .coords is the difference. :):
PS: I can generate 1 "Player.bmd" for: Season 6 Episode 2 of: 3.20 MB (Original Player.bmd of: 1.03.52 Eng is --> 3.16 MB) :D: this difference of: 4 kb is for different cont of: 0.0
00000 only must be: open .dat files with: notepad and save file how: .coords
well, those values are the same, float is stored in 4 byte.
you have the source, you can change code to generate/read ".coord" files, not ".dat" files
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
Gembrid
well, those values are the same, float is stored in 4 byte.
you have the source, you can change code to generate/read ".coord" files, not ".dat" files
Well, I for one am very busy with things at work now.. and honestly I have no time, but I leave the code compilable in: Visual C++ 2005 .NET + Solution + Compiled exe
BMD - SMD Converter Source for 2005.rar :thumbup1:
Credits: Gembrid (me only made some changes and compile his code)
PS: Gembrid You have some material on some OpenGL effects in main.exe such as Shine, Blur, Transparency, etc... to put them on certain items?
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
mauro07
PS: Gembrid You have some material on some OpenGL effects in main.exe such as Shine, Blur, Transparency, etc... to put them on certain items?
no i don't, and what's the point of these? if you want new items to look like other cool items added by webzen, then there is no need to know smth about those effects.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
mauro07
Well, I for one am very busy with things at work now.. and honestly I have no time, but I leave the code compilable in: Visual C++ 2005 .NET + Solution + Compiled exe
BMD - SMD Converter Source for 2005.rar :thumbup1:
Credits: Gembrid (me only made some changes and compile his code)
PS: Gembrid You have some material on some OpenGL effects in main.exe such as Shine, Blur, Transparency, etc... to put them on certain items?
Well hope you or grembrid can fix this. of course if this its the reazon coz something animations are bugged.
PS: Interesting Question abouth effects in main.exe, i see the one can do this its your old friend Sobieh, he can give you info abouth this i think, coz he already put effects in items, but i have another question, new weapons like a something DL scepter have rotation animation
gamble_stick.rar - 4shared.com - обмен, хранение, загрузка файлов
how its posible allow animations for other items? where this can be activated? and its posible also activate animations in Armors Parts?.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
but i have another question, new weapons like a something DL scepter have rotation animation
how its posible allow animations for other items? where this can be activated? and its posible also activate animations in Armors Parts?.
elf bows also have animations, and it's old. and if you want to replace existing bow with new model with added animation, it certainly should work if you do all correct.
probably there is a way to add such things for all weapons, need to check main.
weapons/wings have their own skeleton, but pants, boots, gloves, etc. use player skeleton, and they "copy" all player animation - you fly = pants fly :D
PS, but you can make player skeleton more complicated and change animations:
add new bones, create item that uses these bones, and you have your own animated armor part.
for example take a look on the dragon armor and bronze armor, dragon armor uses more bones and have additional animation =)
The only problem - as i remember, weapons/wings/other link to player by hard coded bone numbers, so if there is a way to add new bones by keeping bone numbers from original player.bmd you can try to implement this thing.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
Gembrid
elf bows also have animations, and it's old. and if you want to replace existing bow with new model with added animation, it certainly should work if you do all correct.
probably there is a way to add such things for all weapons, need to check main.
weapons/wings have their own skeleton, but pants, boots, gloves, etc. use player skeleton, and they "copy" all player animation - you fly = pants fly :D
PS, but you can make player skeleton more complicated and change animations:
add new bones, create item that uses these bones, and you have your own animated armor part.
for example take a look on the dragon armor and bronze armor, dragon armor uses more bones and have additional animation =)
The only problem - as i remember, weapons/wings/other link to player by hard coded bone numbers, so if there is a way to add new bones by keeping bone numbers from original player.bmd you can try to implement this thing.
Yes its true, already i have the skeleton from Lineage and i adjust this for Mu, this have more bones and its more complex, take me lot of time adjust this and animations looks amazing already, but the problem Gembrid its i cant made the .bmd of player.bmd animations if this cant be fixed in the BMD.EXE.:thumbup1:
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
Yes its true, already i have the skeleton from Lineage and i adjust this for Mu, this have more bones and its more complex, take me lot of time adjust this and animations looks amazing already, but the problem Gembrid its i cant made the .bmd of player.bmd animations if this cant be fixed in the BMD.EXE.:thumbup1:
and what's the problem?)
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
Gembrid
and what's the problem?)
Remember gembrid. If BMD have animations, BMD Comverter wont work 100% cuz have some errors on converted X/Y/Z structs. If Rimbros wants Add new bones inside Sets/Weapons, he need edit player.bmd to make it news animation works.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
Gembrid
and what's the problem?)
The problem bro its:
1- Take any PLAYER.BMD from any client u have installed.
2- With pentium tools free version convert this to SMD.
3- With the BMD.EXE convert this SMD to .BMD back.
4- Run in game with any pj, now u get the error in animation.
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
The problem bro its:
1- Take any PLAYER.BMD from any client u have installed.
2- With pentium tools free version convert this to SMD.
3- With the BMD.EXE convert this SMD to .BMD back.
4- Run in game with any pj, now u get the error in animation.
i've already tested) everything was ok =\
have you tried player.bmd i've uploaded?
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
Gembrid
i've already tested) everything was ok =\
have you tried player.bmd i've uploaded?
O sorry, yes this works fine.
Abouth animations in items, ok, let me explain, this weapon mace have animation rotation, but if u added a new weapon item with animations .bmd file the animation not run, and the object looks withouth animation, the only way its replace the item, but how its posible in main allow a item to run animations?... this question are here by years. I dont think only this man sobieh know the answer ot this.
http://i303.photobucket.com/albums/n...ENCIAS/REF.jpg
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
RIMBROS
O sorry, yes this works fine.
Abouth animations in items, ok, let me explain, this weapon mace have animation rotation, but if u added a new weapon item with animations .bmd file the animation not run, and the object looks withouth animation, the only way its replace the item, but how its posible in main allow a item to run animations?... this question are here by years. I dont think only this man sobieh know the answer ot this.
1. find the code in main for original item
2. analyze
3. change the code to support new items
4. :D
it was easy to find it for raven stick and stop the animation
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
Gembrid
1. find the code in main for original item
2. analyze
3. change the code to support new items
4. :D
it was easy to find it for raven stick and stop the animation
That its the point, nobody find the code, only sobieh but of course he never shared.:thumbdown:
I ask to you because i remember u are the only find how to changue the size in NPC.
U are good finding codes.
-
Re: Unfinished source BMD (3dMesh) to SMD
I can find assembly code for every item.. using: olly, but I don't know how extend limit.. to load me lacking struct for load effects in items, I don't know the way that: main.exe load effect in every item
for example:
Code:
Loop for load Bows in: 1.03.52 (Eng)
CPU Disasm
Address Hex dump Command Comments
00629EC1 |. 6A 14 PUSH 14 ; /Arg4 = 14
00629EC3 |. 68 78C09A00 PUSH OFFSET 009AC078 ; |Arg3 = ASCII "Bow"
00629EC8 |. 68 7CC09A00 PUSH OFFSET 009AC07C ; |Arg2 = ASCII "Data\Item\"
00629ECD |. 68 A70C0000 PUSH 0CA7 ; |Arg1 = 0CA7 ---> Item offset in array for bows
00629ED2 |. E8 B1D2FFFF CALL 00627188 ; \Main-Funcional.00627188
00629ED7 |. 83C4 10 ADD ESP,10
0CA7 = 3239 in dec with this and ItemGet, you can found: exactly ItemID, for Bows how: "Ari Lyn Bow" that have special effects (you can found calls in main for this effect and redirect to: New Added Bow).
-
Re: Unfinished source BMD (3dMesh) to SMD
Quote:
Originally Posted by
mauro07
I can find assembly code for every item.. using: olly, but I don't know how extend limit.. to load me lacking struct for load effects in items, I don't know the way that: main.exe load effect in every item
Yea this its the most hard think in Main.exe found a effects and animations control, to extend limit of items u can made a Dll. btw i found interesting thinks, like light spots in something bones names, but out of this i dont know, another think i see its the sobieh effects in items looks very rare, not look nice like the original effects, i think he made a Dll or something to put OpenGl effects or something to the items, and he not working with the original code. Its only a think i supposse.
I search control animation coz i search release armors in Mu like the Inmortals Online..
Of course do this i have my hown skeleton structure. Compatible with all the armors released and with extra bones.
Battle of the Immortals Blueprint - Hyperion Set - YouTube
Battle of the Immortals (Armor Set) - YouTube