So I just saw that. sorry for the delay... I think I've seen this issue mentionned before, on OG maybe? I'll try and check what I can do, but I don't know when I'll have the time. At the very least if should be easy to add a "safe_track03_padding" option for GDIShrink, with default to True. If you really wanna save an extra 30k per dump, then you can disable it. I should also migrate this project to Python3 eventually ...
So I just saw that. I'll try and check what I can do, but I don't know when I'll have the time. At the very least if should be easy to add a "safe_track03_padding" option for GDIShrink, with default to True. If you really wanna save an extra 30k per dump, then you can disable it. I should also migrate this project to Python3...
So I just saw that. I'll try and check what I can do, but I don't know when I'll have the time. At the very least if should be easy to add a "safe_track03_padding" option for GDIShrink, with default to True. If you really wanna save an extra 30k per dump, then you can disable it.
Also, is there a reason you change this bit from 82 to 81? https://imgur.com/REEQTox
Track03 needs more buffer?
Added an example script to dump 11702LBA cdi files.
gditools does not extract empty directories
If someone really needs those emty folders on Win10, they could maybe run the script in Win7 compatibility mode. I'll close the ticket for now then, thank you for your feedback!
Also tested on a RHEL machine and worked there too. So it working in Windows 7 and Linux with Python 2.7.16 / 2.7.17 is good enough for me.
Well, I'm trying to use an os-agnostic way to create files/folders, it's somewhat strange that it wouldn't create the folders under Windows but I don't really see what I could do here...
Strange, it didn't extract the empty directories on a Windows 10 machine of mine but it did extract them on a Windows 7 machine with Python 2.7.16
It works on my side... Please ensure there's no pyc file still present and that line 312 is for i in self._sorted_records(crit='EX_LOC', nodirs=False): If you're using gditools in another script, gditools.py could be bypassed by an older gditools.pyc.
It works on my side... Please ensure there's no pyc file still present and that line 312 is for i in self._sorted_records(crit='EX_LOC', nodirs=False): If you're using gditools in another script, gditools.py would be bypassed by an older gditools.pyc.
It works on my side... Please ensure there's no pyc file still present and that line 312 is for i in self._sorted_records(crit='EX_LOC', nodirs=False):
I retested with the updated gditools.py, but the empty subdirectory (DPWWW/MODEL/) in Napple Tale is still not being extracted with the --extract-all command line argument.
It should be fixed, please test and report. The reason for the bug was that sorttxt.txt file don't typically include directories, so I was stripping them out. It will still trip them out when building a sort file, but not when dumping a complete filesystem. I've accidentaly commited some better detection of blank data for GDIShrink that still somewhat experimental. Keeping it in case someone could be interested.
Ensure creation of empty directories
I have tested on two different machines (Python 2.7 on Windows 10, and Python 3 on Windows 7.)
Alright I'll look into it in the next few days, should be a relatively simple fix. In case it turns out to be pertinent, could you just tell me the version of python and os you've used. Thanks!
Yes, I can confirm that I am using the latest version. "Napple Tale - Arsia in Daydream v1.006 (2000)(Sega)(JP)[!]" is an example title that has an empty directory. Specifically, "/DPWWW/MODEL/" is an empty directory that exists in that game image.
Could you confirm that you're using the latest commit from the Code section? Here: https://sourceforge.net/p/dcisotools/code/ci/master/tarball Also, if you could provide me with a the name of a title with empty directories to test that'd be helpful.
Could you confirm that you're using the latest commit from the Code section? Here: https://sourceforge.net/p/dcisotools/code/ci/master/tarball
gditools does not extract empty directories
gdishrink Step #3: Fixed merging of tracks lists
gditools.ISO9660: Added a more direct get_file method.
Removed GDIshrink class. Turns out a function was a better approach.
gdishrink: Added *compression* estimation.
gdishrink: First complete version
gdishrink: #TODO sanity check not to forget it
gdishrink: Preliminary function to shrink gdi. OOP seems too complicated for that functionality in the end.
Towards GDIshrink: best practices to generate t...
Towards GDIshrink: support for 3tracks gdi, tha...
Towards GDIshrink: added methods to generate a ...
Towards gdishrink: correct copying of list and ...
Towards gdishrink: now keeping original and bac...
Towards gdishrink: cleaner backups
Towards gdishrink: gdi backup method
Minor corrections
Towards gdishrink: access to the gdi filename i...
Towards gdishrink: preliminary GDIshrink class
Towards gdishrink: more exhaustive gdi parsing.
Towards gdishrink: methods to get the <last toc...
HDD optimization: Dumping files from beginning ...
BETA Support for CDI: Can now dump ip.bin from ...
Added .gitignore
HDD optimization: Dumping files from beginning ...
BETA Support for CDI: Added support for 2336 by...
Added _last_read_toc_sector attribute, stores l...
Cleaned hidden files
Required directories are now created when dumpi...
Removed pyc file
Corrected usage and tweaked readme.txt
addons/bin2iso.py: Modified so it works with th...
_copy_buffered: Fixed a bug when a file was 0 b...
main: Fixed absolute path handling of output pa...
get_sorttxt: added a spacer option. Mulitplies ...
Minor modification to addons/bin2iso.py
Modified for Mac OS X compatibility.
Added Gui_Helper
Fixing setupgui.txt file before release.
Merge branch 'master' of ssh://git.code.sf.net/...
Fixing some documentation files. Ready for rele...
Merge branch 'master' of ssh://git.code.sf.net/...
Adding some documentation files. Ready for rele...
Ready for the first GUI release, making some mi...
Better errors handling
Some fixes done under Ubuntu
Testing RabbitVCS
Major refactoring of folders tree. Adding the G...
Wrote a readme.txt
Merge branch 'master' of ssh://git.code.sf.net/...
Added an Example: bin2iso.py
Added an Example: bin2iso.py
gdifix: Minor usage modification.
Wrote gdifix.py