User:RavuAlHemio/Vice with better wildcard handling: Difference between revisions
m (Added mirror) |
Rayman1103 (talk | contribs) (→Mirrors: Added new download mirror) |
||
Line 9: | Line 9: | ||
* [http://ondrasplayground.on.funpic.de/vice3.zip Ondra's Playground] ([[User:RavuAlHemio|RavuAlHemio]]'s site) - Seems to be broken | * [http://ondrasplayground.on.funpic.de/vice3.zip Ondra's Playground] ([[User:RavuAlHemio|RavuAlHemio]]'s site) - Seems to be broken | ||
* [http://www.mediafire.com/?x3nnbqz7q0d2iju MediaFire] | * [http://www.mediafire.com/?x3nnbqz7q0d2iju MediaFire] | ||
* [https://www.dropbox.com/s/hz6z18d452r9j79/Vice3.zip?dl=0 Dropbox] ('''Built 7/20/2021''') | |||
Feel free to edit this page and include more mirrors. | Feel free to edit this page and include more mirrors. |
Latest revision as of 09:30, 20 July 2021
Since improving Vice is so popular on this wiki, I have decided to release my own improvements to the mix.
Summary
Instead of manually enumerating a directory (and handling the single case of a lone asterisk passed as the file argument), I use more effective methods offered by the operating system (FindFirstFile/FindNextFile on Windows, glob on Unix). This way, you can pass a complex file name (such as weapon_*.c?x, which will match both weapon_ak47.ctx and weapon_aug.cax) and Vice will be able to handle it. (Note, however, that on Windows, asterisks in folder names do not work. For example, ..\..\stuff\weapon_*.ctx will be successful, while ..\..\*\weapon_*.ctx will not.)
The archive contains the sources and a 32-bit Windows binary! main.cpp contains information on how to build the program with Visual C++ and GCC. Feel free to reuse the code in ultraglob.c and ultraglob.h in your own projects. The program has been tested successfully on Windows XP, Linux and Mac OS X; it should, by extension, work on other BSD systems too.
Mirrors
- Ondra's Playground (RavuAlHemio's site) - Seems to be broken
- MediaFire
- Dropbox (Built 7/20/2021)
Feel free to edit this page and include more mirrors.