The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Scripts constantly not compiling?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old August 17th, 2016 (11:36 PM). Edited August 18th, 2016 by buttjuice.
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
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 psyducks 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.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 18th, 2016 (6:13 AM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
nobody knows? :( that's a little disappointing.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 18th, 2016 (6:56 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
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
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old August 18th, 2016 (7:37 AM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
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. :/
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old August 18th, 2016 (7:46 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by buttjuice View Post
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
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old August 18th, 2016 (8:16 AM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
Quote:
Originally Posted by BluRose View Post
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?
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old August 18th, 2016 (8:22 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by buttjuice View Post
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~
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old August 18th, 2016 (8:23 AM).
Crizzle's Avatar
Crizzle Crizzle is offline
Legend
 
Join Date: Apr 2015
Location: USA
Age: 28
Gender: Male
Posts: 943
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.
__________________
Pokemon Savage Silver
Check out the crappy hacks that I made:

Credit to Corazon(or whatever he calls himself now) for banner.
Pokemon CAWPS
Pokemon Outlaw
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old August 18th, 2016 (8:29 AM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
Quote:
Originally Posted by Crizzle View Post
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
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old August 18th, 2016 (10:37 AM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
Quote:
Originally Posted by BluRose View Post
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
= ...
Reply With Quote
  #11   Link to this post, but load the entire thread.  
Old August 18th, 2016 (10:46 AM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
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 psyduck, but at least its working!
__________________
Reply With Quote
  #12   Link to this post, but load the entire thread.  
Old August 18th, 2016 (10:01 PM).
Crizzle's Avatar
Crizzle Crizzle is offline
Legend
 
Join Date: Apr 2015
Location: USA
Age: 28
Gender: Male
Posts: 943
Quote:
Originally Posted by buttjuice View Post
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.
__________________
Pokemon Savage Silver
Check out the crappy hacks that I made:

Credit to Corazon(or whatever he calls himself now) for banner.
Pokemon CAWPS
Pokemon Outlaw
Reply With Quote
  #13   Link to this post, but load the entire thread.  
Old August 18th, 2016 (10:44 PM).
buttjuice's Avatar
buttjuice buttjuice is offline
 
Join Date: Jul 2016
Gender: Male
Nature: Lax
Posts: 107
Quote:
Originally Posted by Crizzle View Post
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}
Reply With Quote
  #14   Link to this post, but load the entire thread.  
Old August 19th, 2016 (10:29 AM).
Crizzle's Avatar
Crizzle Crizzle is offline
Legend
 
Join Date: Apr 2015
Location: USA
Age: 28
Gender: Male
Posts: 943
Quote:
Originally Posted by buttjuice View Post
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?
__________________
Pokemon Savage Silver
Check out the crappy hacks that I made:

Credit to Corazon(or whatever he calls himself now) for banner.
Pokemon CAWPS
Pokemon Outlaw
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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