[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION) Page 828

Started by Prof. 9 January 31st, 2007 7:25 AM
  • 1784397 views
  • 27748 replies
Male
Seen April 14th, 2012
Posted March 27th, 2012
11 posts
8.9 Years
Posting again because no one answered my last question.

Is there anyway to get Advance Text to automatically always repoint text that is longer than the original? Sometimes the program does it, but sometimes it gives this message: "There's enough space after the text. The text won't be repointed."

It then leaves the long text in the same position as the text that was shorter than it = it spills over into other strings and corrupts them = whole ROM irreversibly corrupted.

Pppgggr

Cheese, for everyone!

Age 22
Male
California
Seen August 11th, 2014
Posted October 13th, 2013
198 posts
8.7 Years
Hey, I recently attempted to begin Rom hacking and I've had some serious problems when I've tried to use both Advanced map and PVS-UI script editor. I'm not sure which program is the cause, so I'm going to be a thurough as possible as to what I did when I installed both programs, and what I'm trying to do.

My Installation
Spoiler:

Advance Map:
Downloaded the zip, unzipped it, clicked the exe, selected my language, and then opened a rom.
PVS:
Downloaded the zip, unzipped it into its own folder, and ran the AssociateShell.


What I'm attempting to do:
Spoiler:

I'm setting up a quick code to see if I've gotten the hang of the PVS programming language. I'm basically assigning a specific code to a person event with advance map. This person event will basically offer you a pokemon, give you a yes or no prompt, if you click yes, it sets the flag to 1 and gives you an egg. If you speak to him again, he simply asks how the pokemon is doing. If you click no, it displays a separate message.

How I went about this:
Spoiler:

I openned up Fire Red on PVS and typed up this code:
Spoiler:

#dynamic 0x740000
#org @main
lock
faceplayer
checkflag 0x200
if 0x1 jump @haveit
message @want
callstd MSG_YESNO
if 0x1 jump @pushedyes
jump @pushedyes
jump @pushedno
#org @haveit
message @howsit
callstd MSG_NORMAL
release
end
#org @pushedyes
setflag 0x200
giveegg TORCHIC
message @herego
callstd MSG_NORMAL
release
end
#org @pushedno
message @dontwant
callstd MSG_normal
release
end
#org @want
= I have this egg. Do you/nwantit?
#org @howsit
= So, hows that egg I gave/nyou?
#org @herego
= Raise it well!
#org @dontwant
= Oh, ok. Maybe someone/nelse will take it

Then, I compiled it.(Compile logs here)
Spoiler:

Initialized.
#DYNAMIC
   -> 0x740000
#ORG
   -> @main
CHECKFLAG
   -> 0x200
IF
   -> 0x1
   -> JUMP
DYN-> @haveit
MESSAGE
DYN-> @want
CALLSTD
   -> msg_yesno
      -> 0x5
IF
   -> 0x1
   -> JUMP
DYN-> @pushedyes
JUMP
DYN-> @pushedyes
JUMP
DYN-> @pushedno
#ORG
   -> @haveit
MESSAGE
DYN-> @howsit
CALLSTD
   -> msg_normal
      -> 0x6
#ORG
   -> @pushedyes
SETFLAG
   -> 0x200
GIVEEGG
   -> torchic
      -> 0x118
MESSAGE
DYN-> @herego
CALLSTD
   -> msg_normal
      -> 0x6
#ORG
   -> @pushedno
MESSAGE
DYN-> @dontwant
CALLSTD
   -> msg_normal
      -> 0x6
#ORG
   -> @want
[STRING]
   -> I have this egg. Do you/nwantit?
#ORG
   -> @howsit
[STRING]
   -> So, hows that egg I gave/nyou?
#ORG
   -> @herego
[STRING]
   -> Raise it well!
#ORG
   -> @dontwant
[STRING]
   -> Oh, ok. Maybe someone/nelse will take it
#ORG: data
   -> @main <-> 0x740DB8 (0x22 bytes)
   -> @haveit <-> 0x740DDA (0x9 bytes)
   -> @pushedyes <-> 0x740DE3 (0xF bytes)
   -> @pushedno <-> 0x740DF2 (0x9 bytes)
   -> @want <-> 0x740DFB (0x21 bytes)
   -> @howsit <-> 0x740E1C (0x1F bytes)
   -> @herego <-> 0x740E3B (0xF bytes)
   -> @dontwant <-> 0x740E4A (0x29 bytes)

