Homebrew RELEASE Ryjin: A NSZ Converter Mod

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
Is there any kind of framework required to run this? That may be this persons problem.
Nope sorry there is none. The program will run just a little bit longer to start than usual because of the decompression of the exe. This varies from person to person
 
  • Like
Reactions: DuoForce

fofe99

Member
Newcomer
Joined
Jun 2, 2019
Messages
11
Trophies
0
Age
24
XP
70
Country
Australia
a few games i compressed with nut using level 22 compression
>Hollow Knight NSP - 3.55GB
>Hollow Knight NSZ - 666MB

>Snipperclips NSP - 946MB
>Snipperclips NSZ - 120MB

>Dragon Ball Heroes World Mission NSP - 7GB
>Dragon Ball Heroes World Mission NSZ - 1.31GB

>SUPERHOT NSP - 2.46GB
>SUPERHOT NSZ - 701MB
 

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
a few games i compressed with nut using level 22 compression
>Hollow Knight NSP - 3.55GB
>Hollow Knight NSZ - 666MB

>Snipperclips NSP - 946MB
>Snipperclips NSZ - 120MB

>Dragon Ball Heroes World Mission NSP - 7GB
>Dragon Ball Heroes World Mission NSZ - 1.31GB

>SUPERHOT NSP - 2.46GB
>SUPERHOT NSZ - 701MB

In my next update i will be allowing users to select their compression level
 

fofe99

Member
Newcomer
Joined
Jun 2, 2019
Messages
11
Trophies
0
Age
24
XP
70
Country
Australia
Did i missed that? - compress with NUT?
I have here a Collection of .nsp on HDD and it would be nice to have them compressed/checked/deleted in one batch without copying around and other Mess :D
i meant the compressor python script blawwar has posted on github
 

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
New RYJIN update on the first page

Everything is now compressed on a single exe. no more folders no more zip. @nicoboss

Ryjin :A NSZ Compressor Mod V1.4
CHANGELOG
-NSZ GENERATED CAN BE INSTALLED BY TINFOIL/LITHIUM 5.x
-Enabled CPU threading for faster conversion speed
-Enabled automated batch conversion
-Applied fix for memory issue for updates [commit 53f7026]
-Applied all changes patch support, ticket error fix, bug fixes [commit #58dab25]
-Applied fix for Update issues resolved by NSZ 1.0
-Applied fix for source folders with spacing
-Converted the python into single exe.
-Combined the Automatic and Manual script into a single program
 
  • Like
Reactions: platanos

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
The next release ryjin 2 running on the latest nsz commit will be back to the usual python format. I realized converting files to exe was a big mistake. The reason for this was that whenever you run the program 16mb of file is being dumped to your temp folder. This was the reason for the slowdown. When I check my temp folder it was full of trash. 5gb of python left overs because of the converted python program.
Ryjin 2 will also feature block compression as well as solid compression thanks to @nicoboss for allowing multithread to exist innboth compression. There will be a big reminder inside the program to esure that you will know the difference between the two compression type. Will upload the ryjin 2 tomorrow morning. Thank you.
 
Last edited by GnK23,
  • Like
Reactions: platanos

nicoboss

Well-Known Member
Member
Joined
Feb 1, 2019
Messages
132
Trophies
0
Age
26
XP
1,196
Country
Switzerland
The next release ryjin 2 running on the latest nsz commit will be back to the usual python format. I realized converting files to exe was a big mistake. The reason for this was that whenever you run the program 16mb of file is being dumped to your temp folder. This was the reason for the slowdown. When I check my temp folder it was full of trash. 5gb of python left overs because of the converted python program.
Ryjin 2 will also feature block compression as well as solid compression thanks to @nicoboss for allowing multithread to exist innboth compression. There will be a big reminder inside the program to esure that you will know the difference between the two compression type. Will upload the ryjin 2 tomorrow morning. Thank you.
You don't need a reminder. Multithreaded compression is now the default for booth solid and block compression. I even removed --enable_solid_multithreading as further research proofed solid multithreaded compression to have an equal compression ratio often even resulting in the multithreaded solid compression being a few kilobytes smaller.
For your problem with packing: I recomend you to ship it as zip but include portable python with all the libraries preinstalled like I did for the portable version of https://nicobosshard.itch.io/floatmotion
 

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
You don't need a reminder. Multithreaded compression is now the default for booth solid and block compression. I even removed --enable_solid_multithreading as further research proofed solid multithreaded compression to have an equal compression ratio often even resulting in the multithreaded solid compression being a few kilobytes smaller.
For your problem with packing: I recomend you to ship it as zip but include portable python with all the libraries preinstalled like I did for the portable version of https://nicobosshard.itch.io/floatmotion

Instead of one file I would select directory okay check. There is now the second problem I message you earlier. Whenever I convert nsz 2.0 up to the latest commit to exe. The exe file does nothing. Blank screen then exit even as I run the script for ryjin. Nothing. Double clicking the generated exe does not even show anything on the screen.
 
Last edited by GnK23,

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
Ryjin 2.0 Final
Posted on the first page.
For future updates just download latest commit and drop it inside the ryjin folder. I wont be updating ryjin anymore since it has already served its purpose.
Went back to the old python format to support future updates by nicoboss.
 

nicoboss

Well-Known Member
Member
Joined
Feb 1, 2019
Messages
132
Trophies
0
Age
26
XP
1,196
Country
Switzerland
@GnK23 What do you think about building like this: http://www.nicobosshard.ch/nsz/nsz_nuitka_17f153d_portable.zip
Built using "nuitka nsz.py --standalone" with python 3.7.5 x86_x64 and mingw-w64
Nuitka converts python to C making it much faster: https://nuitka.net/
Extract, insert keys.txt, and run it like ".\nsz.exe -C .\Game.nsp --threads 16 -w"
No Python or library installation required and much better performance!
At least my future NSZ releases will probably use this method.
Also NSZ v3.0 will probably have a GUI.
 
Last edited by nicoboss,
  • Like
Reactions: GnK23

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,261
Country
United States
Is there a way to force deletion of the NSP immediately after an NSZ is created, or having different input/output dirs?

I have a hard drive with little space and want to batch convert all the NSP there to NSZ, but don't have space to store both.
 

GnK23

Well-Known Member
OP
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
Is there a way to force deletion of the NSP immediately after an NSZ is created, or having different input/output dirs?

I have a hard drive with little space and want to batch convert all the NSP there to NSZ, but don't have space to store both.
Will check on the codes again during my spare time. Personally I removed the delete command from my script because I don't want to accidentally delete my nsp.

EDIT:
I checked the codes and it is not possible without editing the main nsz.py. If @nicoboss will add a new command to delete the nsp after it compresses then it will be possible to add it for the batch program. My codes simply executes command in a batch format.
 
Last edited by GnK23,
  • Like
Reactions: Rahkeesh

Philliyxx

Well-Known Member
Member
Joined
Sep 21, 2018
Messages
304
Trophies
0
Age
36
XP
943
Country
United States
Can you compress nsz further/again after converting the nsp to nsz the first time? I did a few already deleted the nsp but may want to choose a higher compression level.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse