Pages: 1
Posted on 09-29-14, 02:14 pm
Giant Red Koopa


Karma: 886
Posts: 934/1315
Since: 11-12-12
In my ASM folder I added a file called myCode.cpp
It was:

void nsub_02020354() {
}

And didn't work so I made it:

getCoin = 0x02020354;
void nsub_02020354() {
}

And still didn't work!
I pressed Run Make Clean between that, should I not have done that?

(Code is Dirbaios no coins example)
Posted on 09-29-14, 05:20 pm
☭ coffee and cream


Karma: 10415
Posts: 1517/2768
Since: 06-26-11
Sorry, our crystal ball broke the other day. You will have to provide more details.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 09-29-14, 05:51 pm
Giant Red Koopa


Karma: 886
Posts: 935/1315
Since: 11-12-12
Oh, sorry when I hit run make and insert, then played the rom, I could still collect coins even though I added the nocoin code.
Oh, and text is still popping up when I hit the make and insert button, but then the window goes away so I thought that it was working...
Posted on 09-29-14, 06:11 pm (rev. 1 by  Dirbaio on 09-29-14, 06:12 pm)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 4239/4457
Since: 06-08-11
Do any compilation errors pop up in the black screen when you click "Make and insert"?

If so, it means your code doesn't compile because there's something wrong with it, and it didn't even get inserted into the ROM.

Also the compilation errors tell you WHAT is wrong with your code, so read them!
Posted on 09-29-14, 06:13 pm
Giant Red Koopa


Karma: 886
Posts: 936/1315
Since: 11-12-12
Didnt you see what I said? the window goes away before I CAN read them.
Posted on 09-29-14, 06:14 pm (rev. 1 by  Arisotura on 09-29-14, 06:14 pm)
☭ coffee and cream


Karma: 10415
Posts: 1519/2768
Since: 06-26-11
Run the command in a cmd window.

As in, open cmd and run the command. This way, the 'black window' doesn't close once it's done.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 09-29-14, 06:16 pm (rev. 2 by  Dirbaio on 09-29-14, 06:20 pm)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 4241/4457
Since: 06-08-11
Oh, it's okay then, if the window goes away automatically it means there are no compilation errors.

Then there's something wrong?

Is your code in a .cpp file in the source/ folder of the template? Also check it's .cpp, and not .cpp.txt! (Show the file extensions to make sure)

EDIT: Also check you're using the U rom.
Posted on 09-29-14, 06:18 pm (rev. 2 by  SaturnYoshi on 09-29-14, 08:07 pm)
Giant Red Koopa


Karma: 886
Posts: 937/1315
Since: 11-12-12
oh, what? the src folder? I thought it was meant to be in the same folder as the rom.
alright, I will try that then
Pages: 1