Then, I copied everything after the 'x' on the @main offset (the 740DB8 portion) and pasted it into the script offset for the person event in Advance map. In advance map, I did nothing but assign the Brandon icon to the event, and then input the offset. When I input the offset and click open script, I get this:
Spoiler:

#org 0xC0DB874
'-----------------------------------

When I set up Advancemap to use PVS, I clicked no when it gave me the prompt. Something to do with whether or not the offsets used ":" or " " or something or other. I assumed it meant the
-> @main <-> 0x740DB8 (0x22 bytes)
type thing, so I set it to no.

miksy91

Dark Energy is back in action! ;)

Male
Finland
Seen September 6th, 2019
Posted August 30th, 2019
1,485 posts
12.1 Years
Posting again because no one answered my last question.

Is there anyway to get Advance Text to automatically always repoint text that is longer than the original? Sometimes the program does it, but sometimes it gives this message: "There's enough space after the text. The text won't be repointed."

It then leaves the long text in the same position as the text that was shorter than it = it spills over into other strings and corrupts them = whole ROM irreversibly corrupted.
Why don't you just make it so that you repoint the text data first and then put your new text in blank space (where you of course repointed it) and edit that part of the rom data with the editor ?
Tools like Advancetext are totally useless if you don't use them for writing text quicker (which is also why I use a text editor for Gen II hacking myself).
Pokémon Dark Energy
Some ROM hacking related stuff

The Void

hiiiii

Male
MOTHA RUSSIA
Seen May 29th, 2019
Posted August 9th, 2015
1,416 posts
10.6 Years
Hey, I recently attempted to begin Rom hacking and I've had some serious problems when I've tried to use both Advanced map and PVS-UI script editor. I'm not sure which program is the cause, so I'm going to be a thurough as possible as to what I did when I installed both programs, and what I'm trying to do.

My Installation
Spoiler:

Advance Map:
Downloaded the zip, unzipped it, clicked the exe, selected my language, and then opened a rom.
PVS:
Downloaded the zip, unzipped it into its own folder, and ran the AssociateShell.


What I'm attempting to do:
Spoiler:

I'm setting up a quick code to see if I've gotten the hang of the PVS programming language. I'm basically assigning a specific code to a person event with advance map. This person event will basically offer you a pokemon, give you a yes or no prompt, if you click yes, it sets the flag to 1 and gives you an egg. If you speak to him again, he simply asks how the pokemon is doing. If you click no, it displays a separate message.

How I went about this:
Spoiler:

I openned up Fire Red on PVS and typed up this code:
Spoiler:

#dynamic 0x740000
#org @main
lock
faceplayer
checkflag 0x200
if 0x1 jump @haveit
message @want
callstd MSG_YESNO
if 0x1 jump @pushedyes
jump @pushedyes
jump @pushedno
#org @haveit
message @howsit
callstd MSG_NORMAL
release
end
#org @pushedyes
setflag 0x200
giveegg TORCHIC
message @herego
callstd MSG_NORMAL
release
end
#org @pushedno
message @dontwant
callstd MSG_normal
release
end
#org @want
= I have this egg. Do you/nwantit?
#org @howsit
= So, hows that egg I gave/nyou?
#org @herego
= Raise it well!
#org @dontwant
= Oh, ok. Maybe someone/nelse will take it

Then, I compiled it.(Compile logs here)
Spoiler:

Initialized.
#DYNAMIC
   -> 0x740000
#ORG
   -> @main
CHECKFLAG
   -> 0x200
IF
   -> 0x1
   -> JUMP
DYN-> @haveit
MESSAGE
DYN-> @want
CALLSTD
   -> msg_yesno
      -> 0x5
IF
   -> 0x1
   -> JUMP
DYN-> @pushedyes
JUMP
DYN-> @pushedyes
JUMP
DYN-> @pushedno
#ORG
   -> @haveit
MESSAGE
DYN-> @howsit
CALLSTD
   -> msg_normal
      -> 0x6
#ORG
   -> @pushedyes
SETFLAG
   -> 0x200
GIVEEGG
   -> torchic
      -> 0x118
MESSAGE
DYN-> @herego
CALLSTD
   -> msg_normal
      -> 0x6
#ORG
   -> @pushedno
MESSAGE
DYN-> @dontwant
CALLSTD
   -> msg_normal
      -> 0x6
