Advertising (This ad goes away for registered users. You can Login or Register)

Qcma - Crossplatform content manager for the PSVita

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Locked
fate6
Big Beholder
Posts: 7599
Joined: Fri Mar 09, 2012 1:18 am
Location: [fate6@Canterlot ~]$

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by fate6 »

Might also want to add a toggle in the settings
Advertising
Image
anon wrote:If you can't trust a 600 year old vampire in a prepubescent girl's body, who can you trust?
The Z
VIP
Posts: 5505
Joined: Thu Jan 27, 2011 4:26 pm
Location: Deutschland
Contact:

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by The Z »

codestation wrote:
TheDevilItSelf! wrote:i was wondering if we can get and automatically start
program when windows starts option for the next release.
OK, i will add a checkbox to the end of the installer so you can set qcma to run at windows startup.
While you are at it, can you "un-grey" the "automatically refresh database" checkbox, if it is working in thr first place?
Advertising
White PSV TV - 32GB - 3.65 CFW
White PSV 1000 - 32GB - 3.65 CFW
2x PSV 2000 - 32/64GB - 3.65 CFW
PSP Fat 1000 - TA-081 - 6.61 ME-2.3
PSP Slim 2000 - TA-085¹ - 6.61 ME-2.3
4x PSPgo & 1x PSP 3kº⁴ᶢ - 6.61 LME-2.3∞
Xian Nox
Retired Mod
Posts: 2744
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by Xian Nox »

