root670 / CheatDevicePS2

Game enhancer for PlayStation 2 similar to Action Replay, GameShark, and CodeBreaker. (No longer in development)
GNU General Public License v3.0
84 stars 19 forks source link

Cheat Device 1.7.1 freezing the application, when saving and leaving it. #18

Open spielvan opened 5 years ago

spielvan commented 5 years ago

Hello all well? I come to you to report a problem with Cheat Device 1.7.1. When adding a code, sometimes at the boot time of the application exit one of the possible paths offered by it, it asks if I want to save and I choose yes and at that moment the application freezes, without alternatives I am forced to turn off the ps2 and so the file where it gets saved codes corrupts. To dribble this problem I use the ulaunchelf to open the cheatDatabase_RW.txt file to add the codes and then save it. I believe that the solution is simple, just an option to save the changes made in the application at any time without having to leave it alone, this will avoid the risk that the file cheatDatabase_RW.txt corrupts to a possible exit boot error for some other There is another problem, if on the application screen there are no codes when pressing "X" on the control that matches "cheat list" it freezes.

I believe this problem is caused by a conflict between saving and booting into another application. But the option of being able to save at the desired time will already make that mistake.

This problem was reported by a friend of mine (Lucianna O. Sykes), member of the group OPL PS2 Loader of Facebook.

A hug and congratulations on the great application.

Antonioks

root670 commented 5 years ago

Hi, thanks for submitting an issue. The issue where the application would freeze if X is pressed when the game list is empty has been fixed with this commit: https://github.com/root670/CheatDevicePS2/commit/9bd513f981c61b65ae5ce8c59fa2f7f0a43165e8. The next release will incorporate this change.

For the other issue, can you please provide me a little more information about your setup?

  1. Does the freeze occur if you use a read-only database (set with the databaseReadOnly = <path> option in CheatDevicePS2.ini), then modify the database in Cheat Device?
  2. If a read-write database already exists and has its path is set with the databaseReadWrite option in CheatDevicePS2.ini, does it still freeze if you modify the database in Cheat Device?

I agree adding an option to manually save the database without having to load a game would be a good idea. I'll consider adding that into the next release.

spielvan commented 5 years ago

Hi, thanks for submitting an issue. The issue where the application would freeze if X is pressed when the game list is empty has been fixed with this commit: 9bd513f. The next release will incorporate this change.

For the other issue, can you please provide me a little more information about your setup?

  1. Does the freeze occur if you use a read-only database (set with the databaseReadOnly = <path> option in CheatDevicePS2.ini), then modify the database in Cheat Device?
  2. If a read-write database already exists and has its path is set with the databaseReadWrite option in CheatDevicePS2.ini, does it still freeze if you modify the database in Cheat Device?

I agree adding an option to manually save the database without having to load a game would be a good idea. I'll consider adding that into the next release.

Thank you, my dear, I'm going to be passing this response on to Lucianna O. Sykes, anything she doubts I'll be returning to share. A big hug.

Antonioks

spielvan commented 5 years ago

@root670

Lucianna O. Sykes: Sometimes the application freezes the moment you save the changes, which is the moment you leave the program and so the cheats file was corrupted and for that reason I think it would be better to have a save option available at any time without having to close the application.

Déh Moraes: But here in my cheat device, he only accepts to place the cheats of the USA version of the game. Game version European it does not accept. When I put the cheat and I go back pro opl or unlauchelf, it locks up the playstation 2. Dai I have to restart the playstation2.

spielvan commented 5 years ago

Lucianna O. Sykes Opening the cheatDevicePS2.ini file in the ulaunchelf settings are; databaseReadyOnly = (empty) databaseReadyWrite = CheatDatabase_RW.txt Freezing only occurs when I put new codes in the program! If I use read-only mode it does not freeze anymore. Realize that there is a limit of consecutive executions that can be done in the Cheat Device, entering and leaving the program without turning off the ps2 the limit is only 2 times more of it freezes and this happens only if you select some code. , thanks for listening.

ArtGenerator commented 2 years ago

databaseRead(y)Only = "y" ? databaseRead(y)Write = "y" ?