Repository navigation
Releases: Zoft123/gcl-vscode
Releases · Zoft123/gcl-vscode
Release list
v0.1.1
Encryption now follows the disc / PSN title ID in the file's path.
| Title IDs | USRDIR/mgs (MGS4) |
USRDIR/o (MGO2) |
|---|---|---|
| BLUS30109, BLES00246, BLJM67001/2/3, BLJM57001, BLUS30148, BLAS55004/5, BLKS25002 | plain | encrypted |
| NPUB31633, NPEB02182, NPJB00698 (PSN releases) | encrypted | encrypted |
| BLJM60082 (standalone MGO disc) | — | encrypted |
- Files are decrypted on decompile and re-encrypted on compile with their
stage/<name>key; plain areas are never touched. - The compile destination is checked too: writing into
USRDIR/oalways encrypts, writing into a Blu-rayUSRDIR/mgsfolder never does. - Paths without a known title ID keep the previous automatic detection.
Install
Download metal-gear-gcl-0.1.1.vsix below, then in VS Code: Extensions view → … → Install from VSIX…, or update from the Marketplace.
v0.1.0
First release of GCL — decompile, edit and compile the scenerio.gcx scripts of Metal Gear Solid 4, Metal Gear Online 2 and Metal Gear Arcade in VS Code.
Install
Install from the Visual Studio Marketplace (search Metal Gear GCL, or ext install zoft123.metal-gear-gcl), or download metal-gear-gcl-0.1.0.vsix below and use Extensions view → … → Install from VSIX….
What's in it
- Byte-exact round trip: an unedited project compiles back to the original
.gcxbyte for byte; edited projects get every size, offset and table rebuilt. MGO2 stage files are decrypted and re-encrypted automatically. - Live diagnostics from the compiler — a file with no errors compiles — plus checks for undefined procs, missing resources, strings over 254 bytes, names that hash to something else (e.g.
NewSkyvs[ce2d24/NewSky], with a quick fix) and typos in new option / command names. - Autocomplete for
@proc/p:proc, options per command, commands andcommands.txthandlers,$res:resources, variables, andif/switchsnippets. - Hovers, go to definition, find references and a proc outline; syntax highlighting for scripts and resource files.
- Bundled
dictionary.txtandcommands.txtname lists (your own copies take priority). bin/gcx.jscommand-line tool with the same engine (Node.js 18+):node bin/gcx.js scenerio.gcx,compile,verify.
See the README for the text format, settings and details.