Author Topic: OPKManager Version 0.9  (Read 10975 times)

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
OPKManager Version 0.9
« on: December 29, 2013, 02:43:31 am »
Heya,

the last weeks I made a program called OPKManager. I already wrote about it here: http://boards.dingoonity.org/gcw-development/opkmanager/

I think it is now good enough to get officialy released, although some things are still missing or show misbehaviour.

OPKManager is a manager for all your opk files on your gcw.
You can
  • Copy opks
  • Move opks
  • Delete opks
  • Install opks (needs internet)
  • Update the list of available opks (needs internet)
  • View comments and if available screenshots (last needs internet)
  • View a (hopefully helpful) help
  • Get an overview which applications are installed (and at which location) or available in which repo

What does not work at the moment
  • Starting the applications out of the OPKManager
  • Editing OPKManager itself

I hope it works for you. Enjoy!
If you are interested in more details about this program (implementation, how are the repositories managed, etc.) read the thread in the developers section or the inapplication help. ;)

Download:
http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk

Screenshot:


Video:
<a href="https://web.archive.org/web/20220706073623/https://www.youtube.com/watch?v=j04FQu9Pew0" target="_blank">https://www.youtube.com/watch?v=j04FQu9Pew0</a>

greetings, Ziz
« Last Edit: January 02, 2014, 12:35:11 am by Ziz »
I am a leaf on the wind - watch how I soar. Wash

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #1 on: December 29, 2013, 07:46:12 pm »
I uploaded a new version 0.9.5.

I ran into the problem, that sometimes the names in the opk and the names on the repository differ. Sometimes just because the real name doesn't fit on the screen like for Unnamed Monkey Game, which is called UMG in the opk. However, in that case you would see "UMG" as installed and another package called "Unnamed Monkey Game" installed, although they are the same!

So I added an online alias list, which handles such exceptions. ;)

New version:
http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk
« Last Edit: January 02, 2014, 12:35:21 am by Ziz »
I am a leaf on the wind - watch how I soar. Wash

btnheazy03

  • Posts: 180
Re: OPKManager Version 0.9
« Reply #2 on: December 30, 2013, 04:48:11 am »
thanks! uploading with filezilla now

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #3 on: December 30, 2013, 02:14:43 pm »
I uploaded a new version - again.

I thought sorting by file size or version would be awesome.
Especially sorting by version makes much sense to see brand new software.  8)

Furthermore I made a new video.

New version:
http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk

Video:
<a href="https://web.archive.org/web/20220706073623/https://www.youtube.com/watch?v=WaEePH6ikyc" target="_blank">https://www.youtube.com/watch?v=WaEePH6ikyc</a>

greetings,
Ziz
« Last Edit: January 02, 2014, 12:35:28 am by Ziz »
I am a leaf on the wind - watch how I soar. Wash

pcercuei

  • Posts: 1728
    • My devblog
Re: OPKManager Version 0.9
« Reply #4 on: January 02, 2014, 12:02:47 am »
One bug, if the system partition is mounted inside /media, OPKManager won't mind storing OPKs there. Please make sure that mmcblk0p1 is never accessed even if mounted inside /media. Maybe also change the "new update" icon, I can barely see it when it's on top of the Earth icon.

Good job otherwise, it works pretty well.
« Last Edit: January 02, 2014, 12:04:24 am by pcercuei »

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #5 on: January 02, 2014, 12:38:58 am »
One bug, if the system partition is mounted inside /media, OPKManager won't mind storing OPKs there. Please make sure that mmcblk0p1 is never accessed even if mounted inside /media.
I implemented it. For testing, whether a folder in /media is an usb stick or the sd card I already read /proc/1/mounts, so that was quite easy. However, I didn't test it! Do you have mounted the system partition that way and could test it for me?

Quote
Maybe also change the "new update" icon, I can barely see it when it's on top of the Earth icon.
Hm, you are right. I use an orange circle now, does this feel better? However, if someone has a good idea for a max 12x12 icon, which looks good, is good noticeable and doesn't cover too much of the underlying 12x12 icon, tell me or just make it for me :)

Quote
Good job otherwise, it works pretty well.
Thank you! :D

New version: http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk
I am a leaf on the wind - watch how I soar. Wash

pcercuei

  • Posts: 1728
    • My devblog
Re: OPKManager Version 0.9
« Reply #6 on: January 02, 2014, 01:27:20 am »
It fixed the problem, thanks. But I found another bug, when I try to move an OPK while having no external SD/USB plugged, I still get the pop-up asking where to move the OPK, and pressing A triggers a segmentation fault:


Another segfault happens when you try to delete an OPK with Y.
« Last Edit: January 02, 2014, 01:32:29 am by pcercuei »

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #7 on: January 02, 2014, 05:53:59 am »
I fixed the first problem I think. I totally forgot about this case.  ::)

But I could not reproduce your delete segfault. What did you try to delete? Which sources did exist (internal and repo, just internal?).

http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk

Edit: Fixed the deletion error. In fact it hadn't to do anything with the "no sd card problem" at all. It occurred because of the new sorting feature. The sorted list was unsync and still pointed to the deleted okp file...
« Last Edit: January 02, 2014, 08:12:18 am by Ziz »
I am a leaf on the wind - watch how I soar. Wash

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #8 on: January 03, 2014, 12:39:33 am »
I made a new version, with X you can now see a former description of the application if available in the repository. :D

http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk

Please update, older versions will crash while reading the descriptions even if they don't use them (too small buffer :P)
I am a leaf on the wind - watch how I soar. Wash

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #9 on: January 03, 2014, 02:01:59 pm »
I tried to implement a repository for this google drive:
https://docs.google.com/folderview?id=0B9EgGumkJaabSE9TaEdFbVVBSlU#list

If you want to have this veeery inofficial repository in OPKManager add this line to your /usr/local/home/.config/OPKManager/repositories.txt:
Code: [Select]
http://ziz.gp2x.de/gcw-repos/google_drive.py
and add to  /usr/local/home/.config/OPKManager/alias.txt this line:
Code: [Select]
http://ziz.gp2x.de/gcw-repos/google_predefined.txt
Furthermore you HAVE to update to the new version of OPKManager, because I have to ignore the https security.  ::)
Recent version: http://ziz.gp2x.de/downloads/OPKManager/OPKManager.opk

Was does work?
  • It shows you a name
  • Showing the version
  • You can download it

What does NOT work?
  • No description
  • No screenshot
  • In most cases after download you will have two entries: One for the application and one for the repository. This is because of the difference between the name in the opk and the name in the repository (as told before). I added a new alias list for this repository, but it has only one entry for now. If you see a double entry and are annoyed of it, just tell me both names that show up in the list and whether this is the local or repository name and I will add this alias to the google_predefined.txt ;)

Because of the bugs, the hackiness and of course the unsure legal position I will not add this repository to the default. It is just for fun and an easy way to download these opk files, too. ;)

greetings, Ziz
I am a leaf on the wind - watch how I soar. Wash

zear

  • Moderator
  • Posts: 2381
Re: OPKManager Version 0.9
« Reply #10 on: January 03, 2014, 03:43:17 pm »
I tried to implement a repository for this google drive:
https://docs.google.com/folderview?id=0B9EgGumkJaabSE9TaEdFbVVBSlU#list
Please don't. The majority of software on that link is NOT finished or meant for end users. We don't want people to create help threads because they installed something buggy/outdated that bricked their OS, because they downloaded it under the impression it was a finished product, meant for end users.

pcercuei

  • Posts: 1728
    • My devblog
Re: OPKManager Version 0.9
« Reply #11 on: January 03, 2014, 03:52:36 pm »
Why not? The users can already download and install those apps. If you don't want people to use those apps, don't upload them.

zear

  • Moderator
  • Posts: 2381
