Need an archive utility that can open "omni.ja" (Solved)

Booting, installing, newbie
Post Reply
Message
Author
User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

Need an archive utility that can open "omni.ja" (Solved)

#1 Post by ardvark »

Hi all...

Can anyone recommend an archive utility that can get into "omni.ja" listed inside the seamonkey folder (usr/lib?)

The native archive utility in Ubuntu (which is what I use on my laptop,) is able to open this file but Puppy's can't.

Thanks...
Last edited by ardvark on Sun 07 Jul 2013, 07:08, edited 1 time in total.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi ardvark,

rename omni.ja to omni.zip and puppy will open it.....as here http://bkhome.org/blog2/?viewDetailed=00291
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#3 Post by ardvark »

Thank you, Phil, that solved the problem! :D

I had forgotten that from when I had to access it on another system.

Regards...

hamoudoudou

Omni.ja ????

#4 Post by hamoudoudou »

What is omni.ja used to ? It's big stuff !
"Note: Starting with Firefox 10 and Thunderbird 10, the file extension .ja is used because Windows System Restore does not back up files with the .jar extension, but it does back up .ja files. This change was needed to prevent Firefox from becoming corrupted."
Attachments
omnija.jpg
Is it necessary to keep it ?
(47.68 KiB) Downloaded 92 times
Last edited by hamoudoudou on Wed 14 Mar 2018, 06:28, edited 2 times in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

Google omni.ja.

More info than I need to know! :shock:
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Hamoudoudou, have you tried it? Can you decipher any difference in speed?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
norgo
Posts: 388
Joined: Fri 13 Nov 2015, 17:19
Location: Germany
Contact:

#7 Post by norgo »

666philb wrote:...rename omni.ja to omni.zip and puppy will open it.....as here http://bkhome.org/blog2/?viewDetailed=00291
Unfortunately link doesn't work anymore.

Does somebody know how to convert back to omni.ja ?

Thanks in advance

matchpoint
Posts: 168
Joined: Fri 26 Jan 2018, 20:54

#8 Post by matchpoint »

Norgo, this post may help.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#9 Post by Mike Walsh »

I found SFR's UExtract will quite happily open it.....


Mike. :wink:

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#10 Post by mikeslr »

norgo wrote:Does somebody know how to convert back to omni.ja ?
Guessing, but I think you could just reverse the process: use something like peazip to pack it as a zip file, and then rename the file, changing its suffix from zip to ja.

mikesLr

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#11 Post by BarryK »

In woofQ, the builder for EasyOS, the script buildeasydistro expands omni.ja, and puts it together again.

As omni.ja is inside q.sfs, a Squashfs file that is already compressed (gzip or xz), it slows down SeaMonkey/Firefox for omni.ja to also be compressed.

Hence, I expand it, then recreate the zip without any compression. Here is the code:

Code: Select all

[ -e rootfs-complete/usr/lib/seamonkey ] && MOZDIR='seamonkey' #170429
[ -e rootfs-complete/usr/lib/firefox ] && MOZDIR='firefox' #170429
 if [ -f rootfs-complete/usr/lib/${MOZDIR}/omni.ja ];then
  echo "Uncompressing rootfs-complete/usr/lib/${MOZDIR}/omni.ja..."
  mv -f rootfs-complete/usr/lib/${MOZDIR}/omni.ja ./omni.zip
  mkdir expand1
  unzip -X -K -o -b omni.zip -d expand1 > /dev/null
  cd expand1
  zip -0 -y -r ../omni.ja * > /dev/null
  cd ..
  mv -f omni.ja rootfs-complete/usr/lib/${MOZDIR}/
  sync
  rm -rf expand1
  echo " ...done"
 fi
[url]https://bkhome.org/news/[/url]

User avatar
norgo
Posts: 388
Joined: Fri 13 Nov 2015, 17:19
Location: Germany
Contact:

convert to omni.ja

#12 Post by norgo »

Thank you very much for information.
1st short tests were successful.

what for a file type is the original omni.ja ?
Doesn't look like a regular zip file.

Header starts with: # 00 00 00 00 50 4B 01 02 ...
never heard before of this.
unzip is complaining too.

Code: Select all

# unzip -X -K -o -b omni.zip -d expand1 > /dev/null
  warning [omni.zip]:  18280129 extra bytes at beginning or within zipfile
  (attempting to process anyway)
  error [omni.zip]:  reported length of central directory is
  -18280129 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
Hope not to lose information after repacking.
Most probably it's better to make the changes before compiling.
Once again thank you.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: convert to omni.ja

#13 Post by BarryK »

norgo wrote:Thank you very much for information.
1st short tests were successful.

what for a file type is the original omni.ja ?
Doesn't look like a regular zip file.

Header starts with: # 00 00 00 00 50 4B 01 02 ...
never heard before of this.
unzip is complaining too.

Code: Select all

# unzip -X -K -o -b omni.zip -d expand1 > /dev/null
  warning [omni.zip]:  18280129 extra bytes at beginning or within zipfile
  (attempting to process anyway)
  error [omni.zip]:  reported length of central directory is
  -18280129 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
Hope not to lose information after repacking.
Most probably it's better to make the changes before compiling.
Once again thank you.
I have been doing this for a couple of years, for SeaMonkey, and omni.ja works after repacking. No discernable loss of data.
[url]https://bkhome.org/news/[/url]

hamoudoudou

for Japanese users ?

#14 Post by hamoudoudou »

my purpose was to study wat are used for big stuff as omni.ja. I thought that was for Japanese users :) It is not and if you remove it, you will get problems. That was the only conclusion i Got for omni.ja :)
In fact omni is a java file.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#15 Post by bigpup »

Do Google search of omni.ja

All kinds of info on what it is and used for.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply