Homebrew RELEASE NSZ Title Compression Results

blawar

Developer
OP
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
DLCs maybe? I guess the zstandard adds some data to decompress the file. Also those really small dlcs are normally a txt file with some lines (txt,json,.data) I saw one that just said "unlock content number 4).
It was proposed to me to add an skip option for files smaller than X size or just dlcs smaller than that size, I'll do in next version.

114kb DLC compress down to 50kb.
 

JRoad

Developer
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
do you mean that the files are verified after compression? or, should I just decompress them and check if the files are the right size?
I missed that. I mean that NSCB has a verifier that currently you can only use if the file is decompressed. I will adapt it to not need decompression, but for now you can decompress and
for some reason, some of my nsz files are larger than their nsp counterparts, like the contra shirts. nsp = 120KBs; nsz = 155KBs. this only happens on really small nsp files.
Did some tests and in my case those small dlcs are compressing at 14% (50-60kB give or take). Unlockers won't compress from what i saw.
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
hmm...I'm not sure why they aren't compressing for me. did you do level 22 on that specific one (contra clothing)? also, placeholder dlc won't compress, correct? because challenge pack 4 and 5 of super smash bros. error. the only thing they have in common, from what I can see, is that they're placeholders for dlc that isn't out yet.
 

JRoad

Developer
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
hmm...I'm not sure why they aren't compressing for me. did you do level 22 on that specific one (contra clothing)? also, placeholder dlc won't compress, correct? because challenge pack 4 and 5 of super smash bros. error. the only thing they have in common, from what I can see, is that they're placeholders for dlc that isn't out yet.
These are the legit dlcs i have from Contra. If you used a scene release they are unlockers which are created with hacpack. Unlockers aren't compressing.
You can check if they're unlockers with the Mode 4: File-Info and then verify if they're individual files or Mode 1 Individual Mode and the verify option for mass verifying files. The one from the individual mode outputs a badfiles.txt list in the program's finds files that don't pass the checks.

dlcs.PNG
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
I may have figured out the problem. it's the nsp. I downloaded another one of the assassin's pack, and it compressed. how do I know if this is working though? the original nsp verifies as complete with nsp verify.
 

JRoad

Developer
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
what compression level is that? this is what happens for me:

View attachment 182325

they're larger for no apparent reason.
Level22 with legit dlcs, what i'm trying to tell you is that unlockers which are the kind of dlcs that venom and suxxors do will not verify since they're non-legit and won't compress either.

--------------------- MERGED ---------------------------

I may have figured out the problem. it's the nsp. I downloaded another one of the assassin's pack, and it compressed. how do I know if this is working though? the original nsp verifies as complete with nsp verify.
If you decompress it it will verify again. I'm working on something to verify the files without decompressing them.
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
@JRoad , I was compressing many nsp games, and I guess someone clicked the x button, when I was away from the computer. I chose to resume the compression list, but has this affected anything? like if I were compressing devil may cry, then clicked the x off, should I start the entire list again? is devil may cry incomplete compression -- is that file deleted if the x was clicked before completion, so you only need to resume the compression list? I'm a bit worried, 'cause compressing this much content might take days, which is why I'm using two computers.
 

JRoad

Developer
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@JRoad , I was compressing many nsp games, and I guess someone clicked the x button, when I was away from the computer. I chose to resume the compression list, but has this affected anything? like if I were compressing devil may cry, then clicked the x off, should I start the entire list again? is devil may cry incomplete compression -- is that file deleted if the x was clicked before completion, so you only need to resume the compression list? I'm a bit worried, 'cause compressing this much content might take days, which is why I'm using two computers.
No, it removes the file from the list after compression\decompression so it will overwrite the one that was processing without issues.

--------------------- MERGED ---------------------------

Is a user interface planned for the program for people who don't work with scripts on a daily basis?
https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.93
If you use windows i added both compression and decompression to NSC_builder latest releases. It's backend "squirrel" would work on linux\mac but that requires scripting it.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
thanks, man. I'm up to the S's with my 83 or so games. it's taken a while, but it's not that bad really. it hasn't slowed down my computer or anything. one of the devil may cry games was compressed to 47% of its original size. quite impressive.
 

SonikBR

Member
Newcomer
Joined
Jul 23, 2019
Messages
9
Trophies
0
XP
80
Country
Brazil
@blawar if you want to update your file list... I have compressed all my NSP files. Games, Updates and DLC.
Everything at compression level 22 except a handfull of bigger games (those crashed my PC at level 22).
 

Attachments

  • nszstats.zip
    27 KB · Views: 140
  • Like
Reactions: mathew77

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
@blawar if you want to update your file list... I have compressed all my NSP files. Games, Updates and DLC.
Everything at compression level 22 except a handfull of bigger games (those crashed my PC at level 22).

try not using threads. I did all of mine on level 22, no threads. it took quite some time for 110 games to nsz and xcz, but I never had a crash. my computer is pretty shitty too. I was told not to use threads, because one of the devs said it was causing his computer to crash actually.
 
  • Like
Reactions: SonikBR

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/eJV6GaIEgd4?si=ciLPnlhfd7XcrxQn