https://github.com/EliotVU/UnrealScript-MakeCommandletUtils
Simple EditPackagesCommandlet to be used along side with the Unreal Engine's Editor.MakeCommandlet
https://github.com/EliotVU/UnrealScript-MakeCommandletUtils
unreal-engine unrealscript
Last synced: about 2 months ago
JSON representation
Simple EditPackagesCommandlet to be used along side with the Unreal Engine's Editor.MakeCommandlet
- Host: GitHub
- URL: https://github.com/EliotVU/UnrealScript-MakeCommandletUtils
- Owner: EliotVU
- License: mit
- Created: 2023-03-09T23:28:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T00:04:47.000Z (about 2 years ago)
- Last Synced: 2024-10-24T02:34:41.809Z (6 months ago)
- Topics: unreal-engine, unrealscript
- Language: UnrealScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MakeCommandletUtils
This is a simple commandlet to add and remove a specified editpackage for the use in Batch files when you are not using an IDE.
Originally published at https://wiki.beyondunreal.com/User:Eliot/EditPackagesCommandlet
## Building
1. Extract this repository in your game's root, for example `C:\YourGameRoot\MakeCommmandletUtils`
2. Run the make.bat file `C:\YourGameRoot\MakeCommandletUtils\make.bat`## Usage
Ensure that you have the compiled form of MakeCommandletUtils before runnning the batch file, e.g. `C:\YourGameRoot\System\MakeCommandletUtils.u`
In a batch file i.e. `make.bat`, for example `C:\YourGameRoot\YourProjectName\make.bat`
```bat
@echo offfor %%* in (.) do set project_name=%%~n*
title %project_name%
color 0Fecho.
echo Deleting compiled files %project_name%
echo.
cd..
cd system
del %project_name%.u
del %project_name%.uclucc.exe MakeCommandletUtils.EditPackagesCommandlet 1 %project_name%
ucc.exe editor.MakeCommandlet
ucc.exe MakeCommandletUtils.EditPackagesCommandlet 0 %project_name%
pause
```Run the make.bat to automate the compilation and deletion of your project's .u file.
## Derivative works
- Killing Floor https://github.com/InsultingPros/KFCmdlet