Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clovershell-client for linux #32

Closed
timehlers opened this issue Oct 20, 2017 · 5 comments
Closed

clovershell-client for linux #32

timehlers opened this issue Oct 20, 2017 · 5 comments

Comments

@timehlers
Copy link

timehlers commented Oct 20, 2017

Hi,

I'd like to ask if anyone, maybe you @madmonkey1907 :), is willing to port the clovershell-client. I actually don't completely understand the situation, so I don't really get how generally people using "hakchi" put files on the NES/SNES, since in FEL mode you don't have access to the filesystems. What I do understand is, that hakchi2 is using a daemon "clovershell-daemon" on the NES/SNES side and the client on the windows (.NET 3.5) side. The problem is, that not only hakchi2 itself is using in mono unimplemented functions, so that mono+hachi2 is not working (Does not work in wine), but also the simple clovershell-client does not work on linux mono.

I have tried to debug this today. There is one issue for mono unfixed: Fixed object disposed exception in mono. But updating this, does not fix the problem. The first USB-write is working (I see the request in usbmon in a tcpdump), but then everything hangs, also read does not go through.

I am a bit stuck now. It would be nice to have shell/filetransfer to NES/SNES from a linux system.

Best

Tim

@isage
Copy link

isage commented Oct 22, 2017

See #31
ssh/ftp or mass storage would be easier and more crossplatform to use.
And would't require porting

@timehlers
Copy link
Author

You are absolutely right, only that there is already a complete implementation on server side and (only on linux non-working) client. This client includes a working ftp/telnet implementation. We just need to port the client or find the problem on mono.

Of course it would be nice to have a native solution, but another advantage to use at least the server part from hakchi2 is, that there is not too much of redundant, dual world evolution on this tool.

BTW: I still did not get how one exchanges data with hakchi (without hakchi2). Do I need to dump whole flash, mount loopback and flash everything back?

@madmonkey1907
Copy link
Owner

madmonkey1907 commented Oct 25, 2017

Sorry, I won't work on clovershell client. I suspect there is probably easier way to do it with socat. g_ether will probably work nicely as well.
You don't need to dump anything except key-file. As for copying, I posted some rudimentary tutorial on how to do it way back then, it should still be relevant. Should be possible to find with google. Typing from the phone, maybe will link later.

@timehlers
Copy link
Author

Hi,

ok, I understand. If you see another solution, like g_ether or socat to be the better way, I would also be happy. Since I did not find any tutorial (I always find dump tutorials for hakchi2 when searching on google), I would appreciate to get a link. Maybe you could also put this tutorial in the README.md for others?

Thanks!

@madmonkey1907
Copy link
Owner

https://github.com/DanTheMan827-Hakchi/rndis.hmod
ssh works with it. there is a problem with linux when rndis crashes, but it works after several retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants