Android AssetManager - Case sensitive/

Started by
1 comment, last by NiteLordz 11 years, 5 months ago
in my engine, i open an asset using AAssetManager_open(__AssetManager, fixedName.CString(), AASSET_MODE_RANDOM);

this works fine, if the fixedName that is passed in has the same case as the file stored in the apk... how can i make it so that i can pass in a lower case name and have the file be stored as camelcase ( or whatever i want. )

or do i have to basically settle on every asset being saved on hard disk in one format, and loading that asset in the same format?
Code makes the man
Advertisement
Most operating systems, including Linux (and therefore Android) use case sensitive file systems.

If the underlying file system is not case sensitive -- such as a FAT-formatted SD card -- then any case will work.

If the underlying file system is case sensitive -- which many device file systems are -- then your case must match.
so on Windows im fine, but on android i need to maintain the same case... thanks much :)
Code makes the man

This topic is closed to new replies.

Advertisement