libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
111 stars 60 forks source link

Custom Tooltypes maybe broken #595

Closed zzedmore closed 1 year ago

zzedmore commented 1 year ago

Hi, I tried setting a custom tooltype (in the MkCustom Cancel/Set/Remove window). I tried CUSTOM1=2 in the game NARC but it didn't seem to do anything. Also tried CUSTOM1=1 for infinite energy but also didn't work.

I checked in WinUAE and it works fine.

sonninnos commented 1 year ago

It hasn't been touched in ages and it works fine here. For example I have custom1=1 in Settlers and it skips the intro. Also tried that game and I got infinite energy by using the script.

Also the Readme says the other cheat is CUSTOM2=1, not CUSTOM1=2.

zzedmore commented 1 year ago

That was a typo on my part. Still couldn't get the NARC ones to work. Settlers already has a splash screen option to skip the intro. I'll see if I can find a different game with tooltypes that aren't on the WHDLoad splashscreen.

sonninnos commented 1 year ago

In any case if the script can see and edit the custom option, I don't understand how it could not also be offered to the slave as designed.

zzedmore commented 1 year ago

That's weird, it doesn't seem to be working for me. I tried 'Pipe Mania' (CUSTOM1=1 to skip intro) didn't work. Also tried ECS 'Zool' (CUSTOM1=1 for CD32 pad). Oh well, not a big deal.

EDIT: Would it have anything to do with that 'sort saves in folders' thing again ? I need to go out now so can't test at the moment. Also, when a game has splash screen options and you enable one, should this be saved as enabled the next time you run it ? Because mine doesn't. This is what made me think of those saves in folders. Maybe it's not reading/checking their presence in the right place.

sonninnos commented 1 year ago

Like I said, if the script sees the custom file and edits it, nothing makes sense. If the save dir isn't working properly, the whole WHDLoad helper feature can't work at all.

Tried with another setup with save sorting enabled. Created a custom option via the script. File was created in WHDSaves, and it works.

The only way I can bypass the custom option is if I hold down fire button on start and select the info manually. Can't have both.

If I hold down either left or right mouse button to summon the WHDLoad menu, the custom option is pre-checked.

Have you edited the WHDLoad helper image in any way? Try deleting it.

zzedmore commented 1 year ago

I deleted all the folders in the save directory and the WHDLoad.prefs in the system directory for good measure (no saves worth saving at the moment). It now seems to work but only after I close content and restart the game.

So when you have the splash screen enabled (that has WHDLoad options before the game starts), if you enable some of them, are they supposed to be still on/save if you restart the game ?

sonninnos commented 1 year ago

Of course not. Those are only temporary. Custom file is permanent.

zzedmore commented 1 year ago

OK, sorry for wasting your time. I didnt know they were tempory. One last thing. How do you enter more that one thing in the mkCustom box ? For instance -

Custom1=1 Custom2=1

Or can you only have one ?

sonninnos commented 1 year ago

Simply use space. custom1=1 custom2=1

And here the custom settings work at the next run without closing content..