Jump to content

ffman1985

Premium Members
  • Posts

    138
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by ffman1985

  1. It is good to know that some rams are shared by different cpus, as i remember that there are many rams that seems nothing happen when i change a value. Eg: in sfad, $ff805c, which is related to the test service button. It is =$02 when the test service (u) button is pressed. When i manually poke $02 to it, nth happened. Later, i found out that there are some instructions to write value to it from the data registry. So, i remove all the instructions of it temporarily and following that, use poke $ff805c $02 can enter the menu (as in the option mode script). (In x men, the situation is simpler, i can directly poke the ram for test service button, so it is the first game I include the ‘option mode’.) I don’t know if it is the correct method to hack. But in my newer scripts, i alway use this method when there is ram i want to change value but not ok.
  2. At first, i wrongly perceived the $618000, $618002… as unwrittable (since they return to $ff immediately after i change the value). But now i know that to see the effect of changing value, the 3 address should be poke together… And thank you for telling me that both $618000($618001) and $618002($618003) are both related to the sound code. I hope this technique can use on all cps games.
  3. Finally find a way to play any music or sound effect without rom hack, so it will not affect the music or sound effect that are playing. Here is the test script: script "music test2" run: if peek($FF8050)>$00 #When a button is pressed# poke $618001 $00 poke $618003 $F8 #set music code# poke $61801F $00 endif And here is the more updated sfad.txt with the latest method: (EDITED AGAIN) https://drive.google.com/file/d/1Z-todk1qykH41S_B6am18pOUFroYh6Hm/view?usp=share_link Here are the area with added sound effect: 1. Pressing start in the title screen, 2. Pressing up/down on menu screen, 3. Pressing punch/kick button on menu screen, 4. Pressing down on the ?box after enable the bosses script. But I totally don't know what the ram address resprsent, except $618003. And I cannot write thing into $618000 and other addresses which always =$FF. Anyway, this method works without sideeffect. Now, the street fighter alpha phoenix edition script is the most advanced script out of my work which is most console-liked.
  4. Hello, Tux, thank you very much for your information. Although I am not very understand, I can finally add the sound effect (but only in the case of no other music or sound effect). After knowing the region $618000 is for music/sound, it helps a lot. At first, I found that changing the value in the region $618000 do not have any effect (I don't know if i have anything done wrong). But I found that $618003 is for the sound code of the music or sound effect. So, I try to remove the instruction (rom hack) that write value into this adress, and put in the value of the sound code of the sound effect that I want. The next problem is, only writing a value to $618003 is not enough, it cannot trigger the sound. Luckily, I remember that setting the $FF817B to $01 can produce the coin sound. Since I set the sound code on $618003 in advance, the coin sound becomes other sound. Here is a short script for my test: script "Sound command test" run: lpoke $12B84 $00000000 #Disable sound command# lpoke $12B88 $00000000 if peek($FF8050)>$00 #When a button is pressed# poke $618003 $F8 #Set sound code# poke $FF817B $01 #Originally for producing coin sound# endif And here is the updated sfad.txt: https://drive.google.com/file/d/16kFgGdtZGKr7bQn8Qjnj7rCiGM-cjeKO/view?usp=share_link (edit: after uploaded, i find that the sound effect for game start is wrong, I may update again later. But please have a look on it first.) There are still room for improvement as this method prevent the playing of the original background music and sound effect (and so, it can only use in menu or title screen). But once again, thank you very much for your help, Tux.
  5. Very happy that my script to include in Raine again. Without big change or serious bug, i will not post a update. The next thing i want to do is to add some sound effect in the menu screen when switching choice. (Want to do since i posted the first console mode script, but still no idea how to do that, except for the coin sound which has different treatment(?).)
  6. It seems that the optimazation has great effect from the grouping under "if ((peek($FF8051)==$04)or(peek($FF8055)==$04))". I think I should change all of my scripts to this format (although it is more difficult to understand). (originally, "if (dpeek($FF0000)==$0000)and((peek($FF8051)==$04)or(peek($FF8055)==$04))" means when acrade mode is highlighted, and P1 or P2 press down button.) Thank you very much for making the changes on my script. It has been a long time that I cannot see any comment on my scripts.
  7. Actually, I am thinking of a function to allow user to freely set a combination of key (controller key not keyboard) for a shoutcut of a particular purpose, eg: ABX+start = reset, select + x = call cheat menu (the key in this example is the xbox controller), etc. I don't think this combination of buttons affect gameplay in most games. If yes, i hope player can change the key combination.
  8. Good to find out the rare bug. Since I assign a key to controller to call the cheat menu, I never trigger the bug you mentioned. By the way, is it possible to add the shortcut of combination of buttons in the controller? For example, pressing ABX+start button to reset the emulator. So that I can have more buttons to use for gameplay. Also I try the modified script, it shows great improvent on the menu (misc 15% decrases to 11%), is the change only involves grouping of other parts into "if dpeek($FFAE18)==$02E7"? However, when i group more title parts script under "if dpeek($FFAE18)==$02E7", it shows no improving. Edit: I find # (dpeek($FFAE18)==$02E7), on line235, is it redundant?
  9. I try to start my script late, i.e. in the title screen, and it still works normally. The ff8050 is actually about the controller 1 punch buttons and kick buttons. If no button is pressed, ff8050 must be equal to zero. For other cases: =01 means light punch is pressed, =02 means medium punch, =04 means heavy punch, =10 means light kick, =20 means medium kick, =40 means heavy kick. It is abnormal that you see $40 for ff8050 all the time. This only happen if you hold the heavy kick button for player 1.
  10. Thank you for trying the script, Tux. Just try to play on the 32bit version but I do not encounter the problem about the option. Do you mean that you see the test service menu for a fraction of second and it goes directly to the character selection? or you see the menu screen (with the name of the modes) a fraction of second? In fact you don't have to press the button as quickly as possible. In the title screen, the function of the start, coin and test service buttons are disabled (but you can still press start to leave the title screen). When you press the start button in title, it cannot start the game, but will only move away the game logo and the original texts, and then add my own created texts on screen. In the menu screen, you can only use the punch or kick buttons to select and it will trigger the start function. All buttons returns to normal after selecting a mode (leaving the menu screen). Sorry , can't do anything here...
  11. Hello, share a update for the script for street fighter alpha phoenix edition (sfad.zip), which is for super fan only. In this update I try sth new in which the menu screen is seperated from the title screen which is similar to the ss/ps version. Also, I add a option (test service) in the menu. It is different from pressing the u button, because it is forced to show the engligh text no matter what the region has chosen. When leaving the menu, it will return to menu screen instead of a full restart. P.S. the script is more complex than my previous scriptes which requires more cpu resource. Also, because of its complexity, it requires more test for bugs. For normal user, there also a bug fix for the "Enable Bosses" script. Preview: https://drive.google.com/file/d/17FBX2-8EUxXPklNeq3tqeeYmhS6CHwFW/view?usp=share_link Download: https://drive.google.com/file/d/1aax-HGubq401VsKoTezmwOuURHwle8dS/view?usp=share_link
  12. May be I will wait for 1 week to see if there is any complaint.
  13. Hello I have created a new cheat for Street Fighter 2 (sf2.zip) which is a test version. https://drive.google.com/file/d/1dfI97TkHbwkghvsj-sR6qM1tP5o3SDx1/view?usp=share_link Console Mode: In additional to the basic function, I add the difficulty setting in the menu screen by pressing left or right. It should be remind that any changes can not be reflected in the test menu because it is not changed by the dip switch. (Originally, when the dip switch is changed, there is another ram address changes accordingly.)(Also, the change in dip switch can only be effective during the start-up. But I change the difficulty in another ram address which is effective after the start up, so it can be done in the menu screen.) I am not 100% confident on this hack. I hope someone who familar with the ai of the cpu of different difficulty can help me to test it. Seconly, when entering the test menu during the menu screen, it can not be shown properly, because something is changed for making the menu screen (the shifting of the original text). It is automally return to normal when game start (when entering the character screen) but not in test menu. Select same character: Press the coin button to move to the character which is selected or occupied by the other side.
  14. I didn't own the 3DO since it was uncommon in my country. But two of my friends owned it, so I had the chance to tried this expensive console. At that time, I was impressed by the graphic and the arranged soundtrack of this version of super street fighter 2x, especially the energetic character select bgm. I think many people have good memory on this version. By the way, I also slow down my work a bit recently, but I still want to create the console mode script for all cps fighting games.
  15. Hello everone, share the console mode cheat for Super Street Fighter 2x (turbo) (Japanese Phoenix edition, ssf2xjd.zip). This work in the same way as my previous cps2 script, except there are something new: - the 'insert coin' text is change to 'press start', and it can really starting the game by the start button. -in the menu, all the modes are shown together, there is a dot to indicate which mode is in select. In addition, there is the 'Enable Akuma/Gouki' cheat, where akuma is selectable by highlighting ryu and then press the three punch buttons together. https://drive.google.com/file/d/1KikdagFHHl5TGADzpxU891-NCVTV19C5/view?usp=share_link P.S. The Company text are moved to the bottom of the screen which result in the credit text can not be seen now (I don't know if everyone like this change but there is infinite credit in the console mode) The name of the modes follows the 3DO version. (I hope someone still remember this version.)
  16. Sorry about that. But I think that it is not worth to change the default setting (about the cheat in reset) because of the hidden script function.
  17. After the update, the cheats automatically disable after reset by f1, is that sth intended?
  18. It can help to reduce the misc % in my beginning test. However, when I try again without power supply plug into my laptop, the misc % is very high. I don’t know why.
  19. The result is more obvious in training mode during character select.
  20. I have found a new way to optimised my script. The concept is to control the frequency of operation. I use the rnd() function as a controller. Since it is a random number between 0 to 255, if I want to set a frequency of about 50% of original, I can set a condition like this: if rnd()<=127 Here is the optimised version of xmen using this concept. I also add a "Arcade Gameover" part to prevent the text not appear in menu after the Arcade game. https://drive.google.com/file/d/1CIqRmdkJsreB5Fln_zxKXaVBRbstv4-8/view?usp=share_link
  21. Hello, Tux, if we have any discussion about the technique in writing the cheat script, let’s continue here.
  22. It is always no guarantee that different ips can use together, especially the big hack. It is because it requires to add a very long instructions put into the rom. Most likely, hacker put these instructions at the end part of the rom file. To modify this, it requires some knowledge on 68k programming, and find out the jump instruction which jump to the long part of instructions. So, you can copy and paste the long instructions to other address and change the jump instruction accordingly.
  23. I have done a new test for optimazation. I create a script full of if..endif statement but without any poke inside and the first line with a condition: if peek($ff2000)==$AA which can never be fufilled. When I turn it on, the misc % is only 1%. However, when I change the condition to if peek($ff2000)==$00 (which can be fufilled), the misc % jump to 5x%. But it proved that if a script where the first condition is not fufilled, no matter how long it is, it does not affect a lot. So, I think I don't have to do the extra to seperate the vs mode and practice mode from the console mode script, as I already set a condition in the vs mode part(if peek($ff2000)==$01) and pratice mode part(if peek($ff2000)==$02).Here is my test file, the test script is called "rubbish test" which is at the bottom. https://drive.google.com/file/d/1JKL4bKnHu6DB0lzCv-t02q0KktZ7EtS7/view?usp=share_link
  24. I think only hidden script need to be closed in reset. Also, sth about the optimazation by the start_script command: Even I separate the vs mode script and practice mode script, (which only open the script during the mode is highlighted and press start), the misc % is almost unchanged…… In addition, I notice that if my laptop is set to the silent mode (slow mode) the misc % can be lower than that of when running in turbo mode for the same script.
  25. Also, do you think it is a good idea to automatically close all hidden script at restart(f1)? I think hidden script are sth called out by the programme, it is meaningless to keep it enabled when restart. Without automatic close, I have to include many stop commands to stop all this hidden script at start up. (When i playing in versus mode, the hidden versus script is enabled. When I restart and choose arcade mode, the hidden script Versus still in effect. It is not desirable.)
×
×
  • Create New...