eevee / lexys-labyrinth

Chip's Challenge 2 emulator that runs in a browser
https://c.eev.ee/lexys-labyrinth/
Other
73 stars 12 forks source link

Pack metadata #97

Open TheGLander opened 7 months ago

TheGLander commented 7 months ago

I'm trying to get the ball rolling on pack metadata for CC2 sets, like CCX for DATs, but with comments in C2G! Basic metadata looks like this:

game "Chips Challenge 2 Level Pack 1"
; meta by: The Community
; meta description: Chip's Challenge 2 Level Pack 1 is the first community level pack for Chip's Challenge 2. It contains 200 levels created by and voted on by fans. Read about it at https://bitbusters.club/cc2lp1
; meta difficulty: 4

This PR adds support for parsing metadata on loaded sets, editing common metadata in Pack properties, and adding metadata when exporting to C2G.

eevee commented 7 months ago

i am into this

is there support anywhere else? like is this a community standard vs a thing you just made up? i searched around the discord but couldn't quite tell. though i guess the cc2 toolset is fairly small overall

TheGLander commented 7 months ago

My CC2 emulator, NotCC, fetches levelsets from Gliderbot's repository and displays metadata stored in this format if it's set. There's also a pull request for a level editor to add support for it (https://github.com/zrax/cctools/pull/31). I'm trying to make it a standard, but it appears there isn't enough interest to get it into existing sets.