opera-gaming / gxmods

Documentation for GX mods
800 stars 3.29k forks source link

unexpected token on "schema version" line #125

Closed RreddIGuess closed 1 year ago

RreddIGuess commented 1 year ago

I'm trying to make a simple keyboard sound replacement mod (I've made a full mod before and never came accross this issue), but whenever i try to load unpacked it shows that theres and unexpected token in the schema version line. Here's what my manifest is like, ill indicate where the error is.

{"name": "GX DrumKit", "description": "i already use my keyboard as a drum kit so I thought i would make this", "developer": { "name": "Rredd" }, "icons": { "512": "icon_512.PNG" }, "manifest_version": 3, "mod": { "license": "license.txt", "payload": { "background_music": [ "music/track_1.mp3",

        {"keyboard_sounds":
        {
            "TYPING_BACKSPACE":
            [
                "keyboard/backspace.mp3"
            ],
            "TYPING_ENTER":
            [
                "keyboard/enter.mp3"
            ],
            "TYPING_LETTER":
            [
                "keyboard/letter.mp3",

            {"TYPING_SPACE":
            [
                "keyboard/space.mp3"
            ]

},
    schema_version: 1 -(this is the line with the error)
},
"version": "1.0"

} }

I've tried so much and it never works, I've even redone the whole manifest and still nothing, please help me because i saw another issue like this that never got resolved and that's all i relied on for this issue.

TheLastWordussy commented 1 year ago

ive looked at the code and compared it to one of mine and it appears you are missing the quotation marks > "schema_version": 1 is what its supposed to look like

RreddIGuess commented 1 year ago

thanks