Skip to content

Commit

Permalink
Update total build system
Browse files Browse the repository at this point in the history
  • Loading branch information
user-grinch committed Nov 2, 2021
1 parent 2a9825c commit a5445e0
Show file tree
Hide file tree
Showing 295 changed files with 1,507 additions and 26 deletions.
34 changes: 34 additions & 0 deletions Install ProjectProps.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@echo off
set workingDir=%CD%\modloader\Project Props\
echo Props Props Installer
echo ---------------------
echo.
echo ---------------------------------
echo Converting IPLs (Text to Binary):
echo ---------------------------------
echo.
FOR %%i IN ("%workingDir%\ipl_src\*.ipl") DO (
echo Processing %%~ni.ipl...
echo -------------------------------------------
cmd /C ""%CD%\tools\fastman92_processor.exe" /file_type ipl /input_type text /input_game GAME_EXACT_GTASA_PC /input_filename "%workingDir%\ipl_src\%%~ni.ipl" /output_type binary /output_game GAME_EXACT_GTASA_PC /output_filename "%workingDir%\img_src\%%~ni.ipl""
echo.
)
echo Finished Convertering IPLs
echo.
echo ----------------------------------------
echo Building IMG archive (ProjectProps.img):
echo ----------------------------------------
echo.
cmd /C ""%CD%\tools\fastman92ImgConsole32.exe" -script "%workingDir%\ProjectProps.img.txt""
echo Finished Building IMG archive
echo.
echo Clearning up...
echo.
@RD /S /Q "%workingDir%\ipl_src\"
@RD /S /Q "%workingDir%\img_src\"
@RD /S /Q "%CD%\optional\"
@RD /S /Q "%CD%\tools\"
@DEL /S /Q "%CD%\README.md"
@DEL /S /Q "%workingDir%\ProjectProps.img.txt"
echo Installation Complete
pause
Empty file.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

#

