1. ReikaRin

    ReikaRin GBAtemp Regular
    Member

    Joined:
    Mar 21, 2018
    Messages:
    113
    Country:
    Indonesia
    upload_2019-2-2_4-30-16.png

    how to solve this ?
     
  2. nicoboss

    OP nicoboss GBAtemp Regular
    Member

    Joined:
    Feb 1, 2019
    Messages:
    118
    Country:
    Switzerland
    Tell me exactly which game and version and it will be fixed as soon as possible – probably in the next 24 hours. I obviously was only able to test nsZip with the games I own so there could be some edge cases I missed. My program will always crash if something seems wrong so it’s extremely unlikely to ever get a corrupted NSPZ. Just try another game until it’s fixed.

    Edit: Thanks a lot for your bug report. I was able to recreate the issue and will try to fix it tomorrow. There is something wired going on with newer NDV0 files where the header specifies a larger file size then it's physically file size. The NDV0 file is still very undocumented so I will have to do some research. This issue won’t affect any base games or DLCs NSP files.
     
    Last edited by nicoboss, Feb 2, 2019
  3. Oleboy555

    Oleboy555 Wie dit leest is een zemmel
    Member

    Joined:
    Feb 8, 2017
    Messages:
    887
    Country:
    Netherlands
    I'm currently compressing a Mario Kart 8 XCI on a 6 core cpu but it is taking a very long time to write all the 27630 blocks.
    Is this intended?
     
  4. ReikaRin

    ReikaRin GBAtemp Regular
    Member

    Joined:
    Mar 21, 2018
    Messages:
    113
    Country:
    Indonesia
    i got it working with mario kart v589824 (132mb to 79mb), Gear Club 2 v262144 (1 gb to 783 mb)
    not working with Smash Bros v262144, rocket league v983040, Diablo 3 v131072, splatoon 2 v1966080, DB fighter z v196608
     
    Last edited by ReikaRin, Feb 1, 2019
  5. nicoboss

    OP nicoboss GBAtemp Regular
    Member

    Joined:
    Feb 1, 2019
    Messages:
    118
    Country:
    Switzerland
    Yes, the game is quite large. I'll add an option to lower the compression level to speed up that progress a lot by trade off some compression ratio in the next version. The default compression level of 18 was probably too high as I always tested on a 16 cores 32 thread CPU.
     
    Last edited by nicoboss, Feb 1, 2019
    tiliarou and Oleboy555 like this.
  6. Oleboy555

    Oleboy555 Wie dit leest is een zemmel
    Member

    Joined:
    Feb 8, 2017
    Messages:
    887
    Country:
    Netherlands
    it finally finished after around 30-40 minutes and took the filesize from 7.43 GB (7,985,954,816 bytes) to 5.27 GB (5,667,007,757 bytes)
     
  7. tigersaman

    tigersaman Advanced Member
    Newcomer

    Joined:
    Jul 10, 2018
    Messages:
    68
    Country:
    Iran
    This is very good. it reminds me of .cso format for psp. thank you.
     
  8. raxadian

    raxadian GBAtemp Addict
    Member

    Joined:
    Nov 10, 2018
    Messages:
    2,103
    Country:
    Argentina
    Most likely.
     
  9. Reploid

    Reploid GBAtemp Advanced Maniac
    Member

    Joined:
    Jan 20, 2010
    Messages:
    1,911
    Country:
    Serbia, Republic of
    Would be cool if it could compress installed game on the console.
     
  10. ZachyCatGames

    ZachyCatGames GBAtemp Psycho!
    Member

    Joined:
    Jun 19, 2018
    Messages:
    3,060
    Country:
    United States
    You probably could. But you probably wouldn't be able to run the game while its compressed lol.
     
  11. Reploid

    Reploid GBAtemp Advanced Maniac
    Member

    Joined:
    Jan 20, 2010
    Messages:
    1,911
    Country:
    Serbia, Republic of
    thats why psp is better
     
  12. Phantasia

    Phantasia Member
    Newcomer

    Joined:
    Aug 17, 2009
    Messages:
    19
    Country:
    Now that would be an interesting concept. Running the compressed files straight from the console!
     
  13. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    6,175
    Country:
    United Kingdom
    Why make load times even worse?
     
  14. RomAnOCrY

    RomAnOCrY GBAtemp Regular
    Member

    Joined:
    Jan 2, 2011
    Messages:
    251
    Country:
    France
    hummm... it's "only" to stock NSPz/XCIz in local hard drive ?
    We can't launch it directly (XCIz) in SXOS ?
     
  15. Cyan

    Cyan GBATemp's lurking knight
    Former Staff

    Joined:
    Oct 27, 2002
    Messages:
    23,256
    Country:
    France
    not yet.
    like he said on first post, it's probably possible with sysmodule.
    this is a new format, and the switch is still in early hacking, give it time.
     
    RomAnOCrY likes this.
  16. annson24

    annson24 The Patient One
    Member

    Joined:
    May 5, 2016
    Messages:
    1,175
    Country:
    Philippines
    Installing an .nsz file is probably more plausible than compressing an installed title. idk
     
    tiliarou likes this.
  17. Cyan

    Cyan GBATemp's lurking knight
    Former Staff

    Joined:
    Oct 27, 2002
    Messages:
    23,256
    Country:
    France
    ah, you are right, nsp are installed to the console.
    I only thought about game direct access like ciso on PSP (and like SXOS with xci). direct xcz reading might be possible.

    installing xcz/nsz is probably the next step.
     
    klear likes this.
  18. Idontknowwhattoputhere

    Member

    Joined:
    Jan 19, 2019
    Messages:
    757
    Country:
    United Kingdom
    Linux support? this work under wine?
     
  19. nicoboss

    OP nicoboss GBAtemp Regular
    Member

    Joined:
    Feb 1, 2019
    Messages:
    118
    Country:
    Switzerland
    I just released nsZip version 1.0.1!
    Version 1.0.1 Changelog:
    - Let the user continue when detecting a yet unimplemented multifile NDV0 fragment. I'll add proper support for that unimplemented multifile NDV0 fragment format in the following days.
    - The compression level can now be changed (tradeoff between speed and compression ratio)
    - The block size can now be changed (tradeoff between random access time and compression ratio)

    As answer to all the speculation about what's next:
    After improving the PC tool even more the next step will probably be Yuzu support and Tinfoil/Goldleaf like XCIZ/NSPZ installing. If the format gets popular, I could imagine TX adding XCIZ support to their XCI-launcher. Way in the future somebody might write a system model for launching compressed installed NSPZ games. Technically all of this would be possible as the format supports random read access and has way faster decompression speed then any SD-Card's read speed - the question is more if somebody will do it which we can't know now.

    You can try compiling nsZip using Mono on Linux. However, this isn't officially supported yet and so there might be some compilation errors. Mono builds for Linux/MacOSX are planned for the future.
     
    Last edited by nicoboss, Feb 2, 2019
    hippy dave likes this.
  20. Idontknowwhattoputhere

    Member

    Joined:
    Jan 19, 2019
    Messages:
    757
    Country:
    United Kingdom
    Ill try it in a vm under wine will post my results
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - decompressor, compressor, storage