@@ -9,6 +9,10 @@ import {OverlayActions} from '../../slices/OverlaySlice';
99
1010export const SettingsModal = ( { context, id} : ContextModalProps ) => {
1111 const dispatch = useAppDispatch ( ) ;
12+ //Mawrak Tweaks - new setting - Game number
13+ const gameNumber = useAppSelector ( state => state . storage . gameNumber ) ;
14+ //Mawrak Tweaks - new setting - Priority
15+ const PrioritySetting = useAppSelector ( state => state . storage . PrioritySetting )
1216 const gameExePath = useAppSelector ( state => state . storage . gamePath ) ;
1317 const maximumBuildsToKeep = useAppSelector ( state => state . storage . maximumBuildsToKeep ) ;
1418 const saveFilesOnBuild = useAppSelector ( state => state . storage . saveFilesOnBuild ) ;
@@ -42,6 +46,98 @@ export const SettingsModal = ({context, id}: ContextModalProps) => {
4246 return < Container >
4347 < Stack >
4448 < Title order = { 1 } > Settings</ Title >
49+ < Select
50+ required
51+ label = "Select Target Game"
52+ placeholder = "Pick a game to set Game number."
53+ description = "Most games from 58 to 67 should work. Support for older games is untested."
54+ defaultValue = { String ( gameNumber ) }
55+ data = { [
56+ { value : '0' , label : '0 Wallace & Gromit: Episode 1: Fright of the Bumblebees' } ,
57+ { value : '1' , label : '1 Wallace & Gromit: Episode 2: The Last Resort' } ,
58+ { value : '2' , label : '2 Wallace & Gromit: Episode 3: Muzzled' } ,
59+ { value : '3' , label : '3 Telltale Texas Hold-em' } ,
60+ { value : '4' , label : '4 Bone: Out From Boneville' } ,
61+ { value : '5' , label : '5 Bone: The Great Cow Race' } ,
62+ { value : '6' , label : '6 Sam & Max: Episode 101 - Culture Shock' } ,
63+ { value : '7' , label : '7 Sam & Max: Episode 102 - Situation: Comedy' } ,
64+ { value : '8' , label : '8 Sam & Max: Episode 103 - The Mole, The Mob, and the Meatball' } ,
65+ { value : '9' , label : '9 Sam & Max: Episode 104 - Abe Lincoln Must Die!' } ,
66+ { value : '10' , label : '10 Sam & Max: Episode 105 - Reality 2.0' } ,
67+ { value : '11' , label : '11 Sam & Max: Episode 106 - Bright Side of the Moon' } ,
68+ { value : '12' , label : '12 Sam & Max: Episode 201 - Ice Station Santa' } ,
69+ { value : '13' , label : '13 Sam & Max: Episode 202 - Moai Better Blues' } ,
70+ { value : '14' , label : '14 Sam & Max: Episode 203 - Night of the Raving Dead' } ,
71+ { value : '15' , label : '15 Sam & Max: Episode 204 - Chariots of the Dogs' } ,
72+ { value : '16' , label : '16 Sam & Max: Episode 205 - Whats New, Beelzebub' } ,
73+ { value : '17' , label : '17 Strong Bad: Episode 1 - Homestar Ruiner' } ,
74+ { value : '18' , label : '18 Strong Bad: Episode 2 - Strong Badia the Free' } ,
75+ { value : '19' , label : '19 Strong Bad: Episode 3 - Baddest of the Bands' } ,
76+ { value : '20' , label : '20 Strong Bad: Episode 4 - Daneresque 3' } ,
77+ { value : '21' , label : '21 Strong Bad: Episode 5 - 8-Bit Is Enough' } ,
78+ { value : '22' , label : '22 CSI 3 - Dimensions of Murder / Bone demo' } ,
79+ { value : '23' , label : '23 CSI 4 - Hard Evidence (demo)' } ,
80+ { value : '24' , label : '24 Tales of Monkey Island 101: Launch of the Screaming Narwhal' } ,
81+ { value : '25' , label : '25 Wallace & Gromit: Episode 4: The Bogey Man' } ,
82+ { value : '26' , label : '26 Tales of Monkey Island 102: The Siege of Spinner Cay' } ,
83+ { value : '27' , label : '27 Tales of Monkey Island 103: Lair of the Leviathan' } ,
84+ { value : '28' , label : '28 CSI 5 - Deadly Intent' } ,
85+ { value : '29' , label : '29 Tales of Monkey Island 104: The Trial and Execution of Guybrush Threepwood' } ,
86+ { value : '30' , label : '30 CSI 4 - Hard Evidence' } ,
87+ { value : '31' , label : '31 Tales of Monkey Island 105: Rise of the Pirate God' } ,
88+ { value : '32' , label : '32 CSI 5 - Deadly Intent (demo)' } ,
89+ { value : '33' , label : '33 Sam & Max: Episode 301 - The Penal Zone' } ,
90+ { value : '34' , label : '34 Sam & Max: Episode 302 - The Tomb of Sammun-Mak' } ,
91+ { value : '35' , label : '35 Sam & Max: Episode 303 - They Stole Maxs Brain!' } ,
92+ { value : '36' , label : '36 Puzzle Agent - The Mystery of Scoggins' } ,
93+ { value : '37' , label : '37 Sam & Max: Episode 304 - Beyond the Alley of the Dolls' } ,
94+ { value : '38' , label : '38 Sam & Max: Episode 305 - The City That Dares Not Sleep' } ,
95+ { value : '39' , label : '39 Poker Night at the Inventory' } ,
96+ { value : '40' , label : '40 CSI 6 - Fatal Conspiracy' } ,
97+ { value : '41' , label : '41 Back To The Future: Episode 1 - Its About Time' } ,
98+ { value : '42' , label : '42 Back To The Future: Episode 2 - Get Tannen!' } ,
99+ { value : '43' , label : '43 Back To The Future: Episode 3 - Citizen Brown' } ,
100+ { value : '44' , label : '44 Hector: Episode 1 - We Negotiate with Terrorists' } ,
101+ { value : '45' , label : '45 Back To The Future: Episode 4 - Double Visions' } ,
102+ { value : '46' , label : '46 Back To The Future: Episode 5 - OUTATIME' } ,
103+ { value : '47' , label : '47 Puzzle Agent 2' } ,
104+ { value : '48' , label : '48 Jurassik Park: The Game' } ,
105+ { value : '49' , label : '49 Hector: Episode 2 - Senseless Act of Justice' } ,
106+ { value : '50' , label : '50 Hector: Episode 3 - Beyond Reasonable Doom' } ,
107+ { value : '51' , label : '51 Law and Order: Legacies' } ,
108+ { value : '52' , label : '52 Walking Dead: A New Day' } ,
109+ { value : '53' , label : '53 Poker Night 2' } ,
110+ { value : '54' , label : '54 The Wolf Among Us' } ,
111+ { value : '55' , label : '55 The Walking Dead: Season 2' } ,
112+ { value : '56' , label : '56 Tales from the Borderlands' } ,
113+ { value : '57' , label : '57 Game of Thrones' } ,
114+ { value : '58' , label : '58 Minecraft: Story Mode' } ,
115+ { value : '59' , label : '59 The Walking Dead: Michonne' } ,
116+ { value : '60' , label : '60 Batman: The Telltale Series' } ,
117+ { value : '61' , label : '61 The Walking Dead: A New Frontier' } ,
118+ { value : '62' , label : '62 Marvels Guardians of the Galaxy' } ,
119+ { value : '63' , label : '63 Minecraft: Story Mode - Season Two' } ,
120+ { value : '64' , label : '64 Batman: The Enemy Within' } ,
121+ { value : '65' , label : '65 Bone: Out From Boneville 2.0' } ,
122+ { value : '66' , label : '66 Bone: The Great Cow Race 2.0' } ,
123+ { value : '67' , label : '67 The Walking Dead: The Telltale Definitive Series' } ,
124+ ] }
125+ onChange = { e => dispatch ( StorageActions . setGameNumber ( Number ( e ) ?? Number ( '67' ) ) ) }
126+ />
127+ < NumberInput
128+ required
129+ label = "ttarchext Game number"
130+ description = "Default is 67 (TWDTTDS)."
131+ value = { gameNumber }
132+ onChange = { e => dispatch ( StorageActions . setGameNumber ( e ?? 67 ) ) }
133+ />
134+ < NumberInput
135+ required
136+ label = "Priority"
137+ description = "Set to 30 if editing TWDTTDS's main menu. Set to 1100 if overwriting existing Telltale assets. Default is 30."
138+ value = { PrioritySetting }
139+ onChange = { e => dispatch ( StorageActions . setPrioritySetting ( e ?? 30 ) ) }
140+ />
45141 < TextInput
46142 required
47143 label = "Game Executable"
0 commit comments