Download the latest version from [here](https://github.com/user-grinch/Project-Props/releases) (ProjectProps.zip). Copy everything from `objdata.txt` and paste them inside `data/object.dat` file. (Don't use modloader).
# Installation
1. Download the latest version from [here](https://github.com/user-grinch/Project-Props/)
2. Copy everything to your game root directory
3. Run the Install ProjectProps.bat file

<details>
<summary>Screenshots</summary>
Expand Down
10 changes: 10 additions & 0 deletions modloader/.data/config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
;
; Mod Loader Basic Config File
;
[Config]
EnableMenu = true ; Enables/disables the menu system (Menu > Options > Mod Loader)
EnablePlugins = true ; Enables/disables plugins from "modloader/.data/plugins", you probably want to have them enabled since they are responssible for loading stuff...
EnableLog = true ; Enables/disables logging. Logging is useful to find bugs or know what's going on, but it slow downs the game, so disable it if you don't care about logs
ImmediateFlushLog = true ; Enables/disables immediate flushing to the disk from the log file. Disabling this increases performance when logging is enabled but decreases logging usefulness
MaxLogSize = 5242880 ; Maximum size of the modloader.log file in bytes, if this size is reached the file is truncated.
AutoRefresh = true ; Mod Loader detects changes in modloader/ directory automatically and refreshes the mods
14 changes: 14 additions & 0 deletions modloader/.data/plugins/plugins.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
;
; Plugins config file
; **** DO NOT EDIT THIS FILE UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING ****
;
[Priority]
; Defines plugins priority (which plugin should take care of a file first, events priority also)
; The priority should be between 1 and 100, where 100 overrides 1, additionally priority 0 makes be ignored (just like IgnoreMods)
; Default plugins normally have the priority in the range 45-55
;
; Just put the path to the plugin module, without extension and replacing slashes with a dot.
; For example:
; gta3.std.text=0 ; disables gta3/std.text.dll
;

Binary file modified modloader/Open limit adjuster/III.VC.SA.LimitAdjuster.asi
Binary file not shown.
15 changes: 7 additions & 8 deletions modloader/Open limit adjuster/III.VC.SA.LimitAdjuster.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ EntryInfoNode = unlimited
Peds = 140
PedIntelligence = 140
Vehicles = 110
Buildings = 100000
Objects = 10000
Dummys = 50000
Buildings = 300000
Objects = 100000
Dummys = 500000
ColModel = unlimited
Task = unlimited
Event = unlimited
Expand All @@ -35,13 +35,12 @@ WeaponModels = unlimited
EntitiesPerIpl = unlimited
EntityIpl = unlimited
StaticShadows = 2048
Coronas = 20000
Coronas = 200000
ScriptSearchLights = 1024
FrameLimit = 30
MemoryAvailable = 30%

[VCLIMITS]
TxdStore = 1385
ExtraObjectsDir = 256
PtrNode = 300000
EntryInfoNode = 3200
Expand All @@ -56,7 +55,7 @@ ColModel = 15000
AlphaEntityList = 2000
VisibleEntityPtrs = unlimited
AtomicModels = 10000
TimeModels = 10000
TimeModels = unlimited
ClumpModels = unlimited
VehicleModels = unlimited
PedModels = unlimited
Expand All @@ -70,7 +69,7 @@ MemoryAvailable = 30%
[GTA3LIMITS]
StreamingInfo = 6350
TxdStore = 850
ExtraObjectsDir = 256
ExtraObjectsDir = 128
PtrNode = 90000
EntryInfoNode = 30000
Peds = 140
Expand All @@ -82,7 +81,7 @@ Dummys = 30000
AudioScriptObj = 256
AlphaEntityList = 2000
VisibleEntityPtrs = unlimited
TimeModels = 10000
TimeModels = unlimited
OutsideWorldWaterBlocks = 40
Coronas = 5000
FrameLimit = 30
Expand Down
Binary file removed modloader/Project Props/ProjectProps.asi
Binary file not shown.
4 changes: 4 additions & 0 deletions modloader/Project Props/ProjectProps.img.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-openOrCreate "files/ProjectProps.img" "2"
-importFromDirectory "img_src"
-rebuildIfArchiveWasModified
-close
1 change: 0 additions & 1 deletion modloader/Project Props/ProjectProps.log

This file was deleted.

Binary file added modloader/Project Props/files/ProjectProps.asi
Binary file not shown.
3 changes: 2 additions & 1 deletion objdata.txt → ...ader/Project Props/files/ProjectProps.dat
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ sign_stop, 30.0, 50.0 0.99, 0.05, 50.0, 1000.0, 1.0, 200, 1, 1, 0,
sign_tractor, 30.0, 50.0 0.99, 0.05, 50.0, 1000.0, 1.0, 200, 1, 1, 0, 0, 0.0, 0.0, 0.0, none 50.0, 0.0, 0.0, 0.1, 0.07, 1, 0
rub_bike1, 30.0, 100.0 0.99, 0.05, 50.0, 1000.0, 2.0, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, none
rub_bike2, 30.0, 100.0 0.99, 0.05, 50.0, 1000.0, 2.0, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, none
rub_monitor, 40.0, 100.0 0.99, 0.05, 50.0, 1000.0, 2.0, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, none
rub_monitor, 40.0, 100.0 0.99, 0.05, 50.0, 1000.0, 2.0, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, none
* end file
File renamed without changes.
15 changes: 0 additions & 15 deletions modloader/Project Props/gtadat.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions modloader/Project Props/loader.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
IDE files/ProjectProps.ide
IMG files/ProjectProps.img
Binary file removed modloader/Project Props/props/sync.ffs_db
Binary file not shown.
28 changes: 28 additions & 0 deletions modloader/modloader.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
;
; Mod Loader Folder Config File
;
[Folder.Config]
Profile = Default ; Profile to be used to configure mods

[Profiles.Default.Config]
IgnoreAllMods = false ; Ignores all mods. This essentially disables mods loading.
ExcludeAllMods = false ; Excludes all mods from being loaded except the ones at IncludeMods list

[Profiles.Default.Priority]
; Defines mods priority (which mods should go into effect if both replaces the same file)
; The priority should be between 1 and 100, where 100 overrides 1, additionally priority 0 makes be ignored (just like IgnoreMods)
; The default priority is 50!
;MyMod=50

[Profiles.Default.IgnoreFiles]
; Put wildcard to files to be ignored here (e.g. cheetah.dff, *.dff, path_in_mod/*.dff)

[Profiles.Default.IgnoreMods]
; Put wildcard to mods to be ignored here
_ignore

[Profiles.Default.IncludeMods]
; Put wildcard to mods to be included in the game even when ExcludeAllMods=true

[Profiles.Default.ExclusiveMods]
; Put wildcard to mods that should be loaded ONLY on this profile
Loading

0 comments on commit a5445e0

Please sign in to comment.