Source code of Ensata (A Nintendo DS emulator made by Nintendo).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

make_release.bat 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @ECHO OFF
  2. rem Usage: make_release <repository_name> <tag_name>
  3. rem [Notes] zip exe must be lhaca.exe
  4. echo ** Make release tree...
  5. mkdir ensata
  6. mkdir ensata\dlls
  7. mkdir ensata\ext_dlls
  8. mkdir ensata\Help
  9. mkdir ensata\Release
  10. mkdir ensata\skins
  11. mkdir ensata\unreg
  12. mkdir release
  13. echo ** Checkout with CVS...
  14. cd release
  15. cvs -d %1 checkout -r %2 gbe
  16. cd ..
  17. echo ** Build ensata.exe...
  18. "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" release\gbe\WIN\iris\iris.sln /build Release
  19. echo ** Build ext_dlls...
  20. "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" release\gbe\ext_control\is_chara\is_chara.sln /build Release
  21. "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" release\gbe\ext_control\nitro_viewer\nitro_viewer.sln /build Release
  22. echo ** Build uimain.dll...
  23. cd release\gbe\WIN\iris\builder_plugin
  24. "C:\Program Files\Borland\CBuilder6\Bin\bpr2mak.exe" uimain.bpr
  25. "C:\Program Files\Borland\CBuilder6\Bin\make.exe" -f uimain.mak
  26. echo ** Build unreg.exe...
  27. cd ..\..\..\unreg
  28. "C:\Program Files\Borland\CBuilder6\Bin\bpr2mak.exe" unreg.bpr
  29. "C:\Program Files\Borland\CBuilder6\Bin\make.exe" -f unreg.mak
  30. cd ..\..\..
  31. echo ** Copy files...
  32. copy /Y release\gbe\HelpProject\jp\Readme_jp.txt ensata\
  33. copy /Y release\gbe\HelpProject\us\Readme.txt ensata\
  34. copy /Y release\gbe\WIN\iris\dlls\StrRes_eng.dll ensata\dlls\
  35. copy /Y release\gbe\WIN\iris\dlls\uimain.dll ensata\dlls\
  36. copy /Y release\gbe\ext_control\is_chara\Release\is_chara.dll ensata\ext_dlls\est_is_chara.dll
  37. copy /Y release\gbe\ext_control\nitro_viewer\Release\nitro_viewer.dll ensata\ext_dlls\est_nitro_viewer.dll
  38. copy /Y release\gbe\HelpProject\jp\ensata_jp.chm ensata\Help\
  39. copy /Y release\gbe\HelpProject\us\ensata.chm ensata\Help\
  40. copy /Y release\gbe\WIN\iris\Release\ensata.exe ensata\Release\
  41. copy /Y release\gbe\WIN\iris\skins\default_skin.bmp ensata\skins\
  42. copy /Y release\gbe\unreg\unreg.exe ensata\unreg\
  43. cd release\gbe\tools\etc
  44. chkdate.pl
  45. cd ..\..\..\..
  46. echo ** Remove release...
  47. rmdir /S /Q release
  48. echo ** Zip
  49. "c:\Program Files\Lhaca\Lhaca.exe" ensata
  50. echo ** Complete!