Alrighty, so I don’t know about the rest of you devs, but I hate sorting through the GCF files to find stuff. So, I made a resource browser. It allows you to browse through all the files that are mounted in game.
[Add] Find in files
[Add] History for folder locations
[Add] Preset examples for filters
[Add] Image Viewer
[Add] Folder tree on the left
[Change] Text viewer greatly improved:
- Line numbers toggleable
- Word Wrap toggleable
- Vertical and horizontal scrollbars
- Copy to Data shortcut
[Change] Improved material viewer
- New look
- RGBA modifiers for images that support it
[Change] Improved Properties Viewer
[Change] Improved sound player interface
[Change] Improved map changer interface
[Change] Browser and Text Viewer are resizeable
[Fix] Address bar buggyness
[Fix] Derma compatibility
It allows you to browse through all available content, and at a fast rate. To give an example, my models folder has 1,223 files in it, and it takes 3 seconds to open it. That’s .002 seconds per file!
However, this would be much less awesome and useful if it stopped there. I’ve also included functionality in “readers” - there are currently ( in v1 ) a handful of readers:
The text reader currently supports word wrapping and vertical scrolling.
The sound player allows you to listen to sounds, and be able to change the pitch / volume to get a preview.
I’ve also included an HTML viewer.
With this plethora of functionality, you will never ever have to sort through those damned .gcf files again.
This is all completely client side, so you can use this on any server ( for whatever reason ). ( I don’t know if ScriptEnforce blocks this or not ).
I’ve worked on this for a long time, and all code is 100% original. If you would like to borrow code or extend the functionality, please let me know
If you are interested in adding a view ( or have a suggestion to improve one ), send me a pm, reply here, or email me.
– INSTRUCTIONS –
Download. Extract to addons/
In-game, type browser_open to open the browser. It’s that simple!
– KNOWN BUGS –
- The filebrowser scrollbar is a little funky ( I recoded the scrollbar for this one, I hate how DVScrollbar works
- Really large materials aren’t very viewable in material viewer