[sf2ce] Change colors in selection screen

If you are having problems finding or using cheats for an Emulator (particularly MAME/MESS) or have found a trick that you wish to share this is the place to do it. But please read the Cheat FAQ first.
Post Reply
User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

[sf2ce] Change colors in selection screen

Post by fernanpower77 » Sun Oct 13, 2019 11:31 pm

Good night Pugsy! I need your help! I would like a SF2CE ROM 21 XML code to assemble the color palettes on the character selection screen as we do for ROM 22 ... If you can help me I appreciate it very much! Fernando, Brazil

Image

mezdap
Posts: 26
Joined: Sun Feb 04, 2018 5:16 am

Re: [sf2ce] Change colors in selection screen

Post by mezdap » Sat Oct 26, 2019 4:03 pm

These are only for MAME palette addresses.Not for 21 or 22 file.
P1 Select Characters palette address(Big picture):
Ryu=109400 Honda=109420 Blanca=109440 Guile=109460 Ken=109480 ChunLi=1094A0 Zangief=1094C0 Dhalsim=1094E0 and 109580
M.Bison=109500 Sagat=109520 Balrog=109540 Vega=109560

P2 Select Characters palette address(Big picture):
Ryu=109600 and 1095A0 Honda=109620 Blanca=109640 Guile=109660 Ken=109680 ChunLi=1096A0 Zangief=1096C0 Dhalsim=1096E0 and 109780
M.Bison=109700 Sagat=109720 Balrog=109740 Vega=109760

Select Characters palette address(Small picture):
Ryu=10E420 Honda=10E440 Blanca=10E460 Guile=10E480 Ken=10E4A0 ChunLi=10E4C0 Zangief=10E4E0 Dhalsim=10E500
M.Bison=10E720 Balrog and Sagat=10E740 Vega=10E760
Some of them requires more palette address! For P2 Balrog and P2 Dhalsim didn't complete you keep looking between these addresess 109400 - 1098B0 in MAME.

