Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Integrate libVitaMTP to eliminate the need of QCMA #1

Closed
noahc3 opened this issue Jul 2, 2018 · 7 comments
Closed

Integrate libVitaMTP to eliminate the need of QCMA #1

noahc3 opened this issue Jul 2, 2018 · 7 comments
Labels
1. high priority Should get this done ASAP 4. help wanted Need someone else to help deal with this 5. enhancement New feature or request

Comments

@noahc3
Copy link
Owner

noahc3 commented Jul 2, 2018

I don't know C, so if anyone would be willing to help integrate libVitaMTP to make this application an all-in-one solution, please do!

@noahc3 noahc3 added 5. enhancement New feature or request 4. help wanted Need someone else to help deal with this labels Jul 2, 2018
@noahc3
Copy link
Owner Author

noahc3 commented Jul 3, 2018

To get this done, we either need a command line CMA tool like yifanlu's OpenCMA (OpenCMA needs an updated libvitaMTP to work with newer vita firmwares), or a C# wrapper for the libVitaMTP dll. I'm not sure how to go about writing the wrapper, and I can't update OpenCMA because I don't know C. Any help with this would be appreciated!

@noahc3 noahc3 added the 1. high priority Should get this done ASAP label Jul 4, 2018
@yoshi314
Copy link

yoshi314 commented Jul 4, 2018

isn't that just the case of building opencma against newer libvitamtp ?

@noahc3
Copy link
Owner Author

noahc3 commented Jul 4, 2018

Maybe, but I haven't had luck getting libvitamtp to compile for Windows at all.

noahc3 pushed a commit that referenced this issue Jul 4, 2018
@ShroomKing
Copy link

ShroomKing commented Jul 6, 2018

I have libvitamtp working on windows, and made a program that should transfer h-encore automatically when running the exe. But i can't connect the vita to it cuz it tells me to "Update Content Manager Assistant on your PC"

CORRECTION: by "should transfer h-encore automatically" i actually meant it should detect the h-encore app automatically when it's in the same folder as the exe, you still need to use cma on your vita to transfer the app to it.

So it seems like, unless someone updates the protocols libvitamtp is using, we won't be able to do this.
Also i'm not familiar with the qcma source code, but we might(or might not, i dunno yet) be able to use their protocols for libvitamtp, but i'm gonna have to research that when i have time.

As for compiling on windows, the makefiles that get created with mingw64/32 are a damn mess. they don't actually link winsock2, hence linking errors.

@noahc3
Copy link
Owner Author

noahc3 commented Jul 6, 2018

You need to use codestations libvitamtp fork which works with latest firmwares. It does not include openCMA, however, so I need some other method to integrate it. Also I had to manually pass in the mingw32 compiler into configure to make it find the winsock2 library correctly.

Apparently codestation had compilation scripts for Windows using MSVC, but lost them.

EDIT: Note that I still can't build this version, something about missing linker files. I sort of understand the problem but am unsure how to fix it and Google isn't very helpful.

@noahc3 noahc3 closed this as completed Jul 6, 2018
@noahc3 noahc3 reopened this Jul 6, 2018
@noahc3
Copy link
Owner Author

noahc3 commented Jul 7, 2018

I've decided to just integrate QCMA itself into the app like the other tools. It will be a lot easier than getting libvitamtp working, and will still be just as silent/automated.

@noahc3
Copy link
Owner Author

noahc3 commented Jul 8, 2018

QCMA full integration and automation complete in commit 1c1a81a.

@noahc3 noahc3 closed this as completed Jul 8, 2018
noahc3 pushed a commit that referenced this issue Jul 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1. high priority Should get this done ASAP 4. help wanted Need someone else to help deal with this 5. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants