Minecraft Launcher

Minecraft Launcher

Comp4 Project

Contents

Analysis ............................................................................................................................................. 5 Background and Identification of Problem ..................................................................................... 5 Description of Current System ....................................................................................................... 6 Identification of Prospective User(s) .............................................................................................. 7 Identification of User Needs and Acceptable Limitations ............................................................... 8 Interview with Mr Macleod........................................................................................................ 8 Survey ....................................................................................................................................... 9 Personal Experience................................................................................................................... 9 Conclusion ............................................................................................................................... 10 Data Flow Diagram ...................................................................................................................... 10 Existing .................................................................................................................................... 10 Proposed ................................................................................................................................. 11 Objectives of the Proposed System.............................................................................................. 12 Data Sources and Destinations .................................................................................................... 12 Data Volumes .............................................................................................................................. 12 Data Dictionary............................................................................................................................ 13 Realistic Appraisal of the Feasibility of Potential Solutions ........................................................... 14 Modifying the Current System to Sync Mods with the Teacher's Minecraft Folder ................... 14 Pre-existing Minecraft Launchers ............................................................................................. 14 Bespoke Launcher with Administrative Control Panel .............................................................. 14 Justification of Chosen Solution ................................................................................................... 14 Comparison of Database Technologies..................................................................................... 15 E-R Diagram................................................................................................................................. 16 Comparison and Discussion of Programming Languages .......................................................... 17

Design ............................................................................................................................................. 19 Modular Layout ........................................................................................................................... 19 Hierarchy Chart............................................................................................................................ 20 User Management ................................................................................................................... 20 Downloading Files and Syncing Files ......................................................................................... 21 Upgrading Minecraft ................................................................................................................ 22 Launching Minecraft ................................................................................................................ 23 Backup Management ............................................................................................................... 27 Data Design ................................................................................................................................. 28 Database Design ...................................................................................................................... 28 Description of Record Structure ............................................................................................... 29

Harjot Singh 4124

Merchant Taylor's School 17632

Page |1

Identification of Storage Media ................................................................................................ 34 Description of Measures Planned for Integrity of Data .................................................................. 35 Description of Measures Planned for System Security................................................................... 35 Planned SQL Queries ................................................................................................................... 36

DDL for Creating Tables............................................................................................................ 36 Queries .................................................................................................................................... 38 Identification of Processes and Suitable Algorithms for Data Transformation............................... 42 JSON comparison..................................................................................................................... 42 Minecraft 1.7.10 Sample JSON file ........................................................................................... 43 Getting Library Download List from Minecraft JSON File .......................................................... 44 Launching Minecraft ................................................................................................................ 45 Message Logging ..................................................................................................................... 46 Class Diagrams............................................................................................................................. 47 Inheritance Diagrams ................................................................................................................... 54 Prototyping ? User Interface Design ............................................................................................. 55 Main Screen............................................................................................................................. 55 Downloads Pane ...................................................................................................................... 57 Requests Pane ......................................................................................................................... 58 Settings Pane ........................................................................................................................... 60 Sync Pane ................................................................................................................................ 62 Testing ............................................................................................................................................ 63 System Testing ............................................................................................................................ 63 Pupil Use: ................................................................................................................................ 63 Teacher Use:............................................................................................................................ 71 Validation Testing........................................................................................................................ 93 Test 1 - Pass ............................................................................................................................. 93 Test 2 - Pass ............................................................................................................................. 94 Test 3 - Pass ............................................................................................................................. 95 Test 4 - Pass ............................................................................................................................. 96 Test 5 - Pass ............................................................................................................................. 97 Test 6 - Pass ............................................................................................................................. 98 Test 7 - Pass ............................................................................................................................. 99 Test 8 - Pass ........................................................................................................................... 100 Test 9 - Pass ........................................................................................................................... 101 Test 10 - Pass ......................................................................................................................... 102 Test 11 - Pass ......................................................................................................................... 103

Harjot Singh 4124

Merchant Taylor's School 17632

Page |2

Test 12 - Pass ......................................................................................................................... 104 Test 13 - Pass ......................................................................................................................... 105 Test 14 - Pass ......................................................................................................................... 106 Test 15 - Pass ......................................................................................................................... 107 Test 16 - Pass ......................................................................................................................... 108 System Maintenance ..................................................................................................................... 109 System Overview ....................................................................................................................... 109 Form Designs............................................................................................................................. 111 FrmMain................................................................................................................................ 111 FrmOverlay............................................................................................................................ 112 Sample of Detailed Algorithm Design......................................................................................... 113 CompareJSON........................................................................................................................ 113 Installing Versions of Minecraft.............................................................................................. 114 Launching Minecraft .............................................................................................................. 115 Message Logging ................................................................................................................... 116 Overview of Global Variables..................................................................................................... 117 Overview of Procedures and Functions ...................................................................................... 117 TfrmMain .............................................................................................................................. 117 TLogger.................................................................................................................................. 123 TDBHandler ........................................................................................................................... 123 TQueue.................................................................................................................................. 125 TDownloader ......................................................................................................................... 125 TDownloadManager .............................................................................................................. 126 TProgram............................................................................................................................... 126 TCommandGenerator ............................................................................................................ 127 TMinecraftInstance................................................................................................................ 128 TfrmOverlay........................................................................................................................... 128 TMinecraftUpdater ................................................................................................................ 129 Code Listing ............................................................................................................................... 131 UnitMain ............................................................................................................................... 131 UnitLogger............................................................................................................................. 177 UnitSettings........................................................................................................................... 178 UnitDatabase......................................................................................................................... 183 UnitDownloader .................................................................................................................... 205 UnitWindows......................................................................................................................... 217 UnitLauncher ......................................................................................................................... 225

Harjot Singh 4124

Merchant Taylor's School 17632

Page |3

UnitOverlay ........................................................................................................................... 238 UnitUpdater .......................................................................................................................... 240 UnitSync ................................................................................................................................ 250 Appraisal ....................................................................................................................................... 260 Feedback ................................................................................................................................... 263 Client Feedback Letter ........................................................................................................... 263 Feedback Analysis.................................................................................................................. 264 Future Extension ....................................................................................................................... 265

Harjot Singh 4124

Merchant Taylor's School 17632

Page |4

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download