Now its your turn to help me.Lets start with simple ones, I believe you have ''Background Extension'' cheat.( I had it before and lost the address.I should've kept it.)Does it works for each stage properly, like normal fights?
Extra stages that you found(bonuses and Vega), there were few issue with starting and ending, did you fix them?
I want to make 2 special moves cheat for sf2ce ''Dhalsim Teleport and Chunli Fireball'' from Street Fighter II': Hyper Fighting. Do you know/have anything?

User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

Re: [sf2ce] Change colors in selection screen

Post by fernanpower77 » Sat Oct 26, 2019 7:59 pm

Mezdap, thank you so much for this help, you are a blessed person! I will repay you with these codes! I set the Chun Li Bitmap colors and it looked like this:

Code: Select all

<cheat desc="Chun Li P1 Bitmap Colors">
    <script state="run">
      <action>maincpu.mq@1094A0=01110FEF0FCE0B69</action>
      <action>maincpu.mq@1094A8=0E8C0B690E9C0FCE</action>
    </script>
   </cheat>

<cheat desc="Chun Li Icon Colors">
    <script state="run">
      <action>maincpu.mq@10E4C0=01110FEF0FCE0B69</action>
      <action>maincpu.mq@10E4C8=0E8C0B690E9C0FCE</action>
    </script>
   </cheat>

Now this code is from the powers in Chun Li, each punch button triggers a power, being Hadouken, Yoga Flame and Tiger, see if it works in your ROM, preferably in the hack as Sheng Long ...

Code: Select all

<cheat desc="Chun Li Three Powers Hack">
    <script state="run">
      <action>maincpu.mw@0E5E44=196E</action>
      <action>maincpu.mw@0E5E46=0187</action>
      <action>maincpu.rw@41070=4EB9</action>
      <action>maincpu.rw@41072=000E</action>
      <action>maincpu.rw@41074=50D2</action>
      <action>maincpu.rw@41076=4E71</action>
       <action>maincpu.mw@0E5ED0=303C</action>
      <action>maincpu.mw@0E5ED2=0048</action>
      <action>maincpu.mw@0E5ED4=4EB8</action>
      <action>maincpu.mw@0E5ED6=6388</action>
      <action>maincpu.mw@0E5BAA=303C</action>
      <action>maincpu.mw@0E5BAC=0048</action>
      <action>maincpu.mw@0E5BAE=4EB8</action>
      <action>maincpu.mw@0E5BB0=6388</action>
      <action>maincpu.mw@0E5436=303C</action>
      <action>maincpu.mw@0E5438=0048</action>
      <action>maincpu.mw@0E543A=4EB8</action>
      <action>maincpu.mw@0E543C=6388</action>
      <action>maincpu.mw@044A12=0048</action>
      <action>maincpu.pb@FF98C9=01</action>
      <action>maincpu.pb@FF98CD=0F</action>
      <action>maincpu.pb@FF9389=01</action>
      <action>maincpu.pb@FF938D=0F</action>
      <action>maincpu.pb@FF9449=01</action>
      <action>maincpu.pb@FF944D=0F</action>
      <action>maincpu.pb@FF9509=01</action>
      <action>maincpu.pb@FF950D=0F</action>
      <action>maincpu.pb@FF95C9=01</action>
      <action>maincpu.pb@FF95CD=0F</action>
      <action>maincpu.pb@FF9689=01</action>
      <action>maincpu.pb@FF968D=0F</action>
      <action>maincpu.pb@FF9749=01</action>
      <action>maincpu.pb@FF974D=0F</action>
      <action>maincpu.pb@FF9809=01</action>
      <action>maincpu.pb@FF980D=0F</action>
      <action>maincpu.mq@0A443E=0FF60FE30FC20E90</action>
      <action>maincpu.mq@0A442C=0FF60FE30FC20E90</action>
      <action>maincpu.mq@0A4434=0D600C400A200900</action>
      <action>maincpu.mq@0A444A=0FF60FE30FC20E90</action>
      <action>maincpu.mq@0A4452=0D600C400A200900</action>
      <action condition="maincpu.pb@FF83E8!=FF AND maincpu.pb@FF86E8!=FF">maincpu.pb@FF82E2=00</action> <!-- allow KO slowdown -->
     </script>
    <script state="off">
      <action>maincpu.mw@0E5E44=197C</action>
      <action>maincpu.mw@0E5E46=0004</action>
      <action>maincpu.rw@41070=102E</action>
      <action>maincpu.rw@41072=0180</action>
      <action>maincpu.rw@41074=4EF8</action>
      <action>maincpu.rw@41076=3AFC</action>
      <action>maincpu.mw@0E5ED0=103C</action>
      <action>maincpu.mw@0E5ED2=0002</action>
      <action>maincpu.mw@0E5ED4=4EB8</action>
      <action>maincpu.mw@0E5ED6=6396</action>
      <action>maincpu.mw@0E5BAA=103C</action>
      <action>maincpu.mw@0E5BAC=0002</action>
      <action>maincpu.mw@0E5BAE=4EB8</action>
      <action>maincpu.mw@0E5BB0=6396</action>
      <action>maincpu.mw@0E5436=103C</action>
      <action>maincpu.mw@0E5438=0002</action>
      <action>maincpu.mw@0E543A=4EB8</action>
      <action>maincpu.mw@0E543C=6396</action>
      <action>maincpu.mw@044A12=0076</action>
    </script>
  </cheat>
Now comes the background extension code, and there is a limit to it ...

Code: Select all

<cheat desc="Background Extension">
    <script state="run">
      <action>maincpu.pw@FF89C5=3C, maincpu.pw@FF89C4=3C</action>
    </script>
  </cheat>
This code has now been a dream come true, after a lot of work and I will make it available to you with joy! Bug-corrected background selection in bonus backgrounds and includes a song in the secret stage, but cannot reset in the secret stage addressed as the game will bugar, if the emulator needs to be restarted, it is addressed to Chun Li in this code to enable the secret backgrounds but you can change it as it is on maincpu.pb@FF894F=05 ...

Code: Select all

<cheat desc="Select Background"> <comment>Perfect Background in Bonus Stage</comment> 
    <parameter>
      <item value="0x00">Ryu (Japan)</item>
      <item value="0x01">E.Honda (Japan)</item>
      <item value="0x02">Blanka (Brazil)</item>
      <item value="0x03">Guile (U.S.A)</item>
      <item value="0x04">Ken (U.S.A)</item>
      <item value="0x05">Chun Li (China)</item>
      <item value="0x06">Zangief (U.S.S.R)</item>
      <item value="0x07">Dhalsim (India)</item>
      <item value="0x08">Dictator/M.Bison (Thailand)</item>
      <item value="0x09">Sagat (Thailand)</item>
      <item value="0x0A">Boxer/Balrog (U.S.A)</item>
      <item value="0x0B">Claw/Vega (Spain)</item>
      <item value="0x0C">Bonus Stage (car)</item>
      <item value="0x0D">Bonus Stage (barrels)</item>
      <item value="0x0E">Bonus Stage (drums)</item>
      <item value="0x0F">Claw 2 (Secret Stage)</item>
      <item value="0x0300">Stage Bonus (car)</item>
      <item value="0x0601">Stage Bonus (barrels)</item>
      <item value="0x0902">Stage Bonus (drums)</item>
    </parameter>
   <script state="on">
      <action>temp0=0240E8</action>
    </script>
   <script state="run">
      <action condition="param==0">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==1">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==2">maincpu.md@temp0=303C0000+58</action>
      <action condition="param==3">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==4">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==5">maincpu.md@temp0=303C0000+5A</action>
      <action condition="param==6">maincpu.md@temp0=303C0000+5B</action>
      <action condition="param==7">maincpu.md@temp0=303C0000+5C</action>
      <action condition="param==8">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==9">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==A">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==B">maincpu.md@temp0=303C0000+5D</action>
      <action condition="param==C">maincpu.md@temp0=303C0000+4F, maincpu.pb@FF8061=C0</action>
      <action condition="param==D">maincpu.md@temp0=303C0000+4F, maincpu.pb@FF8061=C0</action>
      <action condition="param==E">maincpu.md@temp0=303C0000+4F, maincpu.pb@FF8061=C0</action>
      <action condition="param==F">maincpu.mw@0063DC=82, maincpu.md@temp0=303C0000+4A, maincpu.pb@FF8061=C0</action>
      <action condition="param==300">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=300</action>
      <action condition="param==601">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=601</action>
      <action condition="param==902">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=902</action>
      <action>maincpu.pw@FFDD5E=param, maincpu.pw@FFDD60=param, maincpu.pw@FFDD62=param, maincpu.pw@FFDD64=param</action>
      <action>maincpu.pw@FFDD66=param, maincpu.pw@FFDD68=param, maincpu.pw@FFDD6A=param, maincpu.pw@FFDD6C=param</action>
      <action>maincpu.pw@FFDD6E=param, maincpu.pw@FFDD70=param, maincpu.pw@FFDD72=param, maincpu.pw@FFDD74=param</action>
      <action condition="maincpu.pb@FF83E8!=FF AND maincpu.pb@FF86E8!=FF">maincpu.pb@FF82E2=00</action> <!-- allow KO slowdown -->
      <action>maincpu.pb@FF0A62=99</action>
      <action>maincpu.pb@FF0A63=99</action>
      <action>maincpu.pb@FF8511=09</action>
      <action>maincpu.pb@FF8512=99</action>
      <action>maincpu.pb@FF8513=99</action>
      <action>maincpu.pb@FF8811=09</action>
      <action>maincpu.pb@FF8812=99</action>
      <action>maincpu.pb@FF8813=99</action>
      <action>maincpu.pb@FF8972=01</action>
      <action>maincpu.pb@FF894F=05</action>
      <action>maincpu.pb@FF82E3=00</action>
      <action condition="maincpu.rb@FF8AC2 == 0"> <!--prevent hang on bonus stages-->
        maincpu.pw@FF8ABE=9928 <!--round time-->
      </action>
      <action>maincpu.pw@FFDDA2=203C</action> <!--char select time-->
    </script>
    <script state="off">
      <action>maincpu.md@temp0=30300000</action>
    </script>
  </cheat>

There is a code in this that you can fight before the statement, but you can remove it if you want, it's in maincpu.pb@FF82E3=00 ... about Dhalsim I will search but there is a possibility to find out ...

That was my gratitude for the help and I hope it works in your ROM ... I would like you to help me figure out how to activate the victory poses during the fight without ending it, I can't but try to research, as you are experienced I believe I can achieve! God bless you and enjoy these codes! Looking for something, just let us know, let's keep in touch ... Fernando M. Hack, Brazil

mezdap
Posts: 26
Joined: Sun Feb 04, 2018 5:16 am

Re: [sf2ce] Change colors in selection screen

Post by mezdap » Sun Oct 27, 2019 4:51 pm

You did great job, even picky guy like me, I'm really impressed with "Select Background" cheat.You are getting better. I guarantee you that programmers of this game would love it.This one should be in the next cheat file.Remove couple of codes and post it in MAME cheat section.
1-The fight start before the actual time, that is a good cheat, like ''KOF'' games so keep it in the cheat.
2-Remove ''Chun Li'' codes.There are already P1, P2 Select Character cheats and works great.
3-Remove ''Unlimited times codes'' These are supposed to be separate from this cheat. Which is already in the cheat xml.
I have ''99 Barrels cheat'' I think its suitable for this cheat.Because when the all 20 barrels fell, fight over!
I didn't post it yet. Its working but not the way I want it! The below codes are the memory address so there will be at least 3 different cheats for the rest of clones.I wanted 1 cheat for all games.
I'm pretty sure ''63 and 99'' right codes.The one is for time, other for barrel code. They must synchronize each other.They do.The problem is falling barrels, most of times 4 barrels fall same time! it seems strange to me.Maybe it needs more code.
Anyway I have program address too maincpu.pw@FF0ABC=6399 When I make cheat with ''run'' it keeps falling. Cheat needs to turn off to countdown.
When I make cheat with ''on'' memory address will write on it(1420) before the stage start.For this way cheat needs activate after the stage start to countdown.
I tried every single cheat example none of them work.I have to learn this, not only for this cheat.

Working Cheat:

Code: Select all

 
<cheat desc="99 Barrels">
    <script state="run">
      <action>maincpu.mb@02B929=63</action>
      <action>maincpu.mb@02B92F=99</action>
    </script>
    <script state="off">
      <action>maincpu.mb@02B929=14</action>
      <action>maincpu.mb@02B92F=20</action>
    </script>
  </cheat>
Or this one:

Code: Select all

<cheat desc="99 Barrels">
    <script state="on">
      <action>temp0=maincpu.mb@02B929</action>
      <action>temp1=maincpu.mb@02B92F</action>
    </script>
    <script state="run">
      <action>maincpu.mb@02B929=63</action>
      <action>maincpu.mb@02B92F=99</action>
    </script>
    <script state="off">
      <action>maincpu.mb@02B929=temp0</action>
      <action>maincpu.mb@02B92F=temp1</action>
    </script>
  </cheat>
The Background Extension, it could be better with move both side, like in the loop.It moves left just a little. I think the moving right side, like removing the bitmap layers.8/16/32 layers.
Chun Li cheat crush on sf2ce (world) doesn't work.
There is miniature sf2ce arcade machine its a bit expensive but you can check it https://newwavetoys.com/
Thanks for your work.

User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

Re: [sf2ce] Change colors in selection screen

Post by fernanpower77 » Sun Oct 27, 2019 6:04 pm

Thank you so much friend Mezdap, I'm still learning but I can figure out some things. Give me MAME's address for me to post this Background trick ... I will try to pull the screen to the other side, I still can't ... this barrel trick is sensational, it was very cool, congratulations friend ... the Chun Li trick only works on hack roms, like Sheng Long for example ... I hope you find out how to select the victory pose during the fight, I'm looking forward to it .... I'll leave a Chun Li trick to you, where she performs the reverse Spinning Bird Kick ... if you have anything interesting post here please! God bless you and thank you for everything! Fernando M. Hack

Code: Select all

<cheat desc="Chun Li Reverse Spinning Bird Kick">
    <script state="run">
      <action>maincpu.rw@4149E=402E</action>
    </script>
    <script state="off">
      <action>maincpu.rw@4149E=4A2E</action>
    </script>
  </cheat>

User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

Re: [sf2ce] Change colors in selection screen

Post by fernanpower77 » Sun Oct 27, 2019 10:15 pm

Good night friend Mezdap! Follow the improved background codes with the tips you spoke with your barrel code, and one of them has no Stage Bonus ... I hope you can figure out how to activate victory poses during the fight .... God bless you ! Fernando M. Hack

Code: Select all

<cheat desc="Select Background"> <comment>Perfect Background in Bonus Stage</comment> 
    <parameter>
      <item value="0x00">Ryu (Japan)</item>
      <item value="0x01">E.Honda (Japan)</item>
      <item value="0x02">Blanka (Brazil)</item>
      <item value="0x03">Guile (U.S.A)</item>
      <item value="0x04">Ken (U.S.A)</item>
      <item value="0x05">Chun Li (China)</item>
      <item value="0x06">Zangief (U.S.S.R)</item>
      <item value="0x07">Dhalsim (India)</item>
      <item value="0x08">Dictator/M.Bison (Thailand)</item>
      <item value="0x09">Sagat (Thailand)</item>
      <item value="0x0A">Boxer/Balrog (U.S.A)</item>
      <item value="0x0B">Claw/Vega (Spain)</item>
      <item value="0x0C">Bonus Stage (car)</item>
      <item value="0x0D">Bonus Stage (barrels)</item>
      <item value="0x0E">Bonus Stage (drums)</item>
      <item value="0x0F">Claw 2 (Secret Stage)</item>
      <item value="0x0300">Stage Bonus (car)</item>
      <item value="0x0601">Stage Bonus (barrels)</item>
      <item value="0x0902">Stage Bonus (drums)</item>
    </parameter>
   <script state="on">
      <action>temp0=0240E8</action>
    </script>
   <script state="run">
      <action condition="param==0">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==1">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==2">maincpu.md@temp0=303C0000+58</action>
      <action condition="param==3">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==4">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==5">maincpu.md@temp0=303C0000+5A</action>
      <action condition="param==6">maincpu.md@temp0=303C0000+5B</action>
      <action condition="param==7">maincpu.md@temp0=303C0000+5C</action>
      <action condition="param==8">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==9">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==A">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==B">maincpu.md@temp0=303C0000+5D</action>
      <action condition="param==C">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3CE=0D, maincpu.pb@FF8061=C0</action>
      <action condition="param==D">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3D0=0D, maincpu.pb@FF8061=C0</action>
      <action condition="param==E">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3D2=0D, maincpu.pb@FF8061=C0</action>
      <action condition="param==F">maincpu.mw@0063DC=82, maincpu.mw@02E3D4=82, maincpu.md@temp0=303C0000+4A, maincpu.pb@FF8061=C0</action>
      <action condition="param==300">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=300</action>
      <action condition="param==601">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=601</action>
      <action condition="param==902">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=902</action>
      <action>maincpu.pw@FFDD5E=param, maincpu.pw@FFDD60=param, maincpu.pw@FFDD62=param, maincpu.pw@FFDD64=param</action>
      <action>maincpu.pw@FFDD66=param, maincpu.pw@FFDD68=param, maincpu.pw@FFDD6A=param, maincpu.pw@FFDD6C=param</action>
      <action>maincpu.pw@FFDD6E=param, maincpu.pw@FFDD70=param, maincpu.pw@FFDD72=param, maincpu.pw@FFDD74=param</action>
      <action condition="maincpu.pb@FF83E8!=FF AND maincpu.pb@FF86E8!=FF">maincpu.pb@FF82E2=00</action> <!-- allow KO slowdown -->
      <action>maincpu.pb@FF0A62=99</action>
      <action>maincpu.pb@FF0A63=99</action>
      <action>maincpu.pb@FF8511=09</action>
      <action>maincpu.pb@FF8512=99</action>
      <action>maincpu.pb@FF8513=99</action>
      <action>maincpu.pb@FF8811=09</action>
      <action>maincpu.pb@FF8812=99</action>
      <action>maincpu.pb@FF8813=99</action>
      <action>maincpu.pb@FF8972=01</action>
      <action>maincpu.pb@FF82E3=00</action>
      <action>maincpu.mb@02B929=63</action>
      <action>maincpu.mb@02B92F=99</action>
      <action>maincpu.pb@FF853F=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@02B929=14</action>
      <action>maincpu.mb@02B92F=20</action>
      <action>maincpu.md@temp0=30300000</action>
    </script>
  </cheat>

<cheat desc="Select Background"> <comment>Perfect Background in Bonus Stage and Without Bonus Stage</comment> 
    <parameter>
      <item value="0x00">Ryu (Japan)</item>
      <item value="0x01">E.Honda (Japan)</item>
      <item value="0x02">Blanka (Brazil)</item>
      <item value="0x03">Guile (U.S.A)</item>
      <item value="0x04">Ken (U.S.A)</item>
      <item value="0x05">Chun Li (China)</item>
      <item value="0x06">Zangief (U.S.S.R)</item>
      <item value="0x07">Dhalsim (India)</item>
      <item value="0x08">Dictator/M.Bison (Thailand)</item>
      <item value="0x09">Sagat (Thailand)</item>
      <item value="0x0A">Boxer/Balrog (U.S.A)</item>
      <item value="0x0B">Claw/Vega (Spain)</item>
      <item value="0x0C">Bonus Stage (car)</item>
      <item value="0x0D">Bonus Stage (barrels)</item>
      <item value="0x0E">Bonus Stage (drums)</item>
      <item value="0x0F">Claw 2 (Secret Stage)</item>
    </parameter>
   <script state="on">
      <action>temp0=0240E8</action>
    </script>
   <script state="run">
      <action condition="param==0">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==1">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==2">maincpu.md@temp0=303C0000+58</action>
      <action condition="param==3">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==4">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==5">maincpu.md@temp0=303C0000+5A</action>
      <action condition="param==6">maincpu.md@temp0=303C0000+5B</action>
      <action condition="param==7">maincpu.md@temp0=303C0000+5C</action>
      <action condition="param==8">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==9">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==A">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==B">maincpu.md@temp0=303C0000+5D</action>
      <action condition="param==C">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3CE=0D, maincpu.pb@FF8061=C0</action>
      <action condition="param==D">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3D0=0D, maincpu.pb@FF8061=C0</action>
      <action condition="param==E">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3D2=0D, maincpu.pb@FF8061=C0</action>
      <action condition="param==F">maincpu.mw@0063DC=82, maincpu.mw@02E3D4=82, maincpu.md@temp0=303C0000+4A, maincpu.pb@FF8061=C0</action>
      <action>maincpu.pw@FFDD5E=param, maincpu.pw@FFDD60=param, maincpu.pw@FFDD62=param, maincpu.pw@FFDD64=param</action>
      <action>maincpu.pw@FFDD66=param, maincpu.pw@FFDD68=param, maincpu.pw@FFDD6A=param, maincpu.pw@FFDD6C=param</action>
      <action>maincpu.pw@FFDD6E=param, maincpu.pw@FFDD70=param, maincpu.pw@FFDD72=param, maincpu.pw@FFDD74=param</action>
      <action condition="maincpu.pb@FF83E8!=FF AND maincpu.pb@FF86E8!=FF">maincpu.pb@FF82E2=00</action> <!-- allow KO slowdown -->
      <action>maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=param, maincpu.pw@FF89EF=param, maincpu.pw@FF89F1=param, maincpu.pw@FF89F3=param</action>
      <action>maincpu.pw@FF89C1=param/100, maincpu.pw@FF89F5=param, maincpu.pw@FF89F7=param, maincpu.pw@FF89F9=param, maincpu.pw@FF89FB=param</action>
      <action>maincpu.pw@FF89C1=param/100, maincpu.pw@FF89FD=param, maincpu.pw@FF89FF=param, maincpu.pw@FF8A01=param, maincpu.pw@FF8A03=param</action>
      <action>maincpu.pb@FF0A62=99</action>
      <action>maincpu.pb@FF0A63=99</action>
      <action>maincpu.pb@FF8511=09</action>
      <action>maincpu.pb@FF8512=99</action>
      <action>maincpu.pb@FF8513=99</action>
      <action>maincpu.pb@FF8811=09</action>
      <action>maincpu.pb@FF8812=99</action>
      <action>maincpu.pb@FF8813=99</action>
      <action>maincpu.pb@FF8972=01</action>
      <action>maincpu.pb@FF82E3=00</action>
      <action>maincpu.mb@02B929=63</action>
      <action>maincpu.mb@02B92F=99</action>
      <action>maincpu.pb@FF853F=00</action>
    </script>
    <script state="off">
      <action>maincpu.mb@02B929=14</action>
      <action>maincpu.mb@02B92F=20</action>
      <action>maincpu.md@temp0=30300000</action>
    </script>
  </cheat>

User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

Re: [sf2ce] Change colors in selection screen

Post by fernanpower77 » Thu Oct 31, 2019 1:48 am

Good night Mezdap! Could you figure out in SF2WW ROM where the country songs and announcement voices are located? I can't figure it out! Thank you and God bless you!

mezdap
Posts: 26
Joined: Sun Feb 04, 2018 5:16 am

Re: [sf2ce] Change colors in selection screen

Post by mezdap » Mon Nov 04, 2019 2:07 pm

First of all I'm not an experienced cheat finder, I still considered myself as an amateur but I have my own methods to find cheats and I'll explain these best I can, so it might help your next project or whoever read this.
This is how I found your ''Select Characters Palette Address'': Someone already got those addresses, I just got his custom ''rom''(Probably he's not gonna upload his rom anymore after this!) and compare to original rom with ''WinMerge'' its a very useful program you can get it here:https://winmerge.org/?lang=en But you need a ''dump file'' to doing that. Enter this for original sf2ce rom: dump sf2ce.txt,0,0xffffff in Mame debug mode,(sf2ce is optional you can write anything) it will dump the whole codes(Try not to edit dump files).For custom rom dump file, you don't need to use ''unofficial version of MAME'' even for playing. MAME always checks rom's files(within rom) ''CRC and SHA1'' hash numbers before start the game.The rom name is ''sf2red'' start the game in debug mode and then replace with custom rom ''sf2red''(Must have same name) do ''hard reset'' to run game(do not close MAME) and enter this again: dump sf2red.txt,0,0xffffff
Dump files should be in the MAME root folder.Open these files with ''WinMerge'' It'll show differences.If you are lucky and smart you'll get what you want.
Note: Always back up your roms. Keep your original rom in back up folder or You will lose your rom. while you replace them.For instance My back up roms I keep them in ''zip file'' its around 6GigaByte.
The other method that I use its a bit silly but it works for me anyway.Debug mode, open ''New Memory Window'', In that window ''Ram'' addresses (I call program) You are able to enter ''hex codes'' without entering ''maincpu@....'' (I mean you can actually change them on the memory window)
Ram addresses could be beginning, middle or end of memory window that depends on the game.(sf2ce it starts FFxxxx)
I always start with these three hex codes ''0's 1's and F's.'' in possible addresses.The key is here I just keep entering hex codes on couple of address column, for e.g. between these addresses 000010 to 000040. Try with F if nothing changed try 1, if its already hex there(other than zero) make them 0
If something changes on the game, locate the actual address and enter different hex codes.In short just keep practicing and do soft reset if it requires.
Same goes for this method ''If you are lucky and smart you'll get what you want''
I have few more methods but its hard to explain, next time.
About your requests I don't know country songs and victory poses besides what's the point that having this so important?
Here some good stuff you may interesting:http://rq87.flyingomelette.com/RQ/SF/main.html

mezdap
Posts: 26
Joined: Sun Feb 04, 2018 5:16 am

Re: [sf2ce] Change colors in selection screen

Post by mezdap » Tue Nov 05, 2019 9:05 am

This is the only cheat that I have left for ''sf2ce''

Code: Select all

<cheat desc="10 Rounds"> <comment>Up to 10 Rounds on Double KO and Draw Game</comment>
    <script state="run">
      <action>maincpu.pb@FF8A40=01</action>
    </script>
    <script state="off">
      <action>maincpu.pb@FF8A40=00</action>
    </script>
  </cheat>
This one is only available for sf2. I found this long time ago. Normally I share whatever I found but I need to make sure they work properly.It has minor issues: I couldn't figure out how to remove the ''Final Round'' for round 4.It keeps showing F.Round instead of 4.The other one, within 10 Rounds one of the player has to win 2 rounds included the round 10, otherwise the game reset itself! I was gonna post this if I could fix the ''99 Barrels'' cheat for Ram/Program address. You can post it in your ''99 Credits'' topic.If you like.

Before you point it out that I knew there was a problem with ''Select Background Cheat'' That's why I fixed it for you.( Back in time I didn't mind it.)
Those extra stages made me interested again, having more fun especially at Barrel stage. The problem is you added some unnecessary codes, I know you did for your own use and I understand why you add Chun Li, without 2. player, extra stages cannot be activated it! That's why there was problem with starting.Because those are the fighting stages not bonus. When I make any cheat, I try to make them for everyone.What's the purpose of this forum right.
Anyway I think this one is ready, of course Pugsy will do final review.
I only left the barrels codes.I removed the maincpu.pb@FF82E3=00 as well, I think this one should be optional, you better make it single cheat and post it.I also did some fix, now looks better.Even turn off the cheat and you can do soft reset.It could be better if you can play with CPU.

Code: Select all

<cheat desc="Select Background"> <comment>VS Stages Activate with Both Players</comment> 
    <parameter>
      <item value="0x00">Ryu</item>
      <item value="0x01">E.Honda</item>
      <item value="0x02">Blanka</item>
      <item value="0x03">Guile</item>
      <item value="0x04">Ken</item>
      <item value="0x05">Chun Li</item>
      <item value="0x06">Zangief</item>
      <item value="0x07">Dhalsim</item>
      <item value="0x08">Dictator/M.Bison</item>
      <item value="0x09">Sagat</item>
      <item value="0x0A">Boxer/Balrog</item>
      <item value="0x0B">Claw/Vega</item>
      <item value="0x0C">Car Stage (VS)</item>
      <item value="0x0D">Barrels Stage (VS)</item>
      <item value="0x0E">Drums Stage (VS)</item>
      <item value="0x0F">Claw Unused Stage (VS)</item>
      <item value="0x0300">Car Bonus Stage</item>
      <item value="0x0601">Barrels Bonus Stage</item>
      <item value="0x0902">Drums Bonus Stage</item>
    </parameter>
   <script state="on">
      <action>temp0=0240E8</action>
    </script>
   <script state="run">
      <action condition="param==0">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==1">maincpu.md@temp0=303C0000+57</action>
      <action condition="param==2">maincpu.md@temp0=303C0000+58</action>
      <action condition="param==3">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==4">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==5">maincpu.md@temp0=303C0000+5A</action>
      <action condition="param==6">maincpu.md@temp0=303C0000+5B</action>
      <action condition="param==7">maincpu.md@temp0=303C0000+5C</action>
      <action condition="param==8">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==9">maincpu.md@temp0=303C0000+5E</action>
      <action condition="param==A">maincpu.md@temp0=303C0000+59</action>
      <action condition="param==B">maincpu.md@temp0=303C0000+5D</action>
      <action condition="param==C">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3CE=000D, maincpu.pb@FF8061=C0</action>
      <action condition="param==D">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3D0=000D, maincpu.pb@FF8061=C0</action>
      <action condition="param==E">maincpu.md@temp0=303C0000+4F, maincpu.mw@02E3D2=000D, maincpu.pb@FF8061=C0</action>
      <action condition="param==F">maincpu.mw@0063DC=0082, maincpu.mw@02E3D4=0082, maincpu.md@temp0=303C0000+4A, maincpu.pb@FF8061=C0</action>
      <action condition="param==300">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=300</action>
      <action condition="param==601">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=601</action>
      <action condition="param==902">maincpu.pw@FF89C1=param/100, maincpu.pw@FF89ED=902</action>
      <action>maincpu.pw@FFDD5E=param, maincpu.pw@FFDD60=param, maincpu.pw@FFDD62=param, maincpu.pw@FFDD64=param</action>
      <action>maincpu.pw@FFDD66=param, maincpu.pw@FFDD68=param, maincpu.pw@FFDD6A=param, maincpu.pw@FFDD6C=param</action>
      <action>maincpu.pw@FFDD6E=param, maincpu.pw@FFDD70=param, maincpu.pw@FFDD72=param, maincpu.pw@FFDD74=param</action>
      <action>maincpu.mb@02B929=63</action>
      <action>maincpu.mb@02B92F=99</action>
      </script>
    <script state="off">
      <action>maincpu.mw@0063DC=4EB8</action>
      <action>maincpu.mw@02E3CE=4EF8</action>
      <action>maincpu.mw@02E3D0=2A0C</action>
      <action>maincpu.mw@02E3D2=0004</action>
      <action>maincpu.mw@02E3D4=0000</action>
      <action>maincpu.mb@02B929=14</action>
      <action>maincpu.mb@02B92F=20</action>
      <action>maincpu.md@temp0=30300000</action>
    </script>
  </cheat>
The question where did you get this code, whats the location? 30300000 or 303C0000
Last edited by mezdap on Sun Nov 10, 2019 12:44 pm, edited 1 time in total.

User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

Re: [sf2ce] Change colors in selection screen

Post by fernanpower77 » Wed Nov 06, 2019 12:31 am

Good evening friend Mezdap, thank you so much for the post and for the precious tips! About codes 30300000 and 303C0000 were created by Pugsy to help me, I can't explain it accurately but they are for the Voice Announce parameter. I'm trying to find out on SF2WW how to put the songs on the secret screens, if you find out something please let me know! I made a joke with your Background code, where I created my fight sequence with only the secret screens! I'll be posting below and look forward to your feedback on it! Thanks again for everything and may God bless you! Fernando M. Hack

Code: Select all

<cheat desc="Bonus Stage Fight Backgrounds and Secret Stage"> <comment>Includes Select Character - Select Character P1 or P2 for the Bonus Stage Background and Secret Stage</comment>
    <parameter>
      <item value="0x00">Ryu</item>
      <item value="0x01">E. Honda</item>
      <item value="0x02">Blanka</item>
      <item value="0x03">Guile</item>
      <item value="0x04">Ken</item>
      <item value="0x05">Chun Li</item>
      <item value="0x06">Zangief</item>
      <item value="0x07">Dhalsim</item>
      <item value="0x08">M. Bison</item>
      <item value="0x09">Sagat</item>
      <item value="0x0A">Balrog</item>
      <item value="0x0B">Vega</item>
      </parameter> 
   <script state="on">
      <action>temp0=0240E8</action>
    </script>
   <script state="run">
      <action>maincpu.mw@0063DC=82, maincpu.mw@02E3D4=82, maincpu.mw@02E3CE=0D, maincpu.mw@02E3D0=0D, maincpu.mw@02E3D2=0D, maincpu.md@temp0=303C0000+4F, maincpu.pb@FF8061=C0, maincpu.pb@FF894F=param</action>
      <action>maincpu.pw@FFDD5E=0C, maincpu.pw@FFDD60=0D, maincpu.pw@FFDD62=0E, maincpu.pw@FFDD64=0F</action>
      <action>maincpu.pw@FFDD66=0C, maincpu.pw@FFDD68=0D, maincpu.pw@FFDD6A=0E, maincpu.pw@FFDD6C=0F</action>
      <action>maincpu.pw@FFDD6E=0C, maincpu.pw@FFDD70=0D, maincpu.pw@FFDD72=0E, maincpu.pw@FFDD74=0F</action>
      <action condition="maincpu.pb@FF83E8!=FF AND maincpu.pb@FF86E8!=FF">maincpu.pb@FF82E2=00</action> <!-- allow KO slowdown -->
      <action>maincpu.pb@FF0A62=99</action>
      <action>maincpu.pb@FF0A63=99</action>
      <action>maincpu.pb@FF8511=09</action>
      <action>maincpu.pb@FF8512=99</action>
      <action>maincpu.pb@FF8513=99</action>
      <action>maincpu.pb@FF8811=09</action>
      <action>maincpu.pb@FF8812=99</action>
      <action>maincpu.pb@FF8813=99</action>
      <action>maincpu.mb@02B929=63</action>
      <action>maincpu.mb@02B92F=99</action>
    </script>
    <script state="off">
      <action>maincpu.mb@02B929=14</action>
      <action>maincpu.mb@02B92F=20</action>
      <action>maincpu.md@temp0=30300000</action>
    </script>
  </cheat>

mezdap
Posts: 26
Joined: Sun Feb 04, 2018 5:16 am

Re: [sf2ce] Change colors in selection screen

Post by mezdap » Sun Nov 10, 2019 1:00 pm

Yep, This is better idea but I don't understand why you keep adding the ''9999'' for the score cheats!!!
Did you check above post, the backgrounds cheat that I fixed it for you?

I'm not sure it will work or not, Try this for Victory Poses: https://dammit.typepad.com/blog/2010/09 ... -data.html

User avatar
fernanpower77
Posts: 60
Joined: Sat Dec 29, 2018 5:28 pm
Location: Brazil
Contact:

Re: [sf2ce] Change colors in selection screen

Post by fernanpower77 » Sun Nov 10, 2019 4:35 pm

Good afternoon friend, it was cool the changes you made, thank you for real! About the punctuation, it is just for modification and for personal use ... thanks for your help and I will check this article ... I found another cheat to activate the background animation at the end of the fight, it was interesting on the screen of E. Honda, I look forward to your feedback .... Fernando M. Hack

Code: Select all

<cheat desc="Animation Victory Background"> 
    <script state="run">
      <action>maincpu.pb@FF8AD1=01</action>
    </script>
  </cheat>

Post Reply