on build: patch package & clear caches #20
No reviewers
Labels
No labels
IN TESTING
Priority: HIGH
Priority: LOW
Priority: MEDIUM
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
investigating
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
BorderOfExtacy/BOEPassion!20
Loading…
Reference in a new issue
No description provided.
Delete branch "tidgp/BOEPassion:patchonbuild"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this is a suggested improvement to the build process, which - for actual testing in-game - afaik requires manually replacing the assembly in the .package file with s3pe after every compile, as well as deleting the cache packages in the
The Sims 3user folder.with this pr, after a successful build, visual studio will automatically update the .package file with the new assembly, and automatically delete the cache packages, so the game can be launched immediately after building.
to take effect, it requires:
Tools/is next to e.g.Deps/. note that it's already gitignored (*.exe)BORDEROFEXTACY_Passion_v0_4_2.package(or whatever the current file inMods/is named) toBORDEROFEXTACY_Passion_dev.package- or else, i can change it in the project file to whatever you currently use; wildcards work tooif ts3buildtool is not found, the step will be silently skipped. (also, when not on windows)
if it is found, it will find the Mods/ directory, search throughout for a file named BORDEROFEXTACY_Passion_dev.package, and replace the first S3SA it sees in it with the new assembly. it makes a loud beep when successful, unfortunately.
if it doesn't find a package with that name, the build will fail (so that you don't go loading up the game expecting new code when it still has old code).
some notes on ts3buildtool:
d7e8979149to56ab13103fthis is awesome, thank you so much for everything again!!