JMA Compression

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Snes9x is now a JMA supporter.

If funkyass and I get our act together, the next Snes9x release will probably be soon with it supported.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
burning shadow
Rookie
Posts: 32
Joined: Wed Aug 25, 2004 1:55 pm
Location: spb, ru
Contact:

Post by burning shadow »

One small question.. What does "semi-solid" mean? :)
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Great, but it's still useless without the new NSRT.

:wink: :nudge:
[u][url=http://bash.org/?577451]#577451[/url][/u]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Noxious Ninja wrote:Great, but it's still useless without the new NSRT.

:wink: :nudge:
I know, I know, I wanted to release two weeks ago :/

There's this one thing left that is easy work, but I keep pushing it off :/
I'll try to have it releaed by the end of the week.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Nach wrote:There's this one thing left that is easy work, but I keep pushing it off :/.
Heh, sounds like me.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Noxious Ninja wrote:
Nach wrote:There's this one thing left that is easy work, but I keep pushing it off :/.
Heh, sounds like me.
Well, normally I'd be all over it, it's just the work is annoying to do. I have to sit down and cross reference data and stuff and I don't find that to be fun, no coding involved :(
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
tehnick
Hazed
Posts: 52
Joined: Wed Oct 06, 2004 1:41 am

Post by tehnick »

I just found out about this JMA compression for snes roms and such. Can it compress other files aswell? Or just roms? And how well does it compress them if it does?
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

I don't know of any compression algorithms that can't be applied to arbitrary data. However, most compression schemes are designed to be efficient for particular patterns of data. JMA is designed for SNES ROMs, so that's what it will be most effective for.

RAR, 7Z, and other formats are designed for best "general" compression. Their compression ratios are more than adequate most of the time.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

As a matter of fact, JMA also features excellent results with GBA roms. Useless, since no gba emulator supports that format.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

grinvader wrote:As a matter of fact, JMA also features excellent results with GBA roms. Useless, since no gba emulator supports that format.
May have to do something about that one of these days.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

The future is now.
Go forth and compress.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Great job, Nach! :)
TheDanish
Rookie
Posts: 12
Joined: Fri Jul 30, 2004 10:23 pm

Post by TheDanish »

<3 Nach. Very cool.
DOLLS (J) [!]
ZNES Developer
Posts: 215
Joined: Mon Aug 02, 2004 11:22 pm

Post by DOLLS (J) [!] »

Nach wrote:The future is now.
Go forth and compress.
Holy shits!
At last... Thank you very much.
Hellsnoopy
New Member
Posts: 3
Joined: Mon Jan 24, 2005 5:34 am

Post by Hellsnoopy »

It is not working for me ...
I'm using

Code: Select all

 nsrt -savetype jma rom.XXX 
it just displays the rom name with no compression.
Tallgeese
Justice is Blind
Posts: 620
Joined: Wed Jul 28, 2004 3:33 pm
Location: Test
Contact:

Post by Tallgeese »

Read what the instructions for savetype say...
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Metatron wrote:Read what the instructions for savetype say...
Here's what the instructions say if for some reason you couldn't find them:

Code: Select all

-savetype  Save each file in a specified format such as zip. Type this
           alone to see a list of available types you can choose from.
           Currently this only works in conjunction with an option that
           renames or moves the file.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Tallgeese
Justice is Blind
Posts: 620
Joined: Wed Jul 28, 2004 3:33 pm
Location: Test
Contact:

Post by Tallgeese »

That said, that is EXTREMELY inconvienent. Why is it that way?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Metatron wrote:That said, that is EXTREMELY inconvienent. Why is it that way?
Because you wouldn't want a .zip file to really not be a zip file but a JMA file, would you?

We will be adding a switch to only rename the extension.

http://nsrt.edgeemu.com/forum/viewtopic.php?t=338
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Hellsnoopy
New Member
Posts: 3
Joined: Mon Jan 24, 2005 5:34 am

Post by Hellsnoopy »

so if i do

Code: Select all

 nsrt -rename -savetype jma *.zip
will it recompress the rom using jma or it will try to compress the zip using jma compression ?
DOLLS (J) [!]
ZNES Developer
Posts: 215
Joined: Mon Aug 02, 2004 11:22 pm

Post by DOLLS (J) [!] »

It will recompress your files using JMA and rename them along with the appropiate extension (*.JMA).
Hellsnoopy
New Member
Posts: 3
Joined: Mon Jan 24, 2005 5:34 am

Post by Hellsnoopy »

Thanks :D
Stifu
Regular
Posts: 245
Joined: Fri Dec 10, 2004 10:02 pm

Post by Stifu »

How to decompress a JMA ROM ? O_o

Thanks.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Stifu wrote:How to decompress a JMA ROM ? O_o
Please read the savetype instructions.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Stifu
Regular
Posts: 245
Joined: Fri Dec 10, 2004 10:02 pm

Post by Stifu »

Hm, I had already done so... I had just missed the "uncompressed" line in the program. Sorry. :?
Post Reply