TheDevilItSelf! wrote:i was wondering if we can get and automatically start
program when windows starts option for the next release.
Until the next release comes up though, you can place a shortcut to qcma in Start Menu/Startup. Anything placed there is booted on Windows launch (unless they've changed that behaviour since 98 and XP).
The Z wrote:While you are at it, can you "un-grey" the "automatically refresh database" checkbox, if it is working in thr first place?
That refers to monitoring for changes and updating the database, not the sqlite database backend, which is already done. (If I understood the changelogs correctly, that is.)
From what I see, QFileSystemWatcher is still a mess even in Qt5.2. Not sure how codestation is thinking of implementing this feature. Correction: is a mess on *BSD and OSX 10.4, others should be okay. Proabably have the option disabled by default on those systems.
Last edited by Xian Nox on Fri May 09, 2014 4:24 am, edited 1 time in total.
The Z
VIP
Posts: 5505
Joined: Thu Jan 27, 2011 4:26 pm
Location: Deutschland
Contact:

QCMA - Cross-platform content manager for the PSVita (0.3.2)

Post by The Z »

The path for adding shortcuts to autostart is the following:

C:\Users\"Your Username"\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

At least at my Win7 OS.


Edit: The thread is 47 pages long, and the readme/FAQ did not cover this, so I will just ask.

How does one manually update the firmware via QCMA? Simply putting the psp2-updatelist.xml inside of the QCMA-Update folder does not work, the Vita shows an error.
White PSV TV - 32GB - 3.65 CFW
White PSV 1000 - 32GB - 3.65 CFW
2x PSV 2000 - 32/64GB - 3.65 CFW
PSP Fat 1000 - TA-081 - 6.61 ME-2.3
PSP Slim 2000 - TA-085¹ - 6.61 ME-2.3
4x PSPgo & 1x PSP 3kº⁴ᶢ - 6.61 LME-2.3∞
Xian Nox
Retired Mod
Posts: 2744
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by Xian Nox »

The Z wrote:How does one manually update the firmware via QCMA? Simply putting the psp2-updatelist.xml inside of the QCMA-Update folder does not work, the Vita shows an error.
If qcma is running in offline mode, it will use the internal psp2-updatelist.xml (you can see it here: https://github.com/codestation/qcma/blo ... telist.xml)
If it's running in online mode, it will attempt to retrieve the Sony psp2-updatelist.xml.
The Z
VIP
Posts: 5505
Joined: Thu Jan 27, 2011 4:26 pm
Location: Deutschland
Contact:

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by The Z »

This still does not answer my question if/where I have to put my local xml file, to decide what to download.
White PSV TV - 32GB - 3.65 CFW
White PSV 1000 - 32GB - 3.65 CFW
2x PSV 2000 - 32/64GB - 3.65 CFW
PSP Fat 1000 - TA-081 - 6.61 ME-2.3
PSP Slim 2000 - TA-085¹ - 6.61 ME-2.3
4x PSPgo & 1x PSP 3kº⁴ᶢ - 6.61 LME-2.3∞
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by codestation »

Xian Nox wrote:
The Z wrote: While you are at it, can you "un-grey" the "automatically refresh database" checkbox, if it is working in thr first place?
That refers to monitoring for changes and updating the database, not the sqlite database backend, which is already done. (If I understood the changelogs correctly, that is.)
From what I see, QFileSystemWatcher is still a mess even in Qt5.2. Not sure how codestation is thinking of implementing this feature. Correction: is a mess on *BSD and OSX 10.4, others should be okay. Proabably have the option disabled by default on those systems.
The database backend is almost done, i just have to find a way to implement the music listing per genre/author/album correctly (and photos per month). About file monitoring, QFileSystemWatcher seems limited since i have to add every subdirectory of the category to the filter. I will give a try to this api to see if it works to my needs.
The Z wrote:This still does not answer my question if/where I have to put my local xml file, to decide what to download.
- Offline mode enabled (priority): file in update folder > embedded xml with version 0.0.0
- Online mode enabled (priority): file in update folder > internet.

So to make an update to a specific version just put the xml + pup file in the update folder, qcma will do the rest when the vita requests an update via usb.
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
Xian Nox
Retired Mod
Posts: 2744
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by Xian Nox »

codestation wrote:The database backend is almost done, i just have to find a way to implement the music listing per genre/author/album correctly (and photos per month).
Filtering photos per month? D-does anyone even do such a thing? o.O
codestation wrote:- Offline mode enabled (priority): file in update folder > embedded xml with version 0.0.0
- Online mode enabled (priority): file in update folder > internet.

So to make an update to a specific version just put the xml + pup file in the update folder, qcma will do the rest when the vita requests an update via usb.
Huh, didn't know that. Entry tagged. Categorized. Recorded.
Also, about the random python scripts, generalized them a bit further and pushed them here.
The Z
VIP
Posts: 5505
Joined: Thu Jan 27, 2011 4:26 pm
Location: Deutschland
Contact:

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by The Z »

So I can not specify that it should download the files from a server (instead of the PCs HDD) and the firmware that should be displayed at the PS Vita (e.g. version 1.234), like it is possible via OpenCMA?

Nevermind, got it.

Ive used this file (replaced 0.00 with 3.16, and I got this xD). Additionally, Ive placed the (release) .PUP file next to the XML file and now it works.

A bit weird, but okay.

[spoiler]

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<update_data_list>
<region id="au">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="eu">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="jp">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="kr">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="mx">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="ru">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="tw">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="uk">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
<region id="us">
    <np level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <np_d level0_system_version="03.163.160" level1_system_version="03.163.160" level2_system_version="03.163.160" map="03.163.160" />
    <version system_version="03.163.160" label="3.16">
      <update_data update_type="full">
        <image size="0">http://www.example.com/PSP2UPDAT.PUP</image>
      </update_data>
    </version>
</region>
</update_data_list>
[/spoiler]

Edit: It seems I just have to edit the US region of the xml file, weird, but okay...
White PSV TV - 32GB - 3.65 CFW
White PSV 1000 - 32GB - 3.65 CFW
2x PSV 2000 - 32/64GB - 3.65 CFW
PSP Fat 1000 - TA-081 - 6.61 ME-2.3
PSP Slim 2000 - TA-085¹ - 6.61 ME-2.3
4x PSPgo & 1x PSP 3kº⁴ᶢ - 6.61 LME-2.3∞
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: QCMA - Cross-platform content manager for the PSVita (0.

Post by codestation »

@Xian: I have no idea who can use such thing but if I want to have feature parity with the official app then I should implement it.

@Z: well, you could modify the XML have a version greater than the current Vita fw, change the URL to point to your private server and disable offline mode. The vita should accept your XML and request qcma to download the pup from your server. I guess this method could be more practical to you.

Note: the pup download from internet (offline mode disabled) is currently bugged (the file stalls at 99%), so use the other method (put the pup on the updates folder) until I fix it.
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
Locked

Return to “Programming and Security”