Jump to content

I Need Help With PKHeX for Macbook Pro M1


kinggkidd

Recommended Posts

On 1/19/2024 at 8:02 AM, CoolEggs said:

Looks like wine-stable just updated to version 9.0 - this seems to run the newest version of PKHeX perfectly! The days of older versions/wrappers are over haha

 

Edit: Well.. it seems to crash every time I hit "File", so maybe we continue with these other fixes for now..

I will try building a wrapper soon since wineskin is being updated to the latest version of wine

Link to comment
Share on other sites

  • 2 weeks later...
On 12/29/2022 at 1:26 AM, dtingley11222 said:

 I used wineskin to create an m1 port of pkhex. This one is a little bit outdated, so make sure to right click this application, click "Show Package Contents", drive_c, Program Files, and open the PKHeX folder. Replace the PKHeX.exe you find in there with the latest version of PKHeX. Enjoy :)

https://drive.google.com/file/d/1rbrx-LJG-Yx4kLWeNQn9Z7bboDDrdp2x/view?usp=sharing

Sometimes Mac OS will flag the app as unsafe or damaged. To get around this, open terminal and type "xattr -r -d com.apple.quarantine (drag pkhex.app here)" then hit enter. 

I tried the command in terminal and it gave me an error says drag pkhex here not found. what else do I need to do to run this? btw just need this to hack in rare candy for  some roms. 

Edited by Jedimystic
Link to comment
Share on other sites

On 1/19/2024 at 1:02 PM, CoolEggs said:

Looks like wine-stable just updated to version 9.0 - this seems to run the newest version of PKHeX perfectly! The days of older versions/wrappers are over haha

 

Edit: Well.. it seems to crash every time I hit "File", so maybe we continue with these other fixes for now..

I was having the same issue and got it fixed by changing the windows version to "Windows 7" using winecfg

  • Thanks 1
Link to comment
Share on other sites

22 minutes ago, Hau said:

I was having the same issue and got it fixed by changing the windows version to "Windows 7" using winecfg

Awesome, that just fixed it for me too! I never would've expected setting the windows version to an earlier version would fix this issue haha.

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
On 1/19/2024 at 9:02 AM, CoolEggs said:

Looks like wine-stable just updated to version 9.0 - this seems to run the newest version of PKHeX perfectly! The days of older versions/wrappers are over haha

 

Edit: Well.. it seems to crash every time I hit "File", so maybe we continue with these other fixes for now..

Edit 2: As Hau pointed out in a later post, if you set your windows version to Windows 7.0 in `winecfg`, then running the newest PKHeX works perfectly with wine-9.0!

I got the pkhex.exe file and the winestable 9.0 file as well, do I need anything else to run it?? I'm stuck I switch winestable to windows 7 through "winecfg", and when I go to open pkhex with winestable it does nothing

Edited by Kronnox
Link to comment
Share on other sites

On 3/18/2024 at 8:42 PM, Kronnox said:

I got the pkhex.exe file and the winestable 9.0 file as well, do I need anything else to run it?? I'm stuck I switch winestable to windows 7 through "winecfg", and when I go to open pkhex with winestable it does nothing

I can try and help - but first a few questions. What happens when you try and run it? How did you download wine-stable 9.0? Lastly, what OS are you using?

Link to comment
Share on other sites

On 3/25/2024 at 12:36 PM, CoolEggs said:

I can try and help - but first a few questions. What happens when you try and run it? How did you download wine-stable 9.0? Lastly, what OS are you using?

I hit run and it looks like it's loading but it never opens, I got wine through this link (https://github.com/Gcenx/macOS_Wine_builds/releases), and I'm running the latest OS (Sonoma 14.4.1)

 

Link to comment
Share on other sites

  • 3 weeks later...

i am having this problem but none of the solutions previously in chat worked for me what do i do? i use an m1 macbook pro with ventura 13.2.1 and the app has a circle with a cross on it and when i replaced the wineskin files partially with the originals, it just told me to download .net 8.0.4 and after i did it still didnt work.

Link to comment
Share on other sites

On 3/27/2024 at 1:26 PM, Kronnox said:

I hit run and it looks like it's loading but it never opens, I got wine through this link (https://github.com/Gcenx/macOS_Wine_builds/releases), and I'm running the latest OS (Sonoma 14.4.1)

 

