forked from cleolibrary/CLEO4
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed SDK includes. Configured post build events and debug settings. Added setup_env.bat and SETUP.md
- Loading branch information
Showing
4 changed files
with
103 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# CLEO project configuration | ||
|
||
This project depends on Plugin SDK (https://github.com/DK22Pac/plugin-sdk). Using SDK's installer results in creation of PLUGIN_SDK_DIR envinroment variable in operating system. If installer is not used then please manually enter path to the sdk directory in setup_env.bat. | ||
If GTA SA is installed in different than default location please open setup_env.bat file and configure correct path. | ||
Run setup_env.bat to setup required envinroment variables. | ||
|
||
After opening project solution in Visual Studio it should be possible to build as well as debug CLEO in game. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
@ECHO OFF | ||
|
||
@SET GAME_DIR=C:\Program Files (x86)\Rockstar Games\GTA San Andreas | ||
@SET PLUGIN_DIR=C:\plugin-sdk-master | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
@IF DEFINED GTA_SA_DIR ( | ||
ECHO GTA_SA_DIR already set to: | ||
ECHO "%GTA_SA_DIR%" | ||
ECHO: | ||
ECHO New value: | ||
ECHO "%GAME_DIR%" | ||
ECHO: | ||
CHOICE /C YN /M "Do you want to update?" | ||
If ERRORLEVEL 2 GOTO SET_GAME_END | ||
) | ||
|
||
@SETX GTA_SA_DIR "%GAME_DIR%" | ||
ECHO GTA_SA_DIR configured as: | ||
ECHO "%GAME_DIR%" | ||
:SET_GAME_END | ||
|
||
ECHO: | ||
ECHO: | ||
|
||
@IF DEFINED PLUGIN_SDK_DIR ( | ||
ECHO PLUGIN_SDK_DIR already set to: | ||
ECHO "%PLUGIN_SDK_DIR%" | ||
ECHO . | ||
ECHO New value: | ||
ECHO "%PLUGIN_DIR%" | ||
ECHO . | ||
CHOICE /C YN /M "Do you want to update?" | ||
If ERRORLEVEL 2 GOTO SET_PLUGIN_END | ||
) | ||
|
||
@SETX PLUGIN_SDK_DIR "%PLUGIN_DIR%" | ||
ECHO PLUGIN_SDK_DIR configured as: | ||
ECHO "%PLUGIN_DIR%" | ||
:SET_PLUGIN_END | ||
|
||
ECHO: | ||
ECHO: | ||
|
||
pause | ||
exit |