Comments (3)
I initially considered supporting UAEFSDB metadata files when copying from an image file/disk to local directory they would be created and when copying from local directory to an image file/disk use them if they exist to read escaped filename and attributes.
UAEFSDB metadata files seems to work with most Amiga emulators, but was not aware of .uaem metadata files that appears to be introduced with FS-UAE. The content of those files is plain text and very simple, so they should be very easy to support following the format amitools support here https://github.com/cnvogelg/amitools/blob/2a6af0cd778b7e9d11a05618e6996e9a164301b7/amitools/fs/MetaInfoFSUAE.py.
Supporting both would be the best, but I will prioritize .uaem metadata files higher given it's simple format.
from hst-imager.
Having looked at FS-UAE documentation https://fs-uae.net/devel/docs/hard-drives.html with a simple example I realize that .uaem metadata files are not good enough to support all use cases.
The issue is filenames within Amiga filesystem can contain characters that Windows, Linux and macOS doesn't support. To fix this the metadata files must also save the original filename as it's seen on the Amiga and .uaem metadata files only contain protection attributes, timestamp and comment.
As an example take a look at Calephar WHDLoad game (files version), which contain the filename "CalepharFiles/data/#?+-". This can't copied to local directory as it's characters aren't support on Windows. Maybe Linux and MacOS can support it to some extent. But there a reason why this WHDLoad game is compressed using lzx and that is to preserve it's filename characters.
A simple approach to support filenames in .uaem metadata files could be to just having an extra line with the filename, something like:
----rwed 2013-02-12 21:20:52.02 hello
Hello#?+-\.data
That should not break the existing format and other tools could still support the first line with protection attributes, timestamp and comment.
from hst-imager.
I have done some research and testing of both WinUAE's UAEFSDB files and FS-UAE use of .uaem files. Actually .uaem does already support special AmigaOS filename characters by escaping them with percent + hex value like this "file%2a" to represent filename "file*".
from hst-imager.
Related Issues (13)
- JavaScript Error with the GUI version likely due to OS language HOT 3
- Proposed feature #1 - Fill the partition with a percentage of the disk space available HOT 2
- Proposed feature #2 - Change the Mask HOT 3
- Proposed feature #3 - non-RDB images HOT 5
- Maybe a little bug - Boot Priority cannot be negative HOT 2
- Low: DOS7 format HOT 3
- Possible format issue with two FSes in the RDB HOT 3
- List directory content and copy files to and from images HOT 5
- Excellent program, immediately replaced anything else I had - small request for SATA HOT 3
- Ability to detect virtual Amiga drive inside MBR 0x76 partition HOT 3
- Windows version: Files with leading/trailing spaces or dots HOT 1
- unable to run hst-imager console on Sonoma 14.4.1
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 hst-imager.