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
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Post by 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 »

That's nice and all, but what I have is better.

If any of the JMA testers want to embelish on that statement, feel free.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Nach wrote:If any of the JMA testers want to embelish on that statement, feel free.
...Let me dig it.

Code: Select all

-rw-r--r--  1 nach nach  7997201 2004-10-21 00:52 sfx.7z
-rwxrwxrwx  1 grin users 6989773 2004-10-21 00:53 sfx.jma
There. Point made.
皆黙って俺について来い!!

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
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Post by kode54 »

grinvader wrote:
Nach wrote:If any of the JMA testers want to embelish on that statement, feel free.
...Let me dig it.

Code: Select all

-rw-r--r--  1 nach nach  7997201 2004-10-21 00:52 sfx.7z
-rwxrwxrwx  1 grin users 6989773 2004-10-21 00:53 sfx.jma
There. Point made.
Did you use ultra compression for that 7-Zip archive? From the command line:

7z a -t7z -mx=9 blah.7z [...]

Oh, and what did you pack into that archive?
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Of course, ultra solid compression.

The archive holds all the superFX snes roms.
Namely:

Code: Select all

-rw-r--r-- nach/nach    524288 2004-10-21 00:07:01 Dirt Racer (E).SFC
-rw-r--r-- nach/nach    524288 2004-10-21 00:09:23 Dirt Trax FX (E).SFC
-rwxr--r-- nach/nach    524288 2004-10-21 00:04:18 Dirt Trax FX (U).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:28 Doom (E).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:28 Doom (J).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:28 Doom (U).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:59:13 Star Fox 2 (Private Build) (J).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:28 Star Fox CE (U).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:28 Star Fox (J).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:28 Star Fox (U).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:28 Star Fox (U)(v1.2).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:28 Starwing CE (E).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:29 Starwing CE (G).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:29 Starwing (E).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:29 Starwing (E)(v1.1).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:29 Starwing (G).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:29 Stunt Race FX (E).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:29 Stunt Race FX (U)(v1.1).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:29 Super Mario World 2 - Yoshi's Island (E).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:30 Super Mario World 2 - Yoshi's Island (E)(v1.1).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:30 Super Mario World 2 - Yoshi's Island (J).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:30 Super Mario World 2 - Yoshi's Island (J)(v1.1).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:30 Super Mario World 2 - Yoshi's Island (J)(v1.2).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:31 Super Mario World 2 - Yoshi's Island (U).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:32 Super Mario World 2 - Yoshi's Island (U)(v1.1).SFC
-rwxr--r-- nach/nach    524288 2004-10-21 00:01:14 Vortex (E).SFC
-rwxr--r-- nach/nach    524288 2004-10-21 00:01:14 Vortex (J).SFC
-rwxr--r-- nach/nach    524288 2004-10-21 00:01:14 Vortex (U).SFC
-rwxr--r-- nach/nach   1048576 2004-10-20 23:58:32 Wild Trax (J)(v1.1).SFC
-rwxr--r-- nach/nach   2097152 2004-10-20 23:58:32 Winter Gold (E).SFC
Last edited by grinvader on Mon Nov 15, 2004 3:41 pm, edited 1 time in total.
皆黙って俺について来い!!

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
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Post by kode54 »

Okay, but unpacking will be really fun when people start packing their entire collections in one solid archive. I doubt that will prevent the appearance of a nsrt_fullset.jma on P2P networks.

Either way, JMA support will need to include indexing archives as directories, so a ROM image can be selected from their contents. Hmm, not to mention, if IPS patches are to be packed inside with their respective games, they will need to be conveniently ordered to follow the ROM image, so they may be loaded sequentially. Otherwise, more suffering from the solid archive extraction.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I highly doubt anyone has enough RAM to get an entire NSRT set into one solid archive.

I designed the container in such a way that has extra uncompressed fields which allows for unlimited expansion with only a single byte overhead.

Which basically means any ideas we come up with can be done immediatly, without affecting tools extraction will the standard unjma in any way what so ever.
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 »

Thanks to the following people, ZSNES SDL port now has JMA support:

Igor Pavlov
Andrea Mazzoleni
grinvader
theoddone33
zones
malcster
Lord Nightmare
CL
Nach

ipher and I are currently trying to get the other ports up to speed.
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 »

Thanks to a very patient ipher, ZSNESW now has JMA support :D

ZSNES DOS port has the JMA code compiled in, but for some reason won't load them, I'll be looking into it.
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 »

Drool.

So, I assme to actually compress to JMA I need to DL the newest NSRT RC?
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

X Prime wrote:Drool.

So, I assme to actually compress to JMA I need to DL the newest NSRT RC?
You assume correctly.
皆黙って俺について来い!!

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 »

Note the newest one isn't released to the general public yet.
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 »

ZSNES DOS port is now 100% JMA compatible.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
anewuser
Rookie
Posts: 43
Joined: Wed Jul 28, 2004 4:22 am
Location: x.x

Post by anewuser »

Will JMA support be added to Snes9x?
I am not a programmer, but are you going to release the JMA file format specification?
[url=http://www.fsf.org/resources/formats/playogg]PlayOgg[/url]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

anewuser wrote:Will JMA support be added to Snes9x?
Already been working on it.
anewuser wrote: I am not a programmer, but are you going to release the JMA file format specification?
Yes. Will be a while till I get a chance to write up some good docs though.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

Nach wrote:
anewuser wrote:Will JMA support be added to Snes9x?
Already been working on it.
Sweet.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

very nice work Nach and all those that contributed in some way.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Oblivion
What?
Posts: 177
Joined: Wed Jul 28, 2004 1:32 pm
Location: You'd want to know, wouldn't you?

Post by Oblivion »

To all involved: Awesomeness to the 104%
Everything I say is a lie.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

This really fits the whole jma thing imo:

Image
皆黙って俺について来い!!

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
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

grinvader wrote:This really fits the whole jma thing imo:

Image
That is pretty fucking cool!
daft
Rookie
Posts: 27
Joined: Mon Nov 22, 2004 12:56 am

Post by daft »

grinvader wrote:This really fits the whole jma thing imo:

Image
Looks cool. Btw, is there a way for the load game window to not cut off rom names and directories? Perhaps a narrower font or wider window?
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

daft wrote: Looks cool. Btw, is there a way for the load game window to not cut off rom names and directories? Perhaps a narrower font or wider window?
The GUI is still mainly coded in ASM which means that modifying it is a pain in the ass. So no I guess
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
ipher
ZSNES Developer
ZSNES Developer
Posts: 269
Joined: Wed Jul 28, 2004 2:37 am
Contact:

Post by ipher »

narrow font works, but unfortunately, ZSNES uses the same font for the entire GUI... so you would have to change the entire GUI font which has been done before, but doesn't look too good.
[url=http://www.ipherswipsite.com]ipher's WIP Site[/url]
TheDanish
Rookie
Posts: 12
Joined: Fri Jul 30, 2004 10:23 pm

Post by TheDanish »

ipher wrote:narrow font works, but unfortunately, ZSNES uses the same font for the entire GUI... so you would have to change the entire GUI font which has been done before, but doesn't look too good.
Maybe have the text scroll automatically while it's highlighted?
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

TheDanish wrote:
ipher wrote:narrow font works, but unfortunately, ZSNES uses the same font for the entire GUI... so you would have to change the entire GUI font which has been done before, but doesn't look too good.
Maybe have the text scroll automatically while it's highlighted?
Can you spell ASM HELL ?
皆黙って俺について来い!!

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
Post Reply