Native Mac Testing Build
Issue was an AVX instruction being emitted by the mipmap codegen for processors that don't support AVX, should be fixed in future builds

For now, disable mipmapping
Reply

Sponsored links

Hey there! Great work on this. I've been playing around with various Mac PS2 emulators (I'm on Catalina, with a 2020 MacBook Pro with 2.3GHz 8 core i9) and this definitely seems best. The old PROM sort of works, but it still has a lot of graphical issues.

After a lot of trial and error I managed to get God of War to play. It's crashed a couple of times (one time because I was fiddling with the graphics settings while the iso was open, so that's my fault, and another time the controller was not responding and it was stuck running Kratos into a wall, which was fixed on a reboot) but after setting the CRC Hack level to 'Aggressive' and turning off Mipmapping I managed to get all the visual assets to load.

Anyway, I'm mainly commenting because I'm not having any luck with save states. I've only played GoW to any reasonable length, but I have tested save states on the menu in other games (Xenosaga, Dragon Quest etc.) and it's the same. The save state is created with no issues, but it doesn't load. Here's the log:

> Selected savestate slot 0
Backing up existing state in slot 0.
Saving savestate to slot 0…
filename: /Users/MY-NAME/Library/Application Support/PCSX2/sstates/SCUS-97399 (D6385328).00.p2s
Saving SPU2
Saving GS
Saving PAD
(gzipThread) Data saved to disk without error.


Savestate is corrupt or incomplete!
Path: /Users/MY-NAME/Library/Application Support/PCSX2/sstates/SCUS-97399 (D6385328).00.p2s
(p) Savestate cannot be loaded: some required components were not found or are incomplete.(VM_UnzipFromDisk)

I've only changed the user directed from my actual name to 'MY-NAME', everything else is copied and pasted. I'm pretty new to all this, but I'm happy to test things out and provide feedback on certain games or settings. Any ideas what this particular issue is? If there's anything I can do to test just let me know!
Reply
I have confirmed the save state bug on the M1 Macs as well.

Code:
> Selected savestate slot 1
Loading savestate from slot 1...
    filename: /Users/stlouiscpht/Library/Application Support/PCSX2/sstates/SLPM-62362 (C4A60986).01.p2s
... not found 'USB.bin'!
Savestate is corrupt or incomplete!
Path: /Users/stlouiscpht/Library/Application Support/PCSX2/sstates/SLPM-62362 (C4A60986).01.p2s
(p) Savestate cannot be loaded: some required components were not found or are incomplete.(VM_UnzipFromDisk)
Reply
(03-06-2021, 08:16 PM)Pieford Wrote: Savestate is corrupt or incomplete!
Path: /Users/MY-NAME/Library/Application Support/PCSX2/sstates/SCUS-97399 (D6385328).00.p2s
(p) Savestate cannot be loaded: some required components were not found or are incomplete.(VM_UnzipFromDisk)

Will be fixed in the next release
Reply
Issue with the macOS 1.7 Dev 2021-03-05 build from GitHub

It's hard-coded to assume that the app is on the desktop when looking to load the plugins. App works on the desktop, doesn't when it's in any other location.

Edit: I should mention I was using the 64-bit build on Big Sur 11.2.2 (Intel)


Attached Files Thumbnail(s)
   
Reply
(02-22-2021, 10:40 AM)IJWPKH2 Wrote: Thanks for this! I was able to get it working. Now I don't need enjoyable open and mapped to the keyboard. Now I just need to figure out how to swap X and O and I can play the KH2 GOA mod!!! TellowKrinkle is a BOSS for figuring this out. I am so grateful for this. It is inspiring so much so that I want to learn a bit of coding in hopes of being helpful one day.

UPDATE: Wow, I was able to figure it out rather quickly. I went about this in the same way we currently need to replace the .dylib SDL2 file. For anyone who would like to know:

1. Download the mapping tool initially linked by TellowKrinkle
2. Download the official SDL2 .dmg RUNTIME library
3. Open the .dmg and you will see files and one folder (SDL2.frameworks)
4. With the gamepad tool, right click and select show package contents. Navigate to the frameworks folder.
5. Replace the SDL2 frameworks folder with the one from the RUNTIME download.
6. Open gamepad tool, and it should now recognize your controller.
7. Follow the steps laid out by TellowKrinkle in his initial post to configure your mapping (again, the initial swapping of the .dylib file in PCSX2 itself should be sufficient. I did what I described above in order to swap X and O).

SPECS: MacBook Pro 13
           Apple M1
           Big Sur 11.2.1