Re: OPKManager Version 0.9
« Reply #12 on: January 03, 2014, 05:13:29 pm »
Why not? The users can already download and install those apps. If you don't want people to use those apps, don't upload them.
It was a way to distribute applications between us devs and a small number of testers back when we had no official repository.
A majority of software in there is vastly outdated, and quite a few titles are simply buggy and unfinished.
I shall remind you that the person who bricked his device last week caused that by installing one of the OPKs from that very link.

If this link ends up in Ziz's OPKManager, I will remove every single piece of software from it that is of my authorship, as I do not want to make impression they are a final releases, ready for general use. I will also refuse to help anybody on IRC/forums who have problems caused by the software from the mentioned link. You can say what you want Pcercuei, but it always ends up with me having to deal with people's issues on IRC and I do not wish to clean up after something that could be easily avoided.

pcercuei

  • Posts: 1728
    • My devblog
Re: OPKManager Version 0.9
« Reply #13 on: January 03, 2014, 05:31:04 pm »
Why not? The users can already download and install those apps. If you don't want people to use those apps, don't upload them.
It was a way to distribute applications between us devs and a small number of testers back when we had no official repository.
No it was not. It was some place to upload OPKs before we had a repository. It's your problem if your OPKs are not finished.

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #14 on: January 03, 2014, 05:37:29 pm »
If this link ends up in Ziz's OPKManager
It will not. You have to add it yourself. That means editing the repository.txt and alias.txt in the internal space. I don't think, that many "help me, nothing works!!!"-help-searchers will get it too work or even find it in this thread...

However. If you are unhappy even with this, I will remove it from this thread. It was never meant to be used in a productive way anyway, more some kind of apprentice piece. ;)

But hey! Now I now, how to download stuff from google docs with wget. :D
I am a leaf on the wind - watch how I soar. Wash

zear

  • Moderator
  • Posts: 2381
Re: OPKManager Version 0.9
« Reply #15 on: January 03, 2014, 05:48:22 pm »
It's your problem if your OPKs are not finished.
All my stuff is now removed from this link. I take no responsibility for any other software at that location.

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #16 on: January 03, 2014, 06:05:06 pm »
Hm, I didn't want to start some kind of fight or any other kind of bother.  ::)
I am a leaf on the wind - watch how I soar. Wash

hi-ban

  • Posts: 889
Re: OPKManager Version 0.9
« Reply #17 on: January 03, 2014, 06:18:44 pm »
i don't think it's a fight. it's just that zear's avatar makes him appear to be always angry  ;)

Ziz (OP)

  • Posts: 285
    • http://ziz.gp2x.de
Re: OPKManager Version 0.9
« Reply #18 on: January 03, 2014, 06:26:23 pm »
i don't think it's a fight. it's just that zear's avatar makes him appear to be always angry  ;)
Why exactly does he carry a whip? O_o
I am a leaf on the wind - watch how I soar. Wash

MightyJAK

  • Posts: 538
    • My tumblr
Re: OPKManager Version 0.9
« Reply #19 on: January 03, 2014, 07:20:12 pm »
Why exactly does he carry a whip? O_o

<a href="https://web.archive.org/web/20220706073623/https://www.youtube.com/watch?v=YdXQJS3Yv0Y" target="_blank">https://www.youtube.com/watch?v=YdXQJS3Yv0Y</a>
My machines:
GBC,GBA,GBA SP,NDS,NGPC,Panasonic FZ-10 3DO,NES,Sega Nomad,Sega CDX w/Power Base Converter,PS1,PS2,PS3,Saturn,Dreamcast,PC (Win 98, XP, 7),Dingoo A320,Dingoo A330,Gemei A330,LetCool N350JP,PAP-GAMETA,GCW-Zero SE,Kyocera Rise,2DS,GP2X-F100,GPD G7,JXD 100,JXD A1000,JXD A3300,JXD F3000,JXD V5000,JXD S7300B,Hyperkin SupaBoy

Currently playing: Theatrhythm Final Fantasy Curtain Call (2DS)

 

Post a new topic