#ORG
   -> @want
[STRING]
   -> I have this egg. Do you/nwantit?
#ORG
   -> @howsit
[STRING]
   -> So, hows that egg I gave/nyou?
#ORG
   -> @herego
[STRING]
   -> Raise it well!
#ORG
   -> @dontwant
[STRING]
   -> Oh, ok. Maybe someone/nelse will take it
#ORG: data
   -> @main <-> 0x740DB8 (0x22 bytes)
   -> @haveit <-> 0x740DDA (0x9 bytes)
   -> @pushedyes <-> 0x740DE3 (0xF bytes)
   -> @pushedno <-> 0x740DF2 (0x9 bytes)
   -> @want <-> 0x740DFB (0x21 bytes)
   -> @howsit <-> 0x740E1C (0x1F bytes)
   -> @herego <-> 0x740E3B (0xF bytes)
   -> @dontwant <-> 0x740E4A (0x29 bytes)

Then, I copied everything after the 'x' on the @main offset (the 740DB8 portion) and pasted it into the script offset for the person event in Advance map. In advance map, I did nothing but assign the Brandon icon to the event, and then input the offset. When I input the offset and click open script, I get this:
Spoiler:

#org 0xC0DB874
'-----------------------------------

When I set up Advancemap to use PVS, I clicked no when it gave me the prompt. Something to do with whether or not the offsets used ":" or " " or something or other. I assumed it meant the
-> @main <-> 0x740DB8 (0x22 bytes)
type thing, so I set it to no.
Hiya, I'm pretty sure you mean PKSV, not PVS xD
All the steps you did were correct, except sometimes you need to copy paste the script in the

#org 0xC0DB874
'-----------------------------------

and then compile it again, if you get what I mean. Usually that's what I do in cases like this. >.<
Όφις ην μη φάγη όφιν, δράκων ου γενήσεται.

Pppgggr

Cheese, for everyone!

Age 22
Male
California
Seen August 11th, 2014
Posted October 13th, 2013
198 posts
8.7 Years
I copied and pasted it into the script and compiled. The same thing occurs. Do i paste it under the

#org 0xC0DB874
'-----------------------------------
or do I erase that And type something new in? Even if I paste it under there, compile it, and then attempt to open the script again, the same occurs.
Male
Seen November 23rd, 2012
Posted March 31st, 2012
2 posts
8.7 Years
Can someone explain how I can re point text manually using a XSE script editor in advance map, I was going to use A-text but after realising that you cant have longer dialogue I wanted to know how I can do this myself but haven't found any scripting tutorials showing how I can point the text to a new location. I read it can be done through hex editor to but I have not a clue where to begin, something about the game table file? dunno where to find that lol. Any help would be appreciated .:)

Spherical Ice

Age 22
Leicester, UK
Online now
Posted August 15th, 2020
5,261 posts
13 Years
Does anyone know the offset of the script that executes once you lose a battle and go to a Pokémon Centre? As in, where the healing animation takes place, Nurse Joy tells me they hope I excel etc. Not the text, the actual script itself.

Mana

Age 29
Male
UK
Seen April 10th, 2020
Posted November 1st, 2019
10,076 posts
11.9 Years
Does anyone know the offset of the script that executes once you lose a battle and go to a Pokémon Centre? As in, where the healing animation takes place, Nurse Joy tells me they hope I excel etc. Not the text, the actual script itself.
Here colcolstyles gives both that offset, the home offset and some other bits and bobs. :)

0x1A654B : executed after battle fades, before "scurried home/to PC" text

0x16a2cb : viridian city 'sethealingplace' script (type 3)
0x1bc05c : 'special 0x182' script (type 5)

0x1A8DD8 : home script (mother heals your team)
0x1a8d97 : PokeCenter Script (Nurse Joy heals your team)
Age 35
Seen October 7th, 2014
Posted March 3rd, 2014
9 posts
16.6 Years
So it's been a VERY long time since I've played with hacking roms and to be honest the GBA games are somewhat alien to me but I'm getting it it.

My question is this. I'm playing around with a hack of emerald and it's a island chain. I thought it would be fun to have the map change... Sometimes it's tide pools on land and other times you need to surf. Does anyone have an idea for how I can make this happen? could I use two maps in the same place?

sonic1

ASM is my life now...

