dtingley11222 Posted February 6, 2024 Posted February 6, 2024 On 1/19/2024 at 4: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.. Expand I will try building a wrapper soon since wineskin is being updated to the latest version of wine
dtingley11222 Posted February 6, 2024 Posted February 6, 2024 On 1/21/2024 at 1:13 PM, Wheeler said: might not help but i would suggest just getting bootcamp if you can Expand Bootcamp is kinda janky, I would just use a hypervisor like UTM.
Jedimystic Posted February 17, 2024 Posted February 17, 2024 (edited) On 12/29/2022 at 9: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. Expand 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 February 17, 2024 by Jedimystic
jorbgamer Posted February 19, 2024 Posted February 19, 2024 On 2/6/2024 at 8:58 AM, dtingley11222 said: Bootcamp is kinda janky, I would just use a hypervisor like UTM. Expand Did you ever get around to building a new wrapper?
Hau Posted February 23, 2024 Posted February 23, 2024 On 1/19/2024 at 4: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.. Expand I was having the same issue and got it fixed by changing the windows version to "Windows 7" using winecfg 1
CoolEggs Posted February 23, 2024 Posted February 23, 2024 On 2/23/2024 at 6:36 PM, Hau said: I was having the same issue and got it fixed by changing the windows version to "Windows 7" using winecfg Expand 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. 1
smhfrrn Posted March 6, 2024 Posted March 6, 2024 Early 2020 Intel Mac. At other times I can let it run for hours without any problem though. This thread really helped a lot.
Kronnox Posted March 19, 2024 Posted March 19, 2024 (edited) On 1/19/2024 at 4: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.. 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! Expand 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 March 19, 2024 by Kronnox
CoolEggs Posted March 25, 2024 Posted March 25, 2024 On 3/19/2024 at 1:42 AM, 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 Expand 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?
Kronnox Posted March 27, 2024 Posted March 27, 2024 On 3/25/2024 at 6: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? Expand 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)
Ace Playz Posted April 12, 2024 Posted April 12, 2024 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.
CoolEggs Posted April 17, 2024 Posted April 17, 2024 On 3/27/2024 at 6: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) Expand 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.
Snaxolotl_71 Posted May 30, 2024 Posted May 30, 2024 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
CoolEggs Posted May 30, 2024 Posted May 30, 2024 On 5/30/2024 at 10:59 PM, 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 Expand Have you tried just using wine and not wine64? And did you set the appropriate wine configurations mentioned earlier in this thread?
Snaxolotl_71 Posted June 1, 2024 Posted June 1, 2024 On 5/30/2024 at 11: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? Expand 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
CoolEggs Posted June 9, 2024 Posted June 9, 2024 On 6/1/2024 at 5: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 Expand 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?
SaPokeRoom Posted June 18, 2024 Posted June 18, 2024 On 12/19/2023 at 10:26 PM, dtingley11222 said: I'll work on it soon Expand 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?
Snaxolotl_71 Posted June 18, 2024 Posted June 18, 2024 On 6/9/2024 at 2:25 PM, 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? Expand That's fair. I reinstalled Wine multiple times and still no dice. I'm on Sonoma 14.5
Snaxolotl_71 Posted June 18, 2024 Posted June 18, 2024 On 6/18/2024 at 9:38 PM, Snaxolotl_71 said: That's fair. I reinstalled Wine multiple times and still no dice. I'm on Sonoma 14.5 Expand 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
CoolEggs Posted June 28, 2024 Posted June 28, 2024 On 6/18/2024 at 9: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 Expand 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.
Mew3 Posted December 8, 2024 Posted December 8, 2024 I downloaded the file from drive, duplictaed the package contents onto another folder and converted the folder into an .app. It no longer flags it as tampered with, but it just doesn't open, and I cannot proceed. Any suggestions? On 12/29/2022 at 9: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. Expand
dtingley11222 Posted February 26 Posted February 26 On 12/8/2024 at 4:35 PM, Mew3 said: I downloaded the file from drive, duplictaed the package contents onto another folder and converted the folder into an .app. It no longer flags it as tampered with, but it just doesn't open, and I cannot proceed. Any suggestions? Expand I will try rebuilding another app later on tonight.
dtingley11222 Posted February 26 Posted February 26 seems like downloading the latest wine from https://github.com/Gcenx/macOS_Wine_builds/releases works just fine. I used the Wine-Devel release, installed .NET 9 and ran `wine` in terminal. I tried using wineskin to make a portable app for people to use but that kept crashing. 1
NewHobby Posted February 28 Posted February 28 Thanks to @dtingley11222 being kind enough to help me in DMs, I figured I should share his explanation here too. Worked for me first try without any headaches on my M1 Pro: Quote All you have to do is download the wine zip [wine-devel-10.0-osx64.tar.xz] from github (https://github.com/Gcenx/macOS_Wine_builds/releases) and then double click to open it, After that, just run `wine (drag pkhex.exe into the window)` and it will ask to download .NET. After it downloads .NET, run `wine (drag .NET exe into the window)` and then press install when it opens. After it's finished installing, run `wine (drag pkhex.exe into the window)` and then hit enter. PKHeX should open and run normally, and from now on all you need to run is `wine (drag pkhex.exe into the window)` in the terminal Expand The Cherry On Top What I chose to do, and what I think others might be interested in too, is an app icon that runs this command for you. Using Apple Shortcuts this can be done very easily, and it will even show in Spotlight search. 1) Grab my PKHeX shortcut that leverages a custom launch command: (https://www.icloud.com/shortcuts/2de8268a0547420c86e2c51ca5bea82b) and add it to your library. Follow the setup instructions to add your file paths. File paths can be easily grabbed by right clicking the app/exe, holding the Option key, and choosing "Copy ___ as Pathname". 2) Once added to your Shortcuts library, right click and choose "Add to Dock". Optional, change the icon: 3) Remove it from your dock then locate it in your User > Applications folder. 4) Right click and select "Get Info". You can now drag any image onto the icon at the top left of the window to replace it. 5) Done! You can now run PKHeX on your M-Series Mac by running this "app". The icon can be moved anywhere, or even put back into your dock. Hope someone finds this useful! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now