firelad97 / PROM-PCSX2-Running-on-Mac

Run PCSX2 on 64-bit versions of Mac OS without any hassles, for Mojave and above.
50 stars 8 forks source link

XAudio2 enging and C++ errors at launch #7

Open mules50 opened 4 years ago

mules50 commented 4 years ago

I have followed all the instructions and have gotten PROM setup and running on my MBP 2018 running 10.15.5.

Whenever I go to launch a game though I get the following 2 error messages:

Screen Shot 2020-06-08 at 11 44 52 AM Screen Shot 2020-06-08 at 11 45 00 AM

When I click ok, PROM quits. What do these errors mean and how can I go about fixing them?

Gcenx commented 4 years ago

This looks to be the runtime issue within the current Wineskin wrapper, the next release shouldn’t have this issue when used with a compatible Engine build namely WS11WineCX19.0.1-1 & WS11WineCX64Bit19.0.1-1

mules50 commented 4 years ago

This looks to be the runtime issue within the current Wineskin wrapper, the next release shouldn’t have this issue when used with a compatible Engine build namely WS11WineCX19.0.1-1 & WS11WineCX64Bit19.0.1-1

Awesome! Is there an ETA of when the new version is going to be released?

brianmcdz commented 4 years ago

Just following up on the above. I had to reinstall PROM after some corruption and am now running into this issue as well.

Gcenx commented 4 years ago

@mules50 the release is currently being tested by myself and PaulTheTall (PortingKit), hoping the last reanimating issues were resolved with the build I just finished.

@brianmcdz the XAudio issue could just be the runtime (haven’t checked)\ The C++ issue would be resolved by installing the required c++ runtime using winetricks not the emulators installer

Red1860 commented 4 years ago

Screenshot 2020-06-16 at 2 51 05 AM Getting This Error.

PabloUgalde commented 4 years ago

Same problem, sadly I dont know whats is missing in order to fix/install it

brianmcdz commented 4 years ago

In the interim, I went back to PCSX2 1.4.0 and PROM 1.0.1 that work for me as a combo.

mules50 commented 4 years ago

In the interim, I went back to PCSX2 1.4.0 and PROM 1.0.1 that work for me as a combo.

Awesome, I will try downloading PROM 1.0.1 and PCSX2 1.4.0

PabloUgalde commented 4 years ago

Downloaded 1.0.1 but i am unable to open the file. It says that is damaged. It was quite troublesome to download it from MEGA (took me 3 days haha)

PabloUgalde commented 4 years ago

Cant make 1.0.1 on Catalina. Hope it get fix in the next uodate. Thanks

Gcenx commented 4 years ago

@PabloUgalde i forked the project here and rebuilt it with some expanded instructions on the README

Also PROM isn’t really damaged that’s just how macOS handles unsigned binaries that are also downloaded using a third party browser

https://github.com/Gcenx/PROM-PCSX2-Running-on-Mac

cbotman commented 4 years ago

I was getting the same two errors (2017 MB Pro, OS 10.15.4). Changing the audio output settings (Config > Audio (SPU2) > Plugin Settings...) in PCSX2 made the XAudio2 error go away, but not the C++ error. I'm not sure if this will be the 'correct' audio setting, as can't test it yet. :)

Screen Shot 2020-06-25 at 11 06 42 am
sjaykub commented 4 years ago

I have this problem too. Weird thing is when I put renderer on gs video plugin on null, game works with black screen. Maybe this might help developers what the problem is. My spec is mac pro mid 2012, catalina 10.15.5, processor: 2.5 GHz Dual-Core Intel Core i5, memory 8 GB 1600 MHz DDR3, graphics Intel HD Graphics 4000 1536 MB. Games that I want to play are playable when I checked with compatibility on pcsx2. Hope my spec isnt the issue.

sjaykub commented 4 years ago

@mules50 the release is currently being tested by myself and PaulTheTall (PortingKit), hoping the last reanimating issues were resolved with the build I just finished.

@brianmcdz the XAudio issue could just be the runtime (haven’t checked) The C++ issue would be resolved by installing the required c++ runtime using winetricks not the emulators installer

Ah I cant wait till the new version solves this problem..

Gcenx commented 4 years ago

@sjaykub if you check my other reply I linked to a forked version of this project were I’ve rebuilt it and included additional instructions

sjaykub commented 4 years ago

@Gcenx No, still no luck. I downloaded thru safari and followed your instruction but still c++ Runtime error

sjaykub commented 4 years ago

@Gcenx Or is it that I have to download PROM you recently edited. I didnt know how to do it so I downloaded from firedlad97's.

Gcenx commented 4 years ago

@sjaykub you need to download the copy from my fork, ignore “releases” section on the form as it will mirror this one.

sjaykub commented 4 years ago

@Gcenx , I know if I clixk here button under your instructuon, I get jumped to firelad97's. If it is not under release where can I get a copy you edited? It is not the beta version under firelad97's though right? I tried that one too.

Red1860 commented 4 years ago

@Gcenx I am getting no executable found error.

Gcenx commented 4 years ago

@Rohan200220 did you grant permissions when requested, if you don’t it won’t be able to access anything within ~/

Red1860 commented 4 years ago

@Gcenx What permissions?

sjaykub commented 4 years ago

Meanwhile can anybody tell me how to download from Gcenx's fork?

Gcenx commented 4 years ago

@Rohan200220 macOS Catalina has additional restrictions now on user directories and additional permissions are required to access these.

When attempting to install something from Downloads you should have received a prompt requesting permissions to access your download directory

sjaykub commented 4 years ago

@gcenx it doesnt even ask for permission, it goes straight to no executable found error.

sjaykub commented 4 years ago

OMG I am not giving up here. I gonna play pcsx2 with my mac someday!!!

sjaykub commented 4 years ago

I just need to play FIFA 2005 with my shitty mac and it even has a spec for it. I just need to get over this one step of c++ error. SMH

Red1860 commented 4 years ago

@Gcenx Thanks! Your Fork works! But one problem, i loaded god of war 2, it gave me the ps2 intro screen and then a black screen, and thats it

Gcenx commented 4 years ago

@Rohan200220 let me guess you used 1.6?, use 1.4 with the DirectX9 graphics plugin.

I did read a guide that says you can use the DirectX9 plugin on 1.6 but I didn’t try as my Mac is trash

Red1860 commented 4 years ago

@Gcenx alright, i’ll try pcsx2 1.4.

sjaykub commented 4 years ago

@Rohan200220 how did the fork work? The program didnt even ask me about permission. How did you do it?

Red1860 commented 4 years ago

@sjaykub put the pscx2.exe in the c drive on PROM

Gcenx commented 4 years ago

Extracting the portable version of PCSX2 exe into the wrapper is a workaround for installing, this won’t resolve the additional permission requirements for loading the PS2 Roms later.

If the wrapper doesn’t request permissions at all this could indicate ether the wrapper still had the quarantine mark and/or a corrupted tccd database it’s unfortunately common on macOS Catalina.

The two workarounds are doing a complete reset of your users tccd database or having SIP disabled.

If these options don’t sound like something anyone wants to deal with (having a corrupted tccd database is bad) then all files could be place within the wrapper, just ensure the wrapper is placed within your users Applications directory and not within the shared /Applications directly

Red1860 commented 4 years ago

@Gcenx Thanks a lot!! 1.4 Works! Now i can play god of war in full speed on my mac! :)

PabloUgalde commented 4 years ago

@Gcenx Tried your fork. put it on the application folder, open the app, tried to install the 1.4 version of PCSX2 and i got this message image did the same with 1.6 and it didnt work either. Stupid macOS, so frustating

Gcenx commented 4 years ago

@PabloUgalde

Extracting the portable version of PCSX2 exe into the wrapper is a workaround for installing, this won’t resolve the additional permission requirements for loading the PS2 Roms later.

If the wrapper doesn’t request permissions at all this could indicate ether the wrapper still had the quarantine mark and/or a corrupted tccd database it’s unfortunately common on macOS Catalina.

The two workarounds are doing a complete reset of your users tccd database or having SIP disabled.

If these options don’t sound like something anyone wants to deal with (having a corrupted tccd database is bad) then all files could be place within the wrapper, just ensure the wrapper is placed within your users Applications directory and not within the shared /Applications directly

~/Applications is where the wrapper should be placed aka /Users/(your_name)/Applications/

If the wrapper didn’t request permission to access to Downloads then you have a corrupted tccd database as explain above.

Ether correct your tccd database being corrupted or use one of the workarounds mentioned the above quote of my prior comment.

PabloUgalde commented 4 years ago

So i got it to work, finally. what i did was: Downloaded @Gcenx fork Moved PROM.app to Applications Copied PCSX2 installer into c drive folder inside PROM.app Open PROM.app, went to Advance Settings and selected the instaler as the EXE target Test Run Installed the emulator. After the install i change the EXE target to PCSX2.exe and Voila!, it worked.

Now the performance is awful. My mac is a 2017 macbook pro 2.3GHz, 2 cores with 8GB RAM. I don´t know why MGS2 run so slow. It runs worse than in an Intel Celkeron 1.6GHz with 4GB RAM. I am going to play with the setting if I can improve performance. Thanks to everyone involved

Gcenx commented 4 years ago

@PabloUgalde you could have opted to just use the portable version and skipped the installer as I’ve preinstalled the needed runtimes.

I’d be concerned that your tccd database being corrupted, I forked someone’s script https://gist.github.com/Gcenx/668befa146e2d1668d232a589b983f2e that’s what myself and PaulTheTall have used to rest our tccd database after this and the quarantine/translocation flags removed any wrappers we created requested the required permissions correctly.

PabloUgalde commented 4 years ago

@Gcenx I ran tccutil tcc-reset.py and I got tccutil: Usage: tccutil reset SERVICE [BUNDLE_ID] Is that OK? I got lost on that last step. I installed 1.6 version and I cant configue anything, it cant overwrite the config files

Gcenx commented 4 years ago

@PabloUgalde you don’t use it in that manner it’s a python script, you download it and make executable then run it directly and it will reset all the listed items.

PabloUgalde commented 4 years ago

chmod 744 tcc-reset.py then tcc-reset.py? if that is what i need to do, it doesnt work haha

PabloUgalde commented 4 years ago

Nevermind. I did python tcc-reset.py and it ran