Author Topic: Open Package Creator 1.1.2  (Read 12985 times)

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Open Package Creator 1.1.2
« on: October 09, 2013, 02:41:55 am »
** EDIT: Extended clarification of the tool **

Please note that this is a tool for developers and isn't that interesting for end users.
You can't just take any app and package it and everything will be fine. One thing that must be changed in the application first is the save location. OPKs are read-only, which means that if the app tries to save in the same directory, as many seem to do, then saving will fail. Instead the app must save its data inside the $HOME directory.


** Description **

Open Package Creator is a tool to easily package an application in an OPK file, complete with a generated .desktop meta data file.

Runs on Windows and Linux (with Mono)
For Linux, the dependencies are:
Mono
Mono Winforms
squashfs-tools

Change log 1.1.2
* Added support for X-OD-NeedsGSensor and X-OD-NeedsDownscaling
* Fixed a bug with using desktop files as is and then trying to pack

Change log 1.1.1
* Added support for the new X-OD-NeedsJoystick option

Change log 1.1
* Made a better list of default mime types, based on the actual mime types used in OD
* Icons and executables in sub directories now work
* Existing .desktop files are now handled, the user may either:
  - Ignore and overwrite the existing .desktop files (as it worked previously)
  - Load information from the existing .desktop files
  - Skip the .desktop file generation and use the existing files as-is
* Better handling of launching with a file: %f won't get appended to exec if it already contains it
* Improved the detection of executables in squashfs-tools
* If executable is a script and Windows line endings are found, the user may chose to convert the script to Unix line endings
* Help directly in the application; info icons which popups information about each field on hover
* Fields for Terminal and Manual are now available
* Various other fixes

Download from GitHub
For end users, the only file you need is OpenPackageCreator-1.1.2.zip
« Last Edit: June 20, 2015, 10:02:15 pm by Harteex »

Thraka

  • Posts: 51
Re: Open Package Creator 1.1
« Reply #1 on: October 10, 2013, 05:55:32 pm »
Thanks a bunch for this! I was able to create a C64 opk from the files that were posted. Very handy!!

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Open Package Creator 1.1
« Reply #2 on: October 10, 2013, 06:51:47 pm »
Thanks a bunch for this! I was able to create a C64 opk from the files that were posted. Very handy!!

I'm not sure how this C64 emu is made, but it's important that the applications that are put into OPKs won't try to save to the current directory, since OPKs are readonly.
For example, the application should read/write config files to a subfolder in the home directory, otherwise it will fail to save config.

Thraka

  • Posts: 51
Re: Open Package Creator 1.1
« Reply #3 on: October 10, 2013, 08:54:20 pm »
I believe it does do that because when I quit the emulator it says that saving settings failed. Thanks for the heads up!

theweirdn8

  • Posts: 115
Re: Open Package Creator 1.1
« Reply #4 on: November 18, 2013, 03:01:41 pm »
This is pretty awesome!

It's now on the Wiki: http://wiki.surkow.com/OPK#Creating_OPK_Files_using_Windows

Do you mind having screenshots of the OPK creator on the Wiki?

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Open Package Creator 1.1
« Reply #5 on: November 18, 2013, 10:31:50 pm »
This is pretty awesome!

It's now on the Wiki: http://wiki.surkow.com/OPK#Creating_OPK_Files_using_Windows

Do you mind having screenshots of the OPK creator on the Wiki?

Feel free to. I've been meaning to add info to the wiki as well, but I haven't got around to.

However, the text incorrectly says you must create your application on linux. Here's a windows toolchain:
http://boards.dingoonity.org/gcw-development/gcw-zero-toolchain-for-windows-(cygwin)-2013-10-04/

theweirdn8

  • Posts: 115
Re: Open Package Creator 1.1
« Reply #6 on: November 19, 2013, 12:39:37 am »

Removed that bit, "less is sometimes more".

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Open Package Creator 1.1.1
« Reply #7 on: April 27, 2014, 10:39:19 pm »
The application has been updated to 1.1.1 to support new firmware features. See the first post for details.

Gab1975

  • Posts: 1165
Re: Open Package Creator 1.1.1
« Reply #8 on: May 06, 2014, 09:08:00 am »
I think that it would be useful a version of this tool for unpack the OPKs (in this way it will be rather easy to change icons, backgrounds and make other little modifications) ... thanks for your work! :)

Gab1975

  • Posts: 1165
Re: Open Package Creator 1.1.1
« Reply #9 on: May 06, 2014, 02:19:25 pm »
I found the tool to unpack the OPKs under Windows OS... below the link (maybe it will be useful for someone):
http://fragilematter.blogspot.it/2010/02/squashfs-tools-40-windows-binaries.html

hi-ban

  • Posts: 886
Re: Open Package Creator 1.1.1
« Reply #10 on: May 06, 2014, 02:41:02 pm »
It's easier than that. You can unpack OPKs using 7-zip.

Gab1975

  • Posts: 1165
Re: Open Package Creator 1.1.1
« Reply #11 on: May 06, 2014, 03:59:09 pm »
It's easier than that. You can unpack OPKs using 7-zip.

Thanks... so I made things "more complex" ! :P

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Open Package Creator 1.1.1
« Reply #12 on: May 06, 2014, 08:19:01 pm »
I found the tool to unpack the OPKs under Windows OS... below the link (maybe it will be useful for someone):
http://fragilematter.blogspot.it/2010/02/squashfs-tools-40-windows-binaries.html

I have newer versions of the tools available here: Squash-fs tools 4.2

Might add an unpack option in the application at some point.

Gab1975

  • Posts: 1165
Re: Open Package Creator 1.1.1
« Reply #13 on: August 23, 2014, 05:27:20 am »
New features (X-OD-NeedsDownscaling - X-OD-NeedsGSensor) come with the latest firmware (20-08-2014)... it would be useful update the OPC... thanks for your work! :)

Gab1975

  • Posts: 1165
Re: Open Package Creator 1.1.1
« Reply #14 on: November 05, 2014, 06:35:29 am »
I renew this topic... as I wrote in my previous post, a new release which supports the added features (firmware 20-08-2014) it would be very appreciated/useful ! :)

Geca

  • Posts: 47
    • GECA soft
Re: Open Package Creator 1.1.1
« Reply #15 on: June 17, 2015, 10:50:53 am »
Hi, I Hope you don't mind if I adapt your App into my BennuGD Net Tools, for option 'GCW Zero Packager'




Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Open Package Creator 1.1.1
« Reply #16 on: June 17, 2015, 06:29:31 pm »
Hi, I Hope you don't mind if I adapt your App into my BennuGD Net Tools, for option 'GCW Zero Packager'



No problems, just give credits :)

Btw your image doesn't load, seems like you must be a member of bennugd.org to view it.

I renew this topic... as I wrote in my previous post, a new release which supports the added features (firmware 20-08-2014) it would be very appreciated/useful ! :)

Somehow I missed both of your posts. I'll try to get this done soonish.

Geca

  • Posts: 47
    • GECA soft
Re: Open Package Creator 1.1.1
« Reply #17 on: June 18, 2015, 06:36:55 am »
Thanks a lot, here is the image



Geca

  • Posts: 47
    • GECA soft
Re: Open Package Creator 1.1.1
« Reply #18 on: June 18, 2015, 06:41:18 am »
Here is another



My app have multilang, at the moment english and spanish, your app adaptation also include it

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Open Package Creator 1.1.1
« Reply #19 on: June 18, 2015, 12:42:20 pm »
Looking good.

Might be a good idea to keep track of this thread btw, I plan a small update soon.

 

Post a new topic
Post a new topic