Age 26
Male
Portugal
Seen June 15th, 2020
Posted November 30th, 2012
79 posts
12.5 Years
So it's been a VERY long time since I've played with hacking roms and to be honest the GBA games are somewhat alien to me but I'm getting it it.

My question is this. I'm playing around with a hack of emerald and it's a island chain. I thought it would be fun to have the map change... Sometimes it's tide pools on land and other times you need to surf. Does anyone have an idea for how I can make this happen? could I use two maps in the same place?
There's a feature already of that in emerald!

To help, check this site: https://sites.google.com/site/hackroms/documents-researchs/shoal-cave
This signature has been disabled.
over 350px high
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

redriders180

Mastermind of Pokemon Glazed

Male
Path of Victory, Tunod
Seen December 17th, 2016
Posted November 17th, 2015
540 posts
10.5 Years
Hiya Pokecommunity! I've recently been playing with the idea of expanding my rom to 32MBs, in order to put in more towns and maps. But could someone help me by explaining the pros and cons of expansion, to help me decide?


I think I'm done with ROM hacking. I'll still pop in and visit, though.


miksy91

Dark Energy is back in action! ;)

Male
Finland
Seen September 6th, 2019
Posted August 30th, 2019
1,485 posts
12.1 Years
Hiya Pokecommunity! I've recently been playing with the idea of expanding my rom to 32MBs, in order to put in more towns and maps. But could someone help me by explaining the pros and cons of expansion, to help me decide?
There is way more than enough room in original 3rd gen pokemon games for adding that kind of stuff. I'm playing myself with a rom file that has only ~15% of free space and even that's more than enough. In FR and Ruby, I think about half of the rom file is completely empty.

That doesn't actually qualify as something that would probably be a bad thing but then again, patch files are. IPS patches are made so that they can only be made to write data to an address that can be defined with 3-bytes so basically, from $000000 to $FFFFFF. I may not remember right but I think the offsets after the first 16MB are bigger $1000000.
Pokémon Dark Energy
Some ROM hacking related stuff
Male
Seen July 11th, 2014
Posted August 24th, 2012
61 posts
8.8 Years
Hiya Pokecommunity! I've recently been playing with the idea of expanding my rom to 32MBs, in order to put in more towns and maps. But could someone help me by explaining the pros and cons of expansion, to help me decide?
Pros- More room to store scripts, and any other data that would require you to use free space finder.

Cons- None really, Besides longer download times if you were to make a patch. Lol. It's completely safe.

Logic, so rare it's a goddamn superpower...
I also started messing with soundfonts... Check the rest of my channel for more.

droomph

weeb

Age 23
Male
nowhere spectacular
Seen February 1st, 2017
Posted January 3rd, 2017
4,285 posts
9.3 Years
i found a copy of sappy 1.6 on another forum site but when i run it i get this error.... Componet 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid. So again where can i find a copy of sappy that works or how do i make this version work?
You need to add comdlg32.ocx to your library of framework files. You can just add that file (which you can find a working copy easily online) to the same file that sappy is in.
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


redriders180

Mastermind of Pokemon Glazed

Male
Path of Victory, Tunod
Seen December 17th, 2016
Posted November 17th, 2015
540 posts
10.5 Years
Pros- More room to store scripts, and any other data that would require you to use free space finder.

Cons- None really, Besides longer download times if you were to make a patch. Lol. It's completely safe.
There is way more than enough room in original 3rd gen pokemon games for adding that kind of stuff. I'm playing myself with a rom file that has only ~15% of free space and even that's more than enough. In FR and Ruby, I think about half of the rom file is completely empty.

That doesn't actually qualify as something that would probably be a bad thing but then again, patch files are. IPS patches are made so that they can only be made to write data to an address that can be defined with 3-bytes so basically, from $000000 to $FFFFFF. I may not remember right but I think the offsets after the first 16MB are bigger $1000000.
Thank you both. It's probably just because of my poor sense of scale...I feel like I'm going through free space very quickly. It's fairly difficult to comprehend sixteen million pieces of data. I'll just forge ahead, and if I run out of space, I'll expand it, since there's no harm done.

i found a copy of sappy 1.6 on another forum site but when i run it i get this error.... Componet 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid. So again where can i find a copy of sappy that works or how do i make this version work?
Be cautious with Sappy...apparently, it's finnicky and buggy, and won't even work on anything beyond Windows XP.


I think I'm done with ROM hacking. I'll still pop in and visit, though.