The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Scripts constantly not compiling? (https://www.pokecommunity.com/showthread.php?t=376080)

buttjuice August 17th, 2016 11:36 PM

Scripts constantly not compiling?
 
So, I've made a few scripts so far and they've all been working-ish. I keep having to go back to an older copy for some reason, and then put my script in, and then change the name of a map, or add people in. This time, my scripts were working fine, but I added new player events (which obviously had to be repointed on advance map) and every time it seems advance map does something where I have to repoint, it fucks up all my future scripts not in the game yet. Here is a video showing that I have a working script, I compile it into the rom, but once I open the script in advance map there is a blank script. What the heeell is going on???!
Spoiler:
Adding the video isn't working and keeps getting an error so click here.

buttjuice August 18th, 2016 6:13 AM

nobody knows? :( that's a little disappointing.

BluRose August 18th, 2016 6:56 AM

d00d 7 hours
pls be patient i was SLEEPING for every single one of those

i'm not really understanding why you're not just clicking compile with the blue gears? i've never used the batch compiler in my life tbh
it really shouldn't do differently, but if it does then that's pretty chill

EDIT: like srsly though you had the rom open and your script to compile open and then you just used the batch compiler
at this point, it's literally just experimentation with various functions of xse. what becomes obvious is that something isn't compiling despite it saying so

buttjuice August 18th, 2016 7:37 AM

Pressing the blue button doesnt do much. The batch compiler is pretty much the same function. When i get back home ill try it and see if it does anything different, though. Pretty sure ill have the same outcome. :/

BluRose August 18th, 2016 7:46 AM

Quote:

Originally Posted by buttjuice (Post 9372564)
Pressing the blue button doesnt do much. The batch compiler is pretty much the same function. When i get back home ill try it and see if it does anything different, though. Pretty sure ill have the same outcome. :/

yes, i know, i said that as well
if necessary, you can just get you a hex output of your script (like from vanilla) just to place at the area you wanted, but this is, naturally, a temporary and undesirable solution

buttjuice August 18th, 2016 8:16 AM

Quote:

Originally Posted by BluRose (Post 9372573)
yes, i know, i said that as well
if necessary, you can just get you a hex output of your script (like from vanilla) just to place at the area you wanted, but this is, naturally, a temporary and undesirable solution

How would i do that?

BluRose August 18th, 2016 8:22 AM

Quote:

Originally Posted by buttjuice (Post 9372626)
How would i do that?

like
compile it on vanilla, and then transfer the hexadecimal to your desired location in the new ROM using a hex editor
or you can just learn to script in hex, that's always a working solution as well~

Crizzle August 18th, 2016 8:23 AM

Honestly bro, you're doing in a really complicated way. You don't need a FSF when using XSE. Simply start your script off with:
freespace 0xFF
dynamic 0x700000 (whereever you want to start searching, it doesn't have to be a specific offset).

and XSE will find the free space for you.

From there(when you finish the script), you can just click the two blue gears to compile and make sure you copy the "start" offset" and it will be in the rom.
If you're really a new user, you should keep it simple.

buttjuice August 18th, 2016 8:29 AM

Quote:

Originally Posted by Crizzle (Post 9372642)
Honestly bro, you're doing in a really complicated way. You don't need a FSF when using XSE. Simply start your script off with:
freespace 0xFF
dynamic 0x700000 (whereever you want to start searching, it doesn't have to be a specific offset).

and XSE will find the free space for you.

From there(when you finish the script), you can just click the two blue gears to compile and make sure you copy the "start" offset" and it will be in the rom.
If you're really a new user, you should keep it simple.

Okay ill try this when i get home and see if it actuly compiles

buttjuice August 18th, 2016 10:37 AM

Quote:

Originally Posted by BluRose (Post 9372533)
d00d 7 hours
pls be patient i was SLEEPING for every single one of those

i'm not really understanding why you're not just clicking compile with the blue gears? i've never used the batch compiler in my life tbh
it really shouldn't do differently, but if it does then that's pretty chill

EDIT: like srsly though you had the rom open and your script to compile open and then you just used the batch compiler
at this point, it's literally just experimentation with various functions of xse. what becomes obvious is that something isn't compiling despite it saying so

So when I press the blue gears, I get a message "no #org/#seek directives were found."

Script:
Spoiler:
freespace 0xFF
dynamic 0x700000

#org @start
trainerbattle 0x0 0x006 0x0 @before @after
msgbox @beaten 0x6
release
end

#org @before
= My Pokemon will literally kick your ass.

#org @after
= I stand corrected..

#org @beaten
= ...

buttjuice August 18th, 2016 10:46 AM

Well I opened up a older script and edited it to the new script and it literally worked. Absolutely no difference in the two scripts but for some reason XSE just didn't want to compile the original? weird as fuck, but at least its working!

Crizzle August 18th, 2016 10:01 PM

Quote:

Originally Posted by buttjuice (Post 9372797)
So when I press the blue gears, I get a message "no #org/#seek directives were found."

Script:
Spoiler:
freespace 0xFF
dynamic 0x700000

#org @start
trainerbattle 0x0 0x006 0x0 @before @after
msgbox @beaten 0x6
release
end

#org @before
= My Pokemon will literally kick your ass.

#org @after
= I stand corrected..

#org @beaten
= ...

My bad, #freespace and #dynamic. For some reason, I left that out.

buttjuice August 18th, 2016 10:44 PM

Quote:

Originally Posted by Crizzle (Post 9373502)
My bad, #freespace and #dynamic. For some reason, I left that out.

All good. I got it working. :) now i need help with a multiscript if you could help me there thatd be amazing {XD}

Crizzle August 19th, 2016 10:29 AM

Quote:

Originally Posted by buttjuice (Post 9373538)
All good. I got it working. :) now i need help with a multiscript if you could help me there thatd be amazing {XD}

What exactly do you need help with?


All times are GMT -8. The time now is 9:10 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.