Hi, could you help out a little. I have a MBA 13 with M1. 
I have done steps 1-6, the tool recgonizes my wireless PS4 controller.
When I then create the strng in the controller tool, and paste the string to the onepad2.ini file I cannot get the controller to work.
This is my mapping string:

030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

I added a new line in the ini file like this, but it doesn't work.
SDL = 030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

Am I doing something wrong?
Reply
(03-09-2021, 06:39 PM)Cronus71 Wrote: Hi, could you help out a little. I have a MBA 13 with M1. 
I have done steps 1-6, the tool recgonizes my wireless PS4 controller.
When I then create the strng in the controller tool, and paste the string to the onepad2.ini file I cannot get the controller to work.
This is my mapping string:

030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

I added a new line in the ini file like this, but it doesn't work.
SDL = 030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

Am I doing something wrong?

Kind of. You need to update the libsdl2 file in the PCSX2 app to see your controller. The next version to be released will fix that & you shouldn't need to make a mapping for your ps4 controller to work (unless you want customized button layouts).
Reply
(03-07-2021, 06:09 PM)StLouisCPhT Wrote: I have confirmed the save state bug on the M1 Macs as well.

Code:
> Selected savestate slot 1
Loading savestate from slot 1...
    filename: /Users/stlouiscpht/Library/Application Support/PCSX2/sstates/SLPM-62362 (C4A60986).01.p2s
... not found 'USB.bin'!
Savestate is corrupt or incomplete!
Path: /Users/stlouiscpht/Library/Application Support/PCSX2/sstates/SLPM-62362 (C4A60986).01.p2s
(p) Savestate cannot be loaded: some required components were not found or are incomplete.(VM_UnzipFromDisk)

Sweet, thanks for your work big man! Much love from Scotland.
Reply
(03-09-2021, 06:39 PM)Cronus71 Wrote: Hi, could you help out a little. I have a MBA 13 with M1. 
I have done steps 1-6, the tool recgonizes my wireless PS4 controller.
When I then create the strng in the controller tool, and paste the string to the onepad2.ini file I cannot get the controller to work.
This is my mapping string:

030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

I added a new line in the ini file like this, but it doesn't work.
SDL = 030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

Am I doing something wrong?

I made my settings with "SDL2 Gamepad Tool".
Below is a partial excerpt of my file.
-----  
PAD 0:KEYSYM 0x77 = 2
SDL2 = 030000004c050000cc09000000010000,PS4 Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,x:b0,y:b3,platform:Mac OS X
-----
Reply
(03-09-2021, 06:39 PM)Cronus71 Wrote: Hi, could you help out a little. I have a MBA 13 with M1. 
I have done steps 1-6, the tool recgonizes my wireless PS4 controller.
When I then create the strng in the controller tool, and paste the string to the onepad2.ini file I cannot get the controller to work.
This is my mapping string:

030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

I added a new line in the ini file like this, but it doesn't work.
SDL = 030000004c050000cc09000000016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b15,

Am I doing something wrong?

These are the steps I took AFTER I had replaced the SDL2 .dylib file in PCSX2. You need to do that first. What I have outlined is something I did after in order to customize my mapping. A few ppl have asked me, so here are the initial steps to get it working.

The first thing you need to do is to get Homebrew in terminal. However, as terminal is native to the Mac, you need to open it under Rosetta 2. This allows any installations/downloads through terminal to be intel based (PCSX2 is intel based so it needs the proper replacements) To do this:
1. Go to your applications folder and locate terminal (may be in the utilities subfolder)
2. Right click and select 'get info'
3. In the panel that opens, check the option to 'open in Rosetta'
Terminal will now launch under Rossetta 2

Now you can install Homebrew. Copy this into terminal and hit enter: 
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebr...install.sh)"
Wait for it to install (may take a couple minutes), and it will complete on its own. Once done, run the command brew install SDL2 and SDL2 will install. 

Once that is done you need to locate two folders:
1. The frameworks folder of PCSX2 (This is done by right-clicking the PCSX2 app and selecting 'show package contents')
2. Look for "libSDL2-2.0.0.dylib".
3. The lib folder where SDL2 is located [Macintosh HD > usr > local > lib (you are looking for usr, not usEr. You may need to show hidden files and folders by hitting "cmd+shift+.")]
4. If installed correctly, there should be a "libSDL2-2.0.0.dylib" in this folder as well. Copy it and replace it with the one under PCSX2.


At this point, you can connect your controller naturally through bluetooth, and PCSX2 should pick it up.
Reply




Users browsing this thread: 1 Guest(s)