alex-free / tonyhax

Japanese/American/European Universal PS1 Backup loader fork for ALL PS1 consoles, and PS2 console models SCPH-10000-SCPH-39004.
https://alex-free.github.io/tonyhax-international
Do What The F*ck You Want To Public License
39 stars 1 forks source link

Earth Warm Jim 2 PAL Xplorer Codes #37

Closed JMaxxL closed 10 months ago

JMaxxL commented 11 months ago

Infinite Lives 86624520 5955 8662451E 5955 Infinite Energy 865F1D18 59B6 Infinite Shots 866041A4 5C42

couldnt get these to generated TH file

alex-free commented 11 months ago

86 is not a supported prefix: https://alex-free.github.io/tonyhax-international/gameshark-code-support.html#supported-codes--limits

86 appears to be a PSX Xplorer code type and not a gameshark code type as per: https://gamehacking.org/faqs/hackv500c.html. Do these codes work with a real GameShark (and not an Xplorer)?

From what I understand, these codes can be converted from Xplorer to GameShark. Maybe THIGSGEN can be updated to support this if true. I'll look into this for you.

JMaxxL commented 10 months ago

All my cards are so old I cant help that fact BUT.........

Hello I've been testing the following bug/issue with read error of the "TONYHAXINTGS" file off memory card. I tested this alot before I decided to report it.

Both of my console's are getting error message over & over again. When I get to the point were it is time to "Press 0" to activate gameshark codes it errors out on perfectly functioning cards. This happens about ATLEAST 20% of the time time on my SCPH-7501 with flashed cheat cart & 30% of the time on FreePSXBoot in last few days so im compelled to report it finally.

I tested all my cards cleaned them with an eraser & IPA they read perfect in the sony bios, unirom & THi [X] bios I really don't think its the cards or hardware issue with my consoles.

I know I cant be sure & the hardware is 20 years old but my SCPH7501 was in storage for at least 10 years of that time unused.

I was working on shorting half my videos Is it possible instead in the code forcing me to RESTART if the TONYHAXINTGS is not read correctly if there is a read error I could just re-seat and press [O] a 2nd or multiple times with tonyhax international booted. Since I know from experience powering off & back on sometimes fixes the read error leaving the memory card right where it is. I just feel something weird might be going on.

alex-free commented 10 months ago

All my cards are so old I cant help that fact BUT.........

Hello I've been testing the following bug/issue with read error of the "TONYHAXINTGS" file off memory card. I tested this alot before I decided to report it.

Both of my console's are getting error message over & over again. When I get to the point were it is time to "Press 0" to activate gameshark codes it errors out on perfectly functioning cards. This happens about ATLEAST 20% of the time time on my SCPH-7501 with flashed cheat cart & 30% of the time on FreePSXBoot in last few days so im compelled to report it finally.

I tested all my cards cleaned them with an eraser & IPA they read perfect in the sony bios, unirom & THi [X] bios I really don't think its the cards or hardware issue with my consoles.

I know I cant be sure & the hardware is 20 years old but my SCPH7501 was in storage for at least 10 years of that time unused.

I was working on shorting half my videos

Is it possible instead in the code forcing me to RESTART if the TONYHAXINTGS is not read correctly if there is a read error I could just re-seat and press [O] a 2nd or multiple times with tonyhax international booted. Since I know from experience powering off & back on sometimes fixes the read error leaving the memory card right where it is. I just feel something weird might be going on.

Is this a 1.3.7 specific thing for you?

alex-free commented 10 months ago

I changed some memory card handling around, so it will display an error code if the MC file can't be read. I can eventually have it able to 'retry by pressing O again' but that might not make it in the next release. The memory card handling is also done a bit more 'correctly' by specifying pad_enable 1 instead of pad_enable 0. I'm hoping this will fix your issue, I really have only encountered what your saying once or twice myself and I think the next update should make it always reliable.

Did you ever see if the Xplorer codes worked on a real gameshark?

JMaxxL commented 10 months ago

I have suspect because I noticed the slim model was doing it more then the phat model, that right there makes no since. But could it be the controller somehow causing this I did read the controller is actually part of the memory card. same as the PS2 you actually CANT have certain things plugged into the controller port & read memory cards at the same time.

alex-free commented 10 months ago

I have suspect because I noticed the slim model was doing it more then the phat model, that right there makes no since. But could it be the controller somehow causing this I did read the controller is actually part of the memory card. same as the PS2 you actually CANT have certain things plugged into the controller port & read memory cards at the same time.

It could be some weird BIOS 4.x quirk causing it to happen more. But like I said I think the code changes will work I need to do some more testing and I'll let you know.

JMaxxL commented 10 months ago

The end of this video shows the issue happening organically it will not be uploaded correctly for another hour

https://youtu.be/X95JVmMerV0

I found out this devicees are suppose to run at 7.5 volts but most USB runs at 5volts... so unless this device has the ability to run at 7.5 volt AND you have a NEW USB C 3.2 that can go up to 9volts which is vary unlikely it will damage memory cards over time.

the only way to make one of the adrinuo devices correctly is with an external power supply or run them off of a USB C to USB C which most people will not be doing plus the adrinuo itself needs to be set up to run 7.5 volts.

JMaxxL commented 10 months ago

