ffman1985 Posted January 7, 2023 Author Posted January 7, 2023 (edited) Hello, Tux, mer-curious. Following the advice of yours, I add some comment at the bottom of the cheat screen which normal player better to know about it. For the rom part that i patch ($8d5d), is about changing the p2 input to controller 1, that why in practice mode, users can control p2 after choosing character. As i mention previously, if restarting the game or closing the cheat during that short period of time that the control of p2 is changed, it is not restored to normal until closing Raine and reloading the rom. But now this problem is solved in a new version below. The rom patched part always return to normal as starting (restart) the game or closing the cheat. Any one interested in my cheat of rbffspec, please update here: https://drive.google.com/file/d/1w4Uu8jKu7heY7hiW9HR5Y17lS8Rhz7y4/view?usp=share_link Edited January 7, 2023 by ffman1985 1
ffman1985 Posted January 7, 2023 Author Posted January 7, 2023 Note: when talking about patching the rom part in the cheat script, it just means to patch the rom data that loaded to the ram, but not the rom files. So, don’t worry. Am I right, Tux?
Tux Posted January 7, 2023 Posted January 7, 2023 3 minutes ago, ffman1985 said: Note: when talking about patching the rom part in the cheat script, it just means to patch the rom data that loaded to the ram, but not the rom files. So, don’t worry. Am I right, Tux? $8d5d is the real rom, not a copy, poke works because it's handy to be able to patch region bytes, but you can easily crash a game if you poke randomly to rom. But clearly you know what you're doing ! Much better with some user comments. If you want, you can take a look at scripts/neocd/ssrpg.txt for an example of a script which uses variables to make things clearer (which avoids to add comments).
ffman1985 Posted January 7, 2023 Author Posted January 7, 2023 However, after I run the script (which patch $8d5d), my rom file’s modification date is not changed? I assume it does not write any thing to my actual rom? (sorry, as i am new to computer programming)
Tux Posted January 7, 2023 Posted January 7, 2023 1 hour ago, ffman1985 said: However, after I run the script (which patch $8d5d), my rom file’s modification date is not changed? I assume it does not write any thing to my actual rom? (sorry, as i am new to computer programming) Of course not, it just changes the loaded rom image, you would need to save explicitely the file for that... ! Also notice that if you do the same patch for neocd, then it's not rom anymore, the code is loaded from cd to ram, but since the ram has the same address as the neogeo rom some patches are compatible.
ffman1985 Posted January 7, 2023 Author Posted January 7, 2023 Good, without changing the actual rom file, people will feel more comfortable to use the cheat. Also, I just test my cheat in ngcd, it is not compatible (but many thing still work), as you said, the rom address $8d5d becomes some other thing in ngcd. 1
ffman1985 Posted January 12, 2023 Author Posted January 12, 2023 Hello, Tux. Recently, I try making some cheat script which involved changing the value of the rom part by the poke function. There is no problem when dealing with the neogeo or cps1 rom. However, for cps2 rom, it seems that the poke function cannot change the value of the rom part. I try to make the following script which suppose to break the operation of the game, but nothing happened. Please advise. script "test" run: lpoke $150 $00000000 lpoke $523 $00000000 lpoke $1150 $00000000 lpoke $1250 $00000000 lpoke $5150 $00000000 lpoke $8234 $00000000 lpoke $15123 $00000000 lpoke $15234 $00000000
Tux Posted January 13, 2023 Posted January 13, 2023 15 hours ago, ffman1985 said: Hello, Tux. Recently, I try making some cheat script which involved changing the value of the rom part by the poke function. There is no problem when dealing with the neogeo or cps1 rom. However, for cps2 rom, it seems that the poke function cannot change the value of the rom part. I try to make the following script which suppose to break the operation of the game, but nothing happened. Please advise. You should know that cps2 roms are encrypted, it forces to separate data from code, I can't even say where your poke goes without checking the code, it must use at the same time a part which is encrypted and one which is decrypted, don't remember which is which. You can use the pheonix edition versions which are decrypted as a workaround.
ffman1985 Posted January 13, 2023 Author Posted January 13, 2023 Thank you for introducing the Phoenix Edition of the cps2 games, Tux. The poke function in the cheat script can modify the rom part of this game. However, there is some minor problem that after watching the opening, it will crash at the score screen. Anyway, I will make my cheat in the Phoenix Edition.
Tux Posted January 13, 2023 Posted January 13, 2023 17 minutes ago, ffman1985 said: Thank you for introducing the Phoenix Edition of the cps2 games, Tux. The poke function in the cheat script can modify the rom part of this game. However, there is some minor problem that after watching the opening, it will crash at the score screen. Anyway, I will make my cheat in the Phoenix Edition. More details about this crash ? Related to your poke or not ?
ffman1985 Posted January 13, 2023 Author Posted January 13, 2023 I didnt open any cheat when testing the game. It shows glitch on the score screen after watching the full opening. If I switch the region of the game (by pressing u at the beginning) to japanese, it even crash at the score screen.
Tux Posted January 13, 2023 Posted January 13, 2023 (edited) 2 hours ago, ffman1985 said: I didnt open any cheat when testing the game. It shows glitch on the score screen after watching the full opening. If I switch the region of the game (by pressing u at the beginning) to japanese, it even crash at the score screen. You are really very bad at reporting problems, was it with sf2 ? probably not since its settings are by dipswitches, so I don't even know which game you are talking about !!! If it's around the save screen, a savegame could be handy so that it can be reproduced quickly... ! sfad because of your other post ? No japanese language there, I checked the scores anyway, no problem to see. So I just don't know ! Edited January 13, 2023 by Tux
ffman1985 Posted January 13, 2023 Author Posted January 13, 2023 (edited) Sorry, I forget to mention the game that I talk about. The problem that I am talking about is the street fighter alpha phoenix edition (sfad.zip). This phoenix edition have the function to switch the game region (press u at start up). However, no matter what region I set there is alway problem in the score (ranking) screen after the opening. To see this problem, just start the game, do not press the coin button, and see the whole opening. Edited January 13, 2023 by ffman1985
Tux Posted January 14, 2023 Posted January 14, 2023 (edited) You are still very bad, I played a while with the turbo key (del), requires to disable double buffer in opengl rendering otherwise it's blocked by the vbl, but once it works it really goes too fast, half a second press and the demo has already done 1 loop ! Anyway finally reached 2 hiscore tables, they look fine to me except the weird C head for the guy on the right for the 1st picture. I think I am going to ignore your posts for a while... ! I attach 2 screenshots of the 2 hiscore tables... edit : after some short thinking, if it's the contents of your hiscore table which looks weird, you might have corrupted unwillingly your hiscore file for this game while experimenting with your scripts. Try to delete the sfad.hi file in the savedata directory (then restart raine of course). But if that's indeed your problem, next time at least post a screenshot it will save me a lot of time ! Edited January 14, 2023 by Tux
ffman1985 Posted January 14, 2023 Author Posted January 14, 2023 (edited) Hello Tux. I delete the hi score file and the problem is gone. Yet, I still don’t know what exactly I have done wrong to damage the hi score file (highly possible that some problems in the process of making my cheat script). I am so sorry that I waste you so much time on testing it. Thank you for your great efforts on this topic. Edited January 14, 2023 by ffman1985
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now