Guest User

Metal Gear Solid V - How to create / import custom weapons

a guest
Aug 20th, 2020
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.09 KB | None | 0 0
  1. @echo off&cls
  2. set current_path=%~dp0
  3. set Script_path=%current_path:~0,-1%
  4.  
  5. echo =====================================================================
  6. echo      Don't forget to write the name of your FMDL in "fmdl_name"!
  7. echo =====================================================================
  8. echo.
  9. pause
  10.  
  11. set "fmdl_name=ar00_main0_aw0"
  12.  
  13. REM ===========================================================
  14. REM               Cleaning the repacked FPK files
  15. REM ===========================================================
  16. title Cleaning the repacked FPK files
  17. echo Cleaning the repacked FPK files:
  18.  
  19. for /r %%q in (*.fpk*) do (
  20.     title %%~nxq
  21.     del "%%q"
  22. )
  23. REM ===========================================================
  24. REM               Replace all FMDLs by our custom
  25. REM ===========================================================
  26. title Replace all FMDLs by our custom
  27. echo Replace all FMDLs by our custom:
  28.  
  29. for /r %Script_path%\Assets\ %%f in (*.fmdl*) do (
  30.     if exist "%Script_path%\%fmdl_name%.fmdl" (
  31.         xcopy "%Script_path%\%fmdl_name%.fmdl" "%%~dpf" /Y
  32.     )
  33. )
  34. REM pause
  35. exit
Advertisement
Add Comment
Please, Sign In to add comment