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?
2 replies to this topic
Ad:
#2 Moderators - Reputation: 7624
Posted 26 October 2012 - 11:11 AM
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.
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.
Edited by frob, 26 October 2012 - 11:12 AM.






