Comments (14)
Providing this functionality would require a 'wrapper' FileRead() function that processes multiple split parts as one file. A 'wrapper' FileWrite() function would be required, too. This is not simple to do at all and one would have to be extra careful not to break anything else in the process.
So, is this really useful? Afaik, there is no rom so far > 2GB, meaning that the split feature is not required at all (roms of exactly 2GB can be trimmed by one byte). Also, the only piece of hardware / software that really supports these splitted roms at this time is GW (again, as far as I know), and GW doesn't really like fully decrypted roms.
from decrypt9wip.
Xeno is 4GB. I am aware that this can break stuff in weird and wonderful ways, I will try to be careful.
from decrypt9wip.
I just saw, the true limit is at 4GB for FAT32... so Xenogear Chronicles could still be decrypted even now if it is trimmed by at least one byte. Don't know if it's really worth the effort, but if you intend to do a pull request keep the changes as minimal and as separate to the existing code as possible.
Oh well, and I just see I might have chosen 32 bit variables for filesizes in some places. You might need to take care of that, too.
... and as a general hint, changes should only be required to fs.c. Maybe some minimal stuff elsewhere, but that's it.
from decrypt9wip.
That is the idea, I am planning on just checking the extension; if it is
split use a diffrent method to decrypt it.
On Feb 2, 2016 5:22 AM, "d0k3" [email protected] wrote:
I just saw, the true limit is at 4GB for FAT32... so Xenogear Chronicles
could still be decrypted even now if it is trimmed by at least one byte.
Don't know if it's really worth the effort, but if you intend to do a pull
request keep the changes as minimal and as separate to the existing code as
possible.—
Reply to this email directly or view it on GitHub
#19 (comment).
from decrypt9wip.
There's 24 games that use a 4GB cart, you can see which by going to http://3dsdb.com/ and searching for 32768
from decrypt9wip.
Still, as I said, trimming these files by just one byte will enable current Decrypt9 to process these files on FAT32, while enabling split rom decryption might break things.
from decrypt9wip.
@gudenau @einstein95 is there still any interest in this? Otherwise I'd close it.
from decrypt9wip.
Do we know if that 1 byte always contains garbage or padded data?
Could it be that we are losing data by trimming it?
For accurate dumping of 3ds carts we would have to be sure.
One simple option could be to keep on dumping after the limit is reached into a 2nd file.
Merging the files would have to be done on pc by the dumper.
from decrypt9wip.
D9 checks if that byte contains data or not. This was never the case, is very improbable, and will most likely never happen.
from decrypt9wip.
It's actually losing 512 bytes, also whereabouts does it check that the truncated part is just padding?
https://github.com/d0k3/Decrypt9WIP/blob/master/source/decryptor/game.c#L1983
Assuming it isn't losing actual data, can the program at least print a warning that it will need to be fixed before hashing?
from decrypt9wip.
You could have looked just a little bit above:
https://github.com/d0k3/Decrypt9WIP/blob/master/source/decryptor/game.c#L1982
Research on 3dbrew (topic: NCSD) if you want to know why this works. I agree that a quick debug output about removing the last sector makes sense.
from decrypt9wip.
Doesn't that just tell you the space is unpartitioned and not what's actually stored in the cartridge? Yes those regions should be 0xFF but the whole point of doing full cartridge is on the vague chance that it's not.
from decrypt9wip.
Well...
We've only got a handful of cartridges with 4GB size. None of these contain any data beyound the actual used space (actually there is not a single known case with 'hidden' data on any 3DS cartridge). Split dumps would be major annoyance - for me, to implement, and for the user to handle. Also, if you absolutely need split dumps, you can use uncart or GW software.
Besides - you would be better off writing some application that actually searches for that 'hidden' data if that's what you'd be after.
from decrypt9wip.
No problem. I'll attempt to hack my own check into decrypt9, that'll be enough for me. Thanks for adding the warning message and for your input.
from decrypt9wip.
Related Issues (20)
- Can't Dump Home Menu DLC HOT 1
- Ability to not dump a file to CIA/CXI if it already exists HOT 4
- SeedDB limit? HOT 5
- .firm version for latest Luma? HOT 3
- Content Decryptor, CIA Builder Game directory not found HOT 2
- Console info has wrong data HOT 1
- System Info Bug HOT 1
- Update to work with B9S 1.1/1.2? HOT 3
- Decrypt9 won't boot HOT 2
- Data abort crash on payload load HOT 1
- Can't convert .3ds to .cia anymore HOT 1
- decrypt9 boot error
- Error while dumping downloaded DLC HOT 2
- Decrypt9 unable to build CIA from game installed in EmuNAND HOT 8
- Ak2I " cardtrige is not ak2I".
- CTRNAND partition disappeared after CTRTransfer HOT 6
- Titlekey Decrypt (SysNAND): failed! HOT 1
- Ak2i Flash not restoring HOT 1
- Question
- Decrypt9WIP Doesn't Open HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decrypt9wip.