forked from whoward69/Sims2Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSims2ToolsNotes.txt
54 lines (47 loc) · 2.35 KB
/
Sims2ToolsNotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Deploy Sims2Utils App To Web Site
=================================
1) Make sure it works!
2) Open "D:\Tomcat6.0\webapps\ROOT\Sims2\Notes\Sims2Tools.html"
3) App version in Visual Studio should be "one more" than in the file
4) Change to "Release", clean and build
5) Change to "Debug", clean, code cleanup (Analyze menu), build and analyze (Build menu)
6) Open "C:\Users\whowa\Documents\Visual Studio 2022\Projects\Sims2Tools", change into app's sub-dir, then "bin"
7) Copy "Debug" and "Release" sub-folders
8) Open "D:\Tomcat6.0\webapps\ROOT\Sims2\Notes", then the app's web page sub-dir and paste in
9) Rename "Release" as "{App}{Version}", eg "HcduPlusV1.4"
10) Rename "Debug" as "{App}{Version}_Debug", eg "HcduPlusV1.4_Debug"
11) Delete the "*.pdb" and "*.xml" files from both of these sub-dirs
12) Run the app directly from both sub-dirs and check the version number in the about box
12b) Delete the .log files
13) Zip both sub-dirs, then remove the sub-dirs
14) Edit the app's web page .html file
15) Add the new downloads into the "Files" section
16) Update the "Change Log" section
17) Update the "Sims2Tools.html" file
18) Start WinScp and log in, navigate the the app's web page sub-dir
19) Copy over the new .zip files
20) Update the .html file
21) Nav into the parent dir
22) Update the "Sims2Tools.html" file
23) Check app's web page and confirm downloads are correct
24) Start "GitHub Desktop" and select "Sims2Tools" repository
25) Enter something into "Summary" and "Commit to main"
26) Click "Push origin" button
27) Click "View on GitHub" button
28) Make sure changes have arrived
29) In Visual Studio, increment version number
DBPF Library Serialized Resources
=================================
Process to make a resource class serializable (based on modding STR#)
Pick the class
Find the SimPe/JetBrains source code and make sure Unserialize is complete
Implement public override void Serialize(DbpfWriter writer)
Implement public override uint FileSize
Repeat for each associated class (eg CpfItem for Cpf)
Check every data member is private
Check every data structure is readonly
Check for any existing setters and how they are used (ideally there should be none)
Decide what class data needs setters
Implement setters, setting the _isDirty flag
Override public override bool IsDirty AND public override void SetClean()
Repeat for each associated class (eg CpfItem for Cpf)