here this link is working finally it took months to generate all of these TONYHAXINTGS files hope you like the video the read failure is at the vary end

https://youtu.be/X95JVmMerV0?si=OaJJM98G6EE23Osr

alex-free commented 10 months ago

here this link is working finally it took months to generate all of these TONYHAXINTGS files hope you like the video the read failure is at the vary end

https://youtu.be/X95JVmMerV0?si=OaJJM98G6EE23Osr

Is this specifically happening using that fork of ulaunchelf and that hardware? Does using wlaunchelf and real hardware and native usb 1.1 drive make any difference in this case?

JMaxxL commented 10 months ago

The stable version of wLaunchelf dose not even work to move PS1 files, ulaunchelf dose Ill check back with you over time its hard to force the read error, it just kinda happens.

But did you see the video, you see what I mean eventually over time I got enough custom TONYHAXINTGS library organized on the PS2 I really don't want it on my PC. Unless I get a new game I wont be on the PC make new files.

alex-free commented 10 months ago

The stable version of wLaunchelf dose not even work to move PS1 files, ulaunchelf dose Ill check back with you over time its hard to force the read error, it just kinda happens.

But did you see the video, you see what I mean eventually over time I got enough custom TONYHAXINTGS library organized on the PS2 I really don't want it on my PC. Unless I get a new game I wont be on the PC make new files.

I had the exact opposite result, ulaunchelf broke ps1 compatibility at some point but wlaunchelf always worked with PS1 memory cards copying from USB. I exclusively use the wlaunchelf stable release (I believe the latest from 5 years ago?) with a USB flash drive that works with the PS2 (not all do, IIRC the ones that don't just don't allow you to open the MASS device) and a real Sony PS1 memory card, never had any issues. Any chance you can show me what happens if you try to use wlaunchelf? I'm really curious.

I am quite impressed with how much you use this feature, and I did see the video. You've got me into using it myself even, always appreciate the videos.

I know the issue is intermediate, I am going to do a test for the new version in development, something like turn the console on, read the memory card, turn it off and repeat 100 times on my PSone to compare it to the current v1.3.7.

image

image

image

JMaxxL commented 10 months ago

im getting paste failure

alex-free commented 10 months ago

im getting paste failure

Do you use mcpaste or the paste option? I think mcpaste caused that but paste works

JMaxxL commented 10 months ago

no I was told not to use that feature its outdated I was told it breaks something I cant remember exactly what happens but

JMaxxL commented 10 months ago

over 100 people watched that video first day do you think people are having issues useing the tonyhax gameshark feature ?

alex-free commented 10 months ago

no I was told not to use that feature its outdated

So you only used mcpaste before? Try paste instead that's what I use. I'm not sure how it could be considered outdated? I'm not even sure what the difference is to be honest but I'm pretty sure mcpaste has either never worked for me for PS1 memory cards or is for PS2 memory cards only maybe?

JMaxxL commented 10 months ago

for all we know person who told me could be completely wrong I dont even remember who it was Ill use it I was told by PS2homebrew im pretty sure it was them not to use it but im not 100% it was them it was a dev I know that

alex-free commented 10 months ago

Ill use it I was told by PS2homebrew im pretty sure it was them not to use it but im not 100% it was them it was a dev I know that

I'm just really curious if that makes wlaunchelf work for you (using paste not mcpaste like in my screenshots) since I've been doing it like that for years. I honestly am not sure about much PS2 stuff I haven't really kept up to date in that scene in a long time so maybe they are right. Maybe wlaunchelf just has some kind of bug in regards to the mcpaste option? If you have a link to that devs comment let me know

JMaxxL commented 10 months ago

when you get a chance could you check the build of wlaunchELF your running maybe im missing something. go into misc send me a screen print of the build number

alex-free commented 10 months ago

@JMaxxL try this v1.3.8 beta version and let me know if you can get it to error out on reading the memory card because I can't so far tonyhax-international-v1.3.8b1.zip

alex-free commented 10 months ago

Memory card issue is fixed in v1.3.8

JMaxxL commented 10 months ago

It worked really smoothly I wish I knew it was going to fail on me in my video I could have looked more together lol

alex-free commented 10 months ago

Back to the original issue, these are encrypted Xplorer codes (denoted by the 6 in the 86 prefix). These codes are from https://www.willemssoft.be/index.php?main=22&sub=24 originally. These codes are the 8 type.

There is a converter at https://gamehacking.org/system/psx . So you can convert these from encrypted Xplorer codes to regular gameshark codes which work with Tonyhax International and original GameSharks. I'll comment again after I test these work as GameShark codes

=============== Encrypted Xplorer:

Infinite Lives 86624520 5955 8662451E 5955

Infinite Energy 865F1D18 59B6

Infinite Shots 866041A4 5C42

========== GameShark:

Infinite Lives 800CF2C8 0005 800CF2CA 0005

Infinite Energy 800BCAC0 0064

Infinite Shots 800AEE4C 03E8

=============

I'm still not exactly sure how the 'encryption' works for the conversions but we have the online converter for now.

alex-free commented 10 months ago

Tested and all the above codes work :) Closing this for now since I still don't know how to support encrypted codes and can't find info on how they work

alex-free commented 10 months ago

I tested the codes on the NTSC hack version floating around.