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 »

Okay, who here has been blabbing on the other compression forums?

:lol:
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Nach wrote:
Bent wrote:x86 is a bit tougher than MIPS because of limited amounts of registers right?
When writing a complex function, yes the register limit is a problem.
I wouldn't really say it's a problem. It just forces you to do more management using memory instead of registers.

Being that I have programmed for many microcontrollers, x86 has a WEALTH of registers. In fact, MIPS chips have too many general purpose registers for me because I'm so used to working with such confined resources. So it depends on how you look at it. I don't believe any assembly language is really 'tougher' than any other. They all have various quirks and differences, but that's about it.
Bent wrote: MIPS compatable processors had something like 32 general purpose registers of which most of them were almost always usable. Does the x86 have some 32bit registers and some 16bit?
The 16 bit registers are part of the 32 bit ones. Meaning you can access a 32 bit reg half way if you want.
x86 registers are split into 8,16, and 32 bit sizes. You can access any of the three and not affect the data in the rest of the register.
For example if you perform an 8-bit operation the other 24-bits are untouched.
Bent wrote: Also, how much of a difference does the fact that it is a CISC CPU instead of a RISC CPU make? Is the instruction set much larger?
I don't know the full instruction set of MIPS and x86, but I think x86 has a larger set.
To be honest though, I only use a dozen opcodes or so on a regular bases anyway.

Well RISC CPU's work differently in the sense that ideally most every opcode is executed in one CPU cycle. The are more efficient than CISC CPU's. The may have a more limited instruction set, but they are far better at executing the ones they have. The size of the instruction set as opposed to CISC CPU's varies. The R3000 MIPS chip has a pretty small set, but some of the more advanced 64-bit MIPS chips add a good deal of baggage to deal with the bigger size registers and/or coprocessors/FPU units.

From a programming point of view, the difference is minor. Most of the everyday instructions you use are still available in both architectures. Occasionaly you'll need to do something in a different way with your RISC chip, but it's for the better. Our modern day P4 and AMD XP chips have essentially mutated into a RISC like chip.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

SNEeSe in CVS now supports JMA :D
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jagasian
Rookie
Posts: 16
Joined: Fri Oct 15, 2004 3:10 pm

NSRT Merge Support?

Post by Jagasian »

Does NSRT support automatic similarity merging as seen in GoodMerge? I am trying to convince !!!CENSORED!!! to switch to NSRT, but they seem to like 7z compressed GoodMerge sets because they are so small. However, NSRT has JMA support which is better than 7z and NSRT is just simply better for SNES ROM collections for many reasons, maily due to the failings of GoodSNES from which GoodMerge derives. So I wanted to know if NSRT supports something like GoodMerge but with JMA, and if so, on a complete SNES ROM collection, what is the total size difference between 7z-GoodMerge and JMA-NSRT-Merge?

I realize that emulators don't necessarily support multi-ROM archives yet, but for other reasons, people still like merged ROM sets because of organizational and space saving reasons. Also, if people can be convinced to keep their sets in NSRT audited JMA compressed form, the entire world will be better, regardless of merged or non-merged. Hence the reason that I am trying to get people to ditch GoodSNES and GoodMerge.

Also, what is going on with the NSRT web site. I haven't been able to access it for days now.
Last edited by Jagasian on Wed Feb 16, 2005 4:29 am, edited 1 time in total.
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'm working on a feature to allow NSRT to merge ROMs, not sure if it'll be ready for the next release or not.

Once that's done, I probably would make ZSNES support multiple files in a zip/JMA.

My host switched servers, so my site currently has some technical difficulties.
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

Re: NSRT Merge Support?

Post by anewuser »

Hey, look! Nach beat me to it so this post makes no sense now!

Edited.
Last edited by anewuser on Tue Feb 15, 2005 3:28 am, edited 1 time in total.
[url=http://www.fsf.org/resources/formats/playogg]PlayOgg[/url]
Jagasian
Rookie
Posts: 16
Joined: Fri Oct 15, 2004 3:10 pm

Post by Jagasian »

Nach wrote:I'm working on a feature to allow NSRT to merge ROMs, not sure if it'll be ready for the next release or not.

Once that's done, I probably would make ZSNES support multiple files in a zip/JMA.

My host switched servers, so my site currently has some technical difficulties.
Merged-sets in NSRT and emulator support for them will definitely cause NSRT to become the standard SNES ROM auditing tool and JMA the standard SNES compression format simply because NSRT ROM sets will take up less space, less bandwidth, will be more organized, the ROMs themselves will be of higher quality thanks to better auditing, and last but not least they will have emulator support. NSRT ROM sets will be better in every way than GoodSNES or GoodMerged ROM sets.

I like the idea of a tool that concentrates on quality SNES support, as opposed the GoodTools which concentrate on quantity at the expense of quality. These things are always a chicken and egg kind of thing... unless a Jack of all trades comes along, like you Nach ;)

BTW, I can access the NSRT web site now.
stale
Rookie
Posts: 29
Joined: Sat Aug 07, 2004 4:57 pm
Location: mankato mn
Contact:

Post by stale »

coughromsiteinmumblejagasianspostahem
Jagasian
Rookie
Posts: 16
Joined: Fri Oct 15, 2004 3:10 pm

Post by Jagasian »

Ok, I censored it. I thought it was ok, as long as I didn't link the site. Can such sites not even be mentioned by name? In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
Tallgeese
Justice is Blind
Posts: 620
Joined: Wed Jul 28, 2004 3:33 pm
Location: Test
Contact:

Post by Tallgeese »

Jagasian wrote:Ok, I censored it. I thought it was ok, as long as I didn't link the site. Can such sites not even be mentioned by name? In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
...So, are you out of your ideal dream world yet?
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Jagasian wrote:In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
Bzzt. Wrong. There will always be the chance that Nintendo or whoever made the game can re-release it on a newer system, and revive the copyrights. Just look at the Gameboy Advance, that was pretty much Remake-City, and the DS is sorta like that now.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Jagasian
Rookie
Posts: 16
Joined: Fri Oct 15, 2004 3:10 pm

Post by Jagasian »

adventure_of_link wrote:
Jagasian wrote:In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
Bzzt. Wrong. There will always be the chance that Nintendo or whoever made the game can re-release it on a newer system, and revive the copyrights. Just look at the Gameboy Advance, that was pretty much Remake-City, and the DS is sorta like that now.
In other words, hundreds of years from now, a very few people will be allowed to do things because they are somehow related to somebody who did them a very long time ago. If copyrights existed a thousand years ago, Shakespear would be owned by his decendents, etc...

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

Post by Nach »

Status Update. A standalone compressor has just gone into beta.

If you're on the NSRT Test Team, you can get a WIP from my site.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Nach wrote:Status Update. A standalone compressor has just gone into beta.

If you're on the NSRT Test Team, you can get a WIP from my site.
Great work Nach, I'll check it out.
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
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

Nach wrote:Status Update. A standalone compressor has just gone into beta.

If you're on the NSRT Test Team, you can get a WIP from my site.
Fantastic. Will it have a GUI, or must it be run from a command line?
Malcster
Hazed
Posts: 72
Joined: Wed Jul 28, 2004 7:30 pm

Post by Malcster »

It's command line but Nach mentioned that he could easily whip together a right click context menu entry to compress and decompress stuff, if he could find his papers on how to do it. I'm sure he'll have it done by the time a standalone jma compressor gets released to the public.

Edit: I think he only mentioned windows context menus...
Peace Forever!
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Nach wrote:Status Update. A standalone compressor has just gone into beta.

If you're on the NSRT Test Team, you can get a WIP from my site.
Nice job Nach.
Try out CCleaner and other free software at Piriform
Image
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Malcster wrote:It's command line but Nach mentioned that he could easily whip together a right click context menu entry to compress and decompress stuff, if he could find his papers on how to do it.
I don't think its particularly complicated to create a context menu entry. All that is necessary is for his program to support the variables that Windows uses when doing things like that. Such as "%1" representing the filename of the file you right-clicked.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/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 »

Go back a few pages, you'll see I already displayed how to add right click support.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply