Hardware New App: NKit - Restore, Shrink and Preserve Disc Images in Playable (Formerly SWiiT)

nanook

Well-Known Member
OP
Member
Joined
Dec 17, 2008
Messages
115
Trophies
0
Website
www.scorehero.com
XP
938
Country
Moved to https://gbatemp.net/threads/nkit-re...-and-gamecube-disc-images-as-playable.548479/


The tools in this release are to restore and preserve Wii and GameCube images.

Restore:
Wii and GameCube restoration primarily works by regenerating junk data removed by various other tools and formats to help make images smaller. NKitRestore.exe will regenerate this data and attempt to match the CRC of a known good image from Redump. Sometimes this is not enough. In this case Recovery files used if present to help force a match. These can be extracted from a good image using NKitRecoveryExtract.exe​

Convert:
NKitConvert shrinks any image in its exact state to the nkit format. The format is reversible and will always produce the same image it was originally used on. This is currently GC only.​

Features:
  • Unscrub Wii/GC images from scene/scrubbed/wbfs(file)/iso.dec/iso/gcz
  • Read the above images from Rar/Zip/7zip etc
  • Convert GC images to nkit format (small, playable, reversable)
  • GC nkit format CRC matches source image CRC
  • GC nkit format can be gcz un/compressed by the included apps
  • GC nkit format aligns audio and tgc files to 32k for playability
  • Create CRC/SHA1/MD5 checksums
  • Rename restored images to match Redump dat crc
  • Rename restored images to match a secondary Redump compatible dat crc
  • Insert missing Wii Update (inc rare extra data), Channel and VC partitions
  • Replace Brickblocked Update partitions
  • Auto fixes modified disc headers (where the Data header remains intact)
  • Fixes rare corrupt Wii partition table (caused by WBM)
  • Fixes rare Wii 0 byte file scrubbing (caused by WIT)
  • Fixes truncated Wii images (where the Data partition is intact)
  • Fixes slightly overdumped images too (descrambled)
  • Fixes Wii Data partitions moved before 0xF800000 to save space
  • Fixes compacted GC images
  • Fixes moved and reordered GC files
  • Fixes modified GC headers (inc. title, region hacks)
  • Fixes mod chip modified GC apploaders
  • Fixes GC images with non conformant junk
  • Support for GC images with junk not generated with the image ID
  • All regions supported
  • Optimised for performance
  • Reusable library for use in other projects
Read the Readme and the FAQ

Any other questions, just ask. Wii nkit format will be coming soon.

Edit ** Fix to the Config for Wii Repair **
Edit ** 0.5: Fixed padding of last block of gcz compressed files - Files decompress perfectly, but the size could different between encodings. NKitRestore can be used to recompress the nkit.gcz to the exact file to match a dat if required **

...NKit Wii is getting closer....
 

Attachments

  • NKit-v0.5.7z
    266 KB · Views: 4,270
Last edited by nanook,

Reploid

Well-Known Member
Member
Joined
Jan 20, 2010
Messages
2,824
Trophies
2
XP
6,258
Country
Serbia, Republic of
Kewl, but maybe not that useful. I mean how much space we can winback? Even if it's like 20%, might not be all that noticeable, considering size of today's drives.
 

johnsanc

Well-Known Member
Newcomer
Joined
Sep 27, 2016
Messages
46
Trophies
0
Age
40
XP
812
Country
United States
I think you downplayed a key feature here... this is an ARCHIVE grade lossless format that is playable in Dolphin and works on real hardware using a USB Loader.
Yeah the space savings aren't crazy considering GC games aren't huge to begin with and HDD space is relatively cheap... but still, you could fit every single GC game ever made on a 2 TB HDD.

Great work Nanook!
 

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
@nanook - Just to give you a heads up, I'm working on a frontend for this, as it's a really cool program, yet i know CLI stuff scares some people off. I'll probably create a new thread once it's in a reasonably good place and can at least pass through all the basic settings.
 

nanook

Well-Known Member
OP
Member
Joined
Dec 17, 2008
Messages
115
Trophies
0
Website
www.scorehero.com
XP
938
Country
@nanook - Just to give you a heads up, I'm working on a frontend for this, as it's a really cool program, yet i know CLI stuff scares some people off. I'll probably create a new thread once it's in a reasonably good place and can at least pass through all the basic settings.

Are you using .net? If so you're probably best off interfacing with the dll as it will allow you to receive progress and messages directly. It does its processing on a background thread. It's not all fully finalised and there may still be breaking changes. You can reverse one of the exes to see how it's currently done ;-)

There is a large result set returned from processing also (It's not perfect, but it's a start) that will tell you about the state of the image etc.

Welcome aboard
 
Last edited by nanook,

dubbz82

Well-Known Member
Member
Joined
Feb 2, 2014
Messages
1,572
Trophies
0
Age
41
XP
1,215
Country
United States
Gotcha. Right now I was just calling the executable directly with system.diagnostics, but it sounds like that may be a better solution.
 

PawsofHorror

Well-Known Member
Newcomer
Joined
Mar 15, 2019
Messages
46
Trophies
0
Age
23
XP
177
Country
Greece
Reduced size while being playable in Dolphin sounds cool for Wii games, will the shrinked by this tool Wii files be smaller than wbfs? (Which also work in Dolphin and can be restored back to a Redump iso if you have the update partitions)

Wonder how big a super smash bros file will be with your tool, the clean iso is 7gb and most of the wbfs I saw are nearly the same sizeswhile the USA iso.dec files are 5gb (but unplayable)

Never saw a playable and reduced GameCube game before but the size of the clean ISO's is 1GB so I don't care much about those (but this should be useful for people who use Dolphin on Android phones but they need to find your tool first and a big percent of the mobile Dolphin userbase is unaware of such tools xD)

Speaking of Android it would be amazing if someone would port this or a similar tool like nNASOS and a rom scanner like clrmamepro, nowadays there are phones with 1TB space and 512 GB SD cards so storing roms can be done in such a portable device but a computer is always needed to use
 

nanook

Well-Known Member
OP
Member
Joined
Dec 17, 2008
Messages
115
Trophies
0
Website
www.scorehero.com
XP
938
Country
Testers have reported average savings of about 250mb an image over iso.dec before GCZing. Dual Layer could be more. I could make an Android version. The code is written to be Endian safe. I need to test it though.
 
  • Like
Reactions: PawsofHorror

RandomByte

New Member
Newbie
Joined
Mar 15, 2019
Messages
4
Trophies
0
Age
44
XP
57
Country
Pakistan
Testers have reported average savings of about 250mb an image over iso.dec before GCZing. Dual Layer could be more. I could make an Android version. The code is written to be Endian safe. I need to test it though.

Hi, thanks a lot for sharing your work with comm. The app looks very promising. Any plans for batch processing option? Tested on a single file (compressed to .gcz) and it reduced around 110mb (1.23 gb gcz to 1.11 gb nkit.gcz).
 

nanook

Well-Known Member
OP
Member
Joined
Dec 17, 2008
Messages
115
Trophies
0
Website
www.scorehero.com
XP
938
Country
Hi, thanks a lot for sharing your work with comm. The app looks very promising. Any plans for batch processing option? Tested on a single file (compressed to .gcz) and it reduced around 110mb (1.23 gb gcz to 1.11 gb nkit.gcz).

It will scan subfolders and multiples of folders masks etc. Is that what you meant by batch processing?
 

Deleted member 388531

Well-Known Member
Member
Joined
Apr 13, 2016
Messages
691
Trophies
0
XP
1,850
I think this fucked up some of my games.
Luigi's Mansion now has a strange pale skin effect above eyes.
The Twin Snakes freezes at 0FPS at the first codec call.
....and I still have around 13 more games to test.
 

Deleted member 388531

Well-Known Member
Member
Joined
Apr 13, 2016
Messages
691
Trophies
0
XP
1,850
If NKit matched it to redump on convert it should be okay. The issues you're seeing could be a file alignment thing after being compacted. It will be looked at and tested
Got clean redump iso for LM, will post screenshots in a few.

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

Pale skin is still there. EDIT: There is also a 20KB difference.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
    The Real Jdbye @ The Real Jdbye: i don't think they want to take more focus away from their gpus