Strange SM64 Decomp Error...(Please Help me)
#1
Hello! I was following the instructions from the minor tweaks page to skip the Peach intro when you start a save file with no stars collected. However, the complier gives me this exact error message. 

src/game/level_update.c: In function 'init_level':
src/game/level_update.c:1322:1: error: expected declaration or statement at end of input
 1322 | }
         | ^

The error has nothing to do with the code the page told me to edit, and I have no clue on how to fix it! The error has something to do with a formatting issue revolving around missing brackets (These symbols: {}), but there is no missing or out of place brackets, so what's causing the error and preventing me from compiling the rom? 

Tweaks Page I am referring too:
https://hack64.net/wiki/doku.php?id=supe...comp_tweak

The Romhacking Tools I am using:
Blender
Fast64
SM64 Decomp
Ubuntu
Reply
#2
That error doesnt have to be related to brackets. It could be the line before that bracket that has an issue. If you're not already using a good text editor like Visual Studio Code or Sublime Text, I'd also recommend you switch so that you can see any discrepancies much easier.
Reply




Users browsing this thread: 1 Guest(s)