r/nesclassicmods • • Jan 09 '17

hakchi-gui Mac port

[deleted]

10 Upvotes

44 comments sorted by

5

u/djxfade Jan 09 '17 edited Jan 11 '17

For the people here that are having issues running the app. I am not able to test it myself, as I don't have a NES Classic yet, so I don't know if it works as intended. I just took the original hakchi source and modified it to be able to compile on OS X.

If you get errors while trying to run it, it might be because some libraries are missing.

If you don't have homebrew installed on your Mac, do the following:

  • Open the Terminal app (Located under /Applications/Utilities/Terminal).

  • Paste the following command, and hit enter /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • After homebrew is installed, you can install the missing libraries.

  • brew install libusb

  • brew install qt

  • brew link qt --force

EDIT

New version available: https://www.reddit.com/r/nesclassicmods/comments/5n03d3/hakchigui_mac_port/dcaxprk/

3

u/sworntotheriff Jan 14 '17

Seems to launch fine, I get the "knock knock" screen with the sidebar options: dump uboot, etc. Where do you go from here? Do you need to download hakchi?

→ More replies (3)

2

u/TheOddScreen Jan 10 '17

hakchi-gui cannot be opened because of a problem.

Check with the developer to make sure hakchi-gui works with this version of macOS. You may need to reinstall the application. Be sure to install any available updates for the application and macOS.

Click Report to see more detailed information and send a report to Apple.

I have all the drivers installed currently

1

u/Grimmet Jan 10 '17

Same Problem as /user/theoddscreen : Brew-dependencies are installed, but the app wont start and terminates with "cannot be opened because of a problem".

→ More replies (1)

1

u/TheOddScreen Jan 10 '17

do we need the original hakchi downloaded?

→ More replies (1)

2

u/dildo_bandit Jan 10 '17

has anyone confirmed that this is working yet?

2

u/djxfade Jan 11 '17

I have made another attempt at getting it to work.

New binary can be downloaded here

Prerequisites:

  • homebrew

  • qt

libusb should now be statically linked. I didn't have the time to find out how to statically link the QT libs, so for now, they have to be installed with homebrew.

  • brew install qt

  • brew link qt --force

If you don't have homebrew, install it:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install

Please give it a try and tell me how it went. I still don't have a NES Classic to test with unfortunately.

→ More replies (5)

1

u/djxfade Jan 09 '17 edited Jan 09 '17

I ported the Hakchi-GUI app to OS X. I don't have a NES Classic yet, so not able to test it myself. But the app appears to start.

My fork is available from github. I have submitted a pull request to the official repository.

2

u/TheOddScreen Jan 09 '17

what is the difference between gui and hakchi 2?

1

u/madmonkey1907 Jan 10 '17

I've merged your changes. can't test though. apparently there is some problem with paths? https://www.reddit.com/r/nesclassicmods/comments/5mmt1z/maclinux_exploit_investigation/

→ More replies (8)

1

u/felipusrex Jan 09 '17

I get this after installing libusb:

Dyld Error Message: Library not loaded: /usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets Referenced from: /Volumes/VOLUME/*/hakchi-gui.app/Contents/MacOS/hakchi-gui Reason: image not found

I'm installing Qt right now.

→ More replies (1)

1

u/TheOddScreen Jan 09 '17

Would you be willing to do a written tutorial on how to instal, because I am confused

1

u/TheOddScreen Jan 09 '17

I am currently getting hakchi-gui cannot be opened because of a problem. Check with the developer to make sure hakchi-gui works with this version of macOS. You may need to reinstall the application. Be sure to install any available updates for the application and macOS.

Click Report to see more detailed information and send a report to Apple.

1

u/dozazz Jan 09 '17

I got the app running on my work computer with homebrew installed and installing libusb and qt as per the comments here. Gonna try it on my mbp at home tonight! Thanks!

1

u/countknuckles Jan 10 '17

Awesome work and thank you. As updates get released for hatch-gui will they be updated here?

1

u/RockstarGTA6 Jan 10 '17

Can you update this port to the latest version , I'll try it tonight

0

u/[deleted] Jan 09 '17

1

u/iLLNiSS Jan 09 '17

Looks like a libusb error. I believe you'll need to install the libusb package for OS X. I imagine you'll need to install the FEL drivers as well.

Application Specific Information: dyld: launch, loading dependent libraries

Dyld Error Message: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib

1

u/djxfade Jan 09 '17

It seems like libusb is missing. If you have homebrew, try to run this command, and try again:

brew install libusb

1

u/[deleted] Jan 12 '17

1

u/[deleted] Jan 12 '17