Skip to content

Commit 3de6b09

Browse files
Updated all extension languaging to use 'TKVSC' instead of 'TOTK Editor'
1 parent 01c38c7 commit 3de6b09

11 files changed

Lines changed: 65 additions & 65 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ To demonstrate with a direct comparison, modifying the defense of every level of
110110

111111
**`python3` works in CMD but the extension cannot find Python?** Cursor and VS Code are often launched without your full user PATH (unlike a terminal you opened yourself). Fix:
112112

113-
1. **TOTK: Select Python (from detected installs)** - scans `where python3`, common install folders, and `py`.
114-
2. **TOTK: Browse for python.exe** - point at the real interpreter (e.g. `%LocalAppData%\Programs\Python\Python312\python.exe`).
115-
3. Or set **TOTK Editor → Python Path** to that full path, then **TOTK: Set Up Python Environment** again.
113+
1. **TKVSC: Select Python (from detected installs)** - scans `where python3`, common install folders, and `py`.
114+
2. **TKVSC: Browse for python.exe** - point at the real interpreter (e.g. `%LocalAppData%\Programs\Python\Python312\python.exe`).
115+
3. Or set **TKVSC → Python Path** to that full path, then **TKVSC: Set Up Python Environment** again.
116116

117-
If setup fails, run **TOTK: Set Up Python Environment** from the Command Palette.
117+
If setup fails, run **TKVSC: Set Up Python Environment** from the Command Palette.
118118

119119
## Build Instructions
120120

docs/verboselogging.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Click "Terminal" at the top of VSC, then "New Terminal", and switch the tab at the top of the new terminal to "Output", and then click the dropdown and select "TOTK-Editor" to view the logs.
66

77
(example logs)
8-
[2026-05-29T20:42:16.668Z] [INFO] TOTK Editor: Logger initialized.
9-
[2026-05-29T20:42:16.669Z] [INFO] Activating TOTK Editor extension...
10-
[2026-05-29T20:42:16.671Z] [INFO] TOTK Editor dependencies initialized.
8+
[2026-05-29T20:42:16.668Z] [INFO] TKVSC: Logger initialized.
9+
[2026-05-29T20:42:16.669Z] [INFO] Activating TKVSC extension...
10+
[2026-05-29T20:42:16.671Z] [INFO] TKVSC dependencies initialized.
1111
[2026-05-29T20:42:16.680Z] [INFO] Starting Python background environment setup...
1212
[2026-05-29T20:42:16.681Z] [INFO] Initializing Python setup bootstrap sequence...

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -245,27 +245,27 @@
245245
"commands": [
246246
{
247247
"command": "totk-editor.openPack",
248-
"title": "TOTK: Open Archive (.pack, .sarc, .genvb, .blarc, .bfarc, .bntx)",
248+
"title": "TKVSC: Open Archive (.pack, .sarc, .genvb, .blarc, .bfarc, .bntx)",
249249
"icon": "$(package)"
250250
},
251251
{
252252
"command": "totk-editor.addWorkspaceToArchives",
253-
"title": "TOTK: Add workspace folder to Projects",
253+
"title": "TKVSC: Add workspace folder to Projects",
254254
"icon": "$(repo-create)"
255255
},
256256
{
257257
"command": "totk-editor.addProjectFolders",
258-
"title": "TOTK: Add Projects via File Explorer",
258+
"title": "TKVSC: Add Projects via File Explorer",
259259
"icon": "$(folder-opened)"
260260
},
261261
{
262262
"command": "totk-editor.importTKMMProjects",
263-
"title": "TOTK: Import TKMM Projects",
263+
"title": "TKVSC: Import TKMM Projects",
264264
"icon": "$(cloud-download)"
265265
},
266266
{
267267
"command": "totk-editor.refreshArchives",
268-
"title": "TOTK: Refresh Projects",
268+
"title": "TKVSC: Refresh Projects",
269269
"icon": "$(refresh)"
270270
},
271271
{
@@ -289,12 +289,12 @@
289289
},
290290
{
291291
"command": "totk-editor.refreshGameDump",
292-
"title": "TOTK: Refresh Game Dump",
292+
"title": "TKVSC: Refresh Game Dump",
293293
"icon": "$(refresh)"
294294
},
295295
{
296296
"command": "totk-editor.openRomfsSettings",
297-
"title": "TOTK: Set Game Dump Path"
297+
"title": "TKVSC: Set Game Dump Path"
298298
},
299299
{
300300
"command": "totk-editor.setActiveProject",
@@ -366,47 +366,47 @@
366366
},
367367
{
368368
"command": "totk-editor.exportYaml",
369-
"title": "TOTK: Export Current File to YAML"
369+
"title": "TKVSC: Export Current File to YAML"
370370
},
371371
{
372372
"command": "totk-editor.openEditableFile",
373-
"title": "TOTK: Open File (Supported Formats)"
373+
"title": "TKVSC: Open File (Supported Formats)"
374374
},
375375
{
376376
"command": "totk-editor.runSetup",
377-
"title": "TOTK: Run First-Time Setup (RomFS, Projects, TKMM)"
377+
"title": "TKVSC: Run First-Time Setup (RomFS, Projects, TKMM)"
378378
},
379379
{
380380
"command": "totk-editor.setupPython",
381-
"title": "TOTK: Set Up Python Environment"
381+
"title": "TKVSC: Set Up Python Environment"
382382
},
383383
{
384384
"command": "totk-editor.pickPython",
385-
"title": "TOTK: Select Python (from detected installs)"
385+
"title": "TKVSC: Select Python (from detected installs)"
386386
},
387387
{
388388
"command": "totk-editor.browsePython",
389-
"title": "TOTK: Browse for python.exe (must be Python 3.12)"
389+
"title": "TKVSC: Browse for python.exe (must be Python 3.12)"
390390
},
391391
{
392392
"command": "totk-editor.rebuildRomfsIndex",
393-
"title": "TOTK: Rebuild Game Dump Search Index"
393+
"title": "TKVSC: Rebuild Game Dump Search Index"
394394
},
395395
{
396396
"command": "totk-editor.rebuildCanonicalPathIndex",
397-
"title": "TOTK: Rebuild Canonical Path Index"
397+
"title": "TKVSC: Rebuild Canonical Path Index"
398398
},
399399
{
400400
"command": "totk-editor.useTotkIcons",
401-
"title": "TOTK: File Icon Theme Help"
401+
"title": "TKVSC: File Icon Theme Help"
402402
},
403403
{
404404
"command": "totk-editor.externalTools.open",
405-
"title": "TOTK: Open with Associated External Tool"
405+
"title": "TKVSC: Open with Associated External Tool"
406406
},
407407
{
408408
"command": "totk-editor.externalTools.choose",
409-
"title": "TOTK: Choose External Tool for Current File"
409+
"title": "TKVSC: Choose External Tool for Current File"
410410
},
411411
{
412412
"command": "totk-editor.archiveImportFile",
@@ -721,7 +721,7 @@
721721
}
722722
],
723723
"configuration": {
724-
"title": "TOTK Editor",
724+
"title": "TKVSC",
725725
"properties": {
726726
"totk-editor.logLevel": {
727727
"type": "string",
@@ -742,7 +742,7 @@
742742
"totk-editor.pythonPath": {
743743
"type": "string",
744744
"default": "",
745-
"markdownDescription": "Full path to **python.exe** (Python 3.10+). Use this when `python3` works in CMD but the extension says Python was not found - Cursor/VS Code often start with a shorter PATH than your terminal. Run **TOTK: Browse for python.exe** or **TOTK: Select Python** to set this automatically."
745+
"markdownDescription": "Full path to **python.exe** (Python 3.10+). Use this when `python3` works in CMD but the extension says Python was not found - Cursor/VS Code often start with a shorter PATH than your terminal. Run **TKVSC: Browse for python.exe** or **TKVSC: Select Python** to set this automatically."
746746
},
747747
"totk-editor.projectsPath": {
748748
"type": "string",

src/addToProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export async function addDumpEntryToProject(
5252
: resolveRomfsPath() || resolveRomfsForProject(projectRoot);
5353
if (!dumpRoot) {
5454
void vscode.window.showErrorMessage(
55-
'TOTK Editor: Set **totk-editor.romfsPath** to your game dump folder first.',
55+
'TKVSC: Set **totk-editor.romfsPath** to your game dump folder first.',
5656
);
5757
return false;
5858
}

src/archiveTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ export async function migrateSarcWorkspaceFolders(
656656
}
657657

658658
void vscode.window.showInformationMessage(
659-
'TOTK Editor: Archive browsing moved to the **TOTK Archives** sidebar tab. Your workspace uses normal files again.',
659+
'TKVSC: Archive browsing moved to the **TOTK Archives** sidebar tab. Your workspace uses normal files again.',
660660
);
661661
}
662662

src/extension.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class SarcProvider implements vscode.FileSystemProvider {
162162
const python = this.getPython();
163163
if (!python) {
164164
throw new Error(
165-
'Python environment is not ready. Run "TOTK: Set Up Python Environment" or install Python 3.10+.',
165+
'Python environment is not ready. Run "TKVSC: Set Up Python Environment" or install Python 3.10+.',
166166
);
167167
}
168168
return python;
@@ -407,7 +407,7 @@ class SarcProvider implements vscode.FileSystemProvider {
407407
return new TextEncoder().encode(
408408
formatExternalToolPrompt(
409409
fsPath,
410-
'TOTK Editor does not have a built-in parser for this file type yet.',
410+
'TKVSC does not have a built-in parser for this file type yet.',
411411
),
412412
);
413413
}
@@ -432,7 +432,7 @@ class SarcProvider implements vscode.FileSystemProvider {
432432
if (shouldOfferExternalToolPrompt(content)) {
433433
const reason = content.startsWith('Error reading file:')
434434
? content
435-
: 'TOTK Editor does not have a built-in parser for this file type yet.';
435+
: 'TKVSC does not have a built-in parser for this file type yet.';
436436
return new TextEncoder().encode(formatExternalToolPrompt(filePath, reason));
437437
}
438438

@@ -716,17 +716,17 @@ class SarcProvider implements vscode.FileSystemProvider {
716716

717717
export async function activate(context: vscode.ExtensionContext) {
718718
logger.init(context);
719-
logger.info('Activating TOTK Editor extension...');
719+
logger.info('Activating TKVSC extension...');
720720
initAampExtensions(context.extensionPath);
721721
initCoreFsExtensions(context.extensionPath);
722722
initTextureViewer(context.extensionUri);
723723
setExtensionPath(context.extensionPath);
724724
setCanonicalIndexExtensionPath(context.extensionPath);
725725
setProjectCanonicalOverlayExtensionPath(context.extensionPath);
726-
logger.info('TOTK Editor dependencies initialized.');
726+
logger.info('TKVSC dependencies initialized.');
727727

728728
const output: vscode.OutputChannel = {
729-
name: 'TOTK Editor',
729+
name: 'TKVSC',
730730
append: (value: string) => logger.info(value),
731731
appendLine: (value: string) => logger.info(value),
732732
clear: () => {},
@@ -739,7 +739,7 @@ export async function activate(context: vscode.ExtensionContext) {
739739
vscode.commands.registerCommand('totk-editor.setupPython', async () => {
740740
const python = await ensurePythonEnvironment(context, true);
741741
if (python) {
742-
void vscode.window.showInformationMessage('TOTK Editor: Python environment is ready.');
742+
void vscode.window.showInformationMessage('TKVSC: Python environment is ready.');
743743
void runFirstTimeSetup(context);
744744
} else {
745745
await promptPythonSetup(context);
@@ -1116,9 +1116,9 @@ export async function activate(context: vscode.ExtensionContext) {
11161116
await promptPythonSetup(context);
11171117
return;
11181118
}
1119-
void vscode.window.showInformationMessage('TOTK Editor: Rebuilding RomFS search index...');
1119+
void vscode.window.showInformationMessage('TKVSC: Rebuilding RomFS search index...');
11201120
await buildRomfsIndex(true);
1121-
void vscode.window.showInformationMessage('TOTK Editor: RomFS search index rebuilt.');
1121+
void vscode.window.showInformationMessage('TKVSC: RomFS search index rebuilt.');
11221122
}),
11231123
vscode.commands.registerCommand('totk-editor.rebuildCanonicalPathIndex', async () => {
11241124
const romfsPath = resolveRomfsPath();
@@ -1133,19 +1133,19 @@ export async function activate(context: vscode.ExtensionContext) {
11331133
await promptPythonSetup(context);
11341134
return;
11351135
}
1136-
void vscode.window.showInformationMessage('TOTK Editor: Rebuilding canonical path index...');
1136+
void vscode.window.showInformationMessage('TKVSC: Rebuilding canonical path index...');
11371137
await buildCanonicalIndex(true);
1138-
void vscode.window.showInformationMessage('TOTK Editor: Canonical path index rebuilt.');
1138+
void vscode.window.showInformationMessage('TKVSC: Canonical path index rebuilt.');
11391139
}),
11401140
vscode.commands.registerCommand('totk-editor.canonicalSyncOn', async () => {
11411141
const config = vscode.workspace.getConfiguration('totk-editor');
11421142
await config.update('enableCanonicalSavePropagation', false, vscode.ConfigurationTarget.Global);
1143-
void vscode.window.showInformationMessage('TOTK Editor: Canonical sync disabled.');
1143+
void vscode.window.showInformationMessage('TKVSC: Canonical sync disabled.');
11441144
}),
11451145
vscode.commands.registerCommand('totk-editor.canonicalSyncOff', async () => {
11461146
const config = vscode.workspace.getConfiguration('totk-editor');
11471147
await config.update('enableCanonicalSavePropagation', true, vscode.ConfigurationTarget.Global);
1148-
void vscode.window.showInformationMessage('TOTK Editor: Canonical sync enabled.');
1148+
void vscode.window.showInformationMessage('TKVSC: Canonical sync enabled.');
11491149
}),
11501150
);
11511151

@@ -1510,7 +1510,7 @@ async function runFirstTimeSetup(context: vscode.ExtensionContext): Promise<void
15101510
let validRomfsSelected = false;
15111511
while (!validRomfsSelected) {
15121512
const pathChoice = await vscode.window.showInformationMessage(
1513-
'TOTK Editor: Please select your RomFS (game dump) directory.',
1513+
'TKVSC: Please select your RomFS (game dump) directory.',
15141514
'Browse',
15151515
'Skip'
15161516
);
@@ -1528,7 +1528,7 @@ async function runFirstTimeSetup(context: vscode.ExtensionContext): Promise<void
15281528
if (folderName === 'romfs') {
15291529
const config = vscode.workspace.getConfiguration('totk-editor');
15301530
await config.update('romfsPath', fsPath, vscode.ConfigurationTarget.Global);
1531-
void vscode.window.showInformationMessage(`TOTK Editor: RomFS path set to ${fsPath}`);
1531+
void vscode.window.showInformationMessage(`TKVSC: RomFS path set to ${fsPath}`);
15321532
validRomfsSelected = true;
15331533
} else {
15341534
try {
@@ -1538,15 +1538,15 @@ async function runFirstTimeSetup(context: vscode.ExtensionContext): Promise<void
15381538
const newPath = path.join(fsPath, 'romfs');
15391539
const config = vscode.workspace.getConfiguration('totk-editor');
15401540
await config.update('romfsPath', newPath, vscode.ConfigurationTarget.Global);
1541-
void vscode.window.showInformationMessage(`TOTK Editor: RomFS path set to ${newPath}`);
1541+
void vscode.window.showInformationMessage(`TKVSC: RomFS path set to ${newPath}`);
15421542
validRomfsSelected = true;
15431543
continue;
15441544
}
15451545
} catch {
15461546
// ignore
15471547
}
15481548

1549-
await vscode.window.showWarningMessage('TOTK Editor: The selected directory must be named "romfs" or contain a "romfs" folder. Please choose a different directory.', { modal: true });
1549+
await vscode.window.showWarningMessage('TKVSC: The selected directory must be named "romfs" or contain a "romfs" folder. Please choose a different directory.', { modal: true });
15501550
}
15511551
} else {
15521552
break;
@@ -1562,7 +1562,7 @@ async function runFirstTimeSetup(context: vscode.ExtensionContext): Promise<void
15621562
if (!projectsPathPrompted) {
15631563
void context.globalState.update('totk-editor.hasPromptedProjectsPath', true);
15641564
const pathChoice = await vscode.window.showInformationMessage(
1565-
'TOTK Editor: Please select a default directory where new projects will be saved.',
1565+
'TKVSC: Please select a default directory where new projects will be saved.',
15661566
'Browse',
15671567
'Skip'
15681568
);
@@ -1576,7 +1576,7 @@ async function runFirstTimeSetup(context: vscode.ExtensionContext): Promise<void
15761576
if (folderUri && folderUri.length > 0) {
15771577
const config = vscode.workspace.getConfiguration('totk-editor');
15781578
await config.update('projectsPath', folderUri[0].fsPath, vscode.ConfigurationTarget.Global);
1579-
void vscode.window.showInformationMessage(`TOTK Editor: Default project folder set to ${folderUri[0].fsPath}`);
1579+
void vscode.window.showInformationMessage(`TKVSC: Default project folder set to ${folderUri[0].fsPath}`);
15801580
}
15811581
}
15821582
}
@@ -1587,7 +1587,7 @@ async function runFirstTimeSetup(context: vscode.ExtensionContext): Promise<void
15871587
const tkmmPath = await getTkmmRecentJsonPath();
15881588
if (tkmmPath) {
15891589
void vscode.window.showInformationMessage(
1590-
'TOTK Editor: Would you like to import your existing projects from TKMM?',
1590+
'TKVSC: Would you like to import your existing projects from TKMM?',
15911591
'Yes',
15921592
'No'
15931593
).then(choice => {

src/externalTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function registerExternalToolSupport(
121121
const python = options.getPython();
122122
if (!python) {
123123
throw new Error(
124-
'Python environment is not ready. Run "TOTK: Set Up Python Environment" first.',
124+
'Python environment is not ready. Run "TKVSC: Set Up Python Environment" first.',
125125
);
126126
}
127127

src/iconTheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function migrateOffStandaloneIconTheme(
1515
const previous = context.globalState.get<string>(PREVIOUS_ICON_THEME_KEY);
1616
await workbench.update('iconTheme', previous ?? null, true);
1717
void vscode.window.showInformationMessage(
18-
'TOTK: Switched you off the partial TOTK icon theme. Pick your preferred File Icon Theme again - TOTK file icons still apply via language icons.',
18+
'TKVSC: Switched you off the partial TOTK icon theme. Pick your preferred File Icon Theme again - TOTK file icons still apply via language icons.',
1919
);
2020
}
2121

0 commit comments

Comments
 (0)