Hi Im here to show how to fix your issue. I hope this will help you and as well help others
you don't need give a command for --fullscreen or hide the --gui with the new ps2 emulators.
also you dont need to add batch anymore because new ps 2 emulator you can create your own custom settings per games.
in the argument just leave as "[romfilename]" and you don't need add the --fullscreen or --gui "that is for the old ps2 emulator version 1.6.0"
Now before you launch your game threw Attract Mode be sure to go to your ps2 emulator its self and pick a game you want to play and press "ESC Key" this will bring a "Submenu Pause Screen" Now look at the button left of your screen and you will see the "setting" once your their make sure you follow the setting I show you on this images
Here is my arg setup to give you an idea how I got my set up
executable D:\hyperpie2_32\RetroArch\Emulators\Sony Playstation 2\pcsx2-qt.exe
args "[romfilename]"
rompath D:\hyperpie2_32\RetroArch\Emulators\Sony Playstation 2\roms
romext .iso;.bin;.mdf;.img
system Sony Playstation 2
exit_hotkey Escape
artwork boxart D:\hyperpie2_32\RetroArch\Emulators\Sony Playstation 2\boxart
artwork cartart D:\hyperpie2_32\RetroArch\Emulators\Sony Playstation 2\cartart
artwork snap D:\hyperpie2_32\RetroArch\Emulators\Sony Playstation 2\snap
artwork wheel D:\hyperpie2_32\RetroArch\Emulators\Sony Playstation 2\wheel
once your done make sure you Completely Close your Emulator.
after all set and done you can look at my video here to show how its works for my Attract Mode
this how its look when you launch it
https://www.youtube.com/watch?v=k1B9u0BKxGw