Hmm... I would suggest using homebrew in the mac terminal (https://brew.sh/) and then run "brew install wine-stable" (without quotes). That way you wouldn't have to build anything from their github. After it installs, run "winecfg" and change the OS to use "Windows 7" (as that seems to fix the weird popup errors we had been getting so far).

You could also try the wrapper originally posted in this thread, I'm just unfamiliar with how those work.

Link to comment
Share on other sites

  • 1 month later...

So I've installed Wine Stable and .NET 7.0 Runtime. The .NET installer ran just fine and installed properly, but when I try to run PKHeX using the following command:

wine64 path/to/PKHeX.exe

the Terminal window hangs on the following message:

0024:fixme:system:SetThreadDpiHostingBehavior (1): stub

 

Link to comment
Share on other sites

5 minutes ago, Snaxolotl_71 said:

So I've installed Wine Stable and .NET 7.0 Runtime. The .NET installer ran just fine and installed properly, but when I try to run PKHeX using the following command:

wine64 path/to/PKHeX.exe

the Terminal window hangs on the following message:

0024:fixme:system:SetThreadDpiHostingBehavior (1): stub

 

Have you tried just using wine and not wine64? And did you set the appropriate wine configurations mentioned earlier in this thread?

Link to comment
Share on other sites

On 5/30/2024 at 5:05 PM, CoolEggs said:

Have you tried just using wine and not wine64? And did you set the appropriate wine configurations mentioned earlier in this thread?

After setting the OS to "Windows 7" in winecfg and using the following command:

wine path/to/PKHeX.exe

the Terminal window now hangs on the following message:

0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001005C19F0, 38) stub

 

Link to comment
Share on other sites

  • 2 weeks later...
On 6/1/2024 at 12:27 AM, Snaxolotl_71 said:

After setting the OS to "Windows 7" in winecfg and using the following command:

wine path/to/PKHeX.exe

the Terminal window now hangs on the following message:

0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001005C19F0, 38) stub

 

Admittedly I'm not sure what could be going wrong as I've basically used a fresh install of wine to do this so I haven't changed anything not listed here... what macOS are you using?

Link to comment
Share on other sites

  • 2 weeks later...
On 12/19/2023 at 4:26 PM, dtingley11222 said:

I'll work on it soon

Hi, so I'm on M1 Mac and the older version 2022_12_18 works perfectly, but whenever I try to add newer version of PKHeXs which are running on .NET 8. The application fails to launch. Are you still planning to make an update to this?

Link to comment
Share on other sites

On 6/9/2024 at 8:25 AM, CoolEggs said:

Admittedly I'm not sure what could be going wrong as I've basically used a fresh install of wine to do this so I haven't changed anything not listed here... what macOS are you using?

That's fair. I reinstalled Wine multiple times and still no dice. I'm on Sonoma 14.5

Link to comment
Share on other sites

4 minutes ago, Snaxolotl_71 said:

That's fair. I reinstalled Wine multiple times and still no dice. I'm on Sonoma 14.5

Okay, so I used brew to update wine and downloaded the latest version of both PKHeX and .NET and got this error:

Failed to create CoreCLR, HRESULT: 0x80070005
0024:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0024:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x000003ff,0000000000000000,0x0001,0x00000000,000000000019FDA0,0000000000000000): stub
0024:err:eventlog:ReportEventW L"Description: A .NET application failed.\n"
0024:err:eventlog:ReportEventW L"Application: PKHeX.exe\n"
0024:err:eventlog:ReportEventW L"Path: Z:\\Users\\j_wordington\\Downloads\\PKHeX.exe\n"
0024:err:eventlog:ReportEventW L"Message: Failed to create CoreCLR, HRESULT: 0x80070005\n"
0024:err:eventlog:ReportEventW L"\n"
0024:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub

So while an error is better than straight up freezing, this isn't much better. I've done some light research and it appears to be an issue with both PKHeX and .NET. Not much we can do about it

Link to comment
Share on other sites

  • 2 weeks later...
On 6/18/2024 at 4:49 PM, Snaxolotl_71 said:

Okay, so I used brew to update wine and downloaded the latest version of both PKHeX and .NET and got this error:

Failed to create CoreCLR, HRESULT: 0x80070005
0024:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0024:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x000003ff,0000000000000000,0x0001,0x00000000,000000000019FDA0,0000000000000000): stub
0024:err:eventlog:ReportEventW L"Description: A .NET application failed.\n"
0024:err:eventlog:ReportEventW L"Application: PKHeX.exe\n"
0024:err:eventlog:ReportEventW L"Path: Z:\\Users\\j_wordington\\Downloads\\PKHeX.exe\n"
0024:err:eventlog:ReportEventW L"Message: Failed to create CoreCLR, HRESULT: 0x80070005\n"
0024:err:eventlog:ReportEventW L"\n"
0024:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub

So while an error is better than straight up freezing, this isn't much better. I've done some light research and it appears to be an issue with both PKHeX and .NET. Not much we can do about it

Admittedly... I'm not sure what could be happening. I am also running the newest wine-stable from homebrew, the newest PKHeX, and the same macOS as you, and mine runs perfectly fine. I worry that I've downloaded something in the past that's allowing this to work without me knowing.. You may want to try the wrapper that someone else was working on in this thread? That or download the exe file for the older version of PKHeX that was able to run with an earlier version of wine.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...