Conic
Member
This is my SRB2 MD2 model installer, which is interactive. I'll just quote my post from this forum post.
NEW VERSION!!!
I'd check the link for updates.
NEW VERSION!!!
I'd check the link for updates.
Conicpp said:Since I just LOVE outdoing Sky_Ninja in every way possible, I present my md2 model installer.
This one is not a WinRAR sfx, but a full C# .NET application.
As the title states, this is a Pre Pre Pre Alpha.
Expect to find lots of bugs.
Basically this is an installer for MD2 models that downloads them from a MD2 model repository. I'm currently hosting one, but it doesn't have very many MD2s in it. As in, 5. The bushes, the alarm, and sonic. (Ashnal's sonic. <-- Will eventually change to wizard sonic.)
It deletes your md2.dat, so I'd make a backup of your MD2 folder and md2.dat before trying this.
Here is how you make a repository:
In a directory on your website, make a file called models.txt
Despite the extension, this file is a csv file, which means you can use excel to edit it, but I would recommend using notepad. Here's the syntax:
<name>,<file>,<text>
...more...
eof
Name of model: This is the message in the message box that pops up, "Would you like to install the <nameofmodel> model?"
File name: This is the RELATIVE path of the model ZIP FILE. (It NEEDS to be a zip file. NO RARs OR ANYTHING ELSE.) If you have model files in another folder, MOVE THEM. They need to be in the same folder as models.txt. There should only be a file name, no '/' or 'http"//'. This would cause problems with EVERYTHING. The zip file needs to have two files. <whatever>.md2 and <whatever>.png. NOTHING MORE, NOTHING LESS.
Text file containing code: This is a text file that has the code to be inserted in md2.dat. This follows the same rules as the zip file.
YOU NEED THE COMMAS.
NO SPACES BEFORE OR AFTER A FIELD.
as an example of models.txt, this is mine.
alarm,alrm.zip,arlm.txt
Sonic,play.zip,play.txt
rings,bon1.zip,bon1.txt
bushes,bush.zip,bush.txt
eof
THE 'eof' IS CRITICAL!
also, for example, play.txt would have this in it:
PLAY PLAY.MD2 3.0 0.0
Post a link to that directory and tell people to use it in the program.
And that is how you make a repository.
New in Pre Pre Pre Alpha:
Menu strip
Random code cleanup (That you can't see)
new models.txt system
general awesomeness.
Automatic update checker
Post your suggestions, constructive criticism, mindless complements, etc. here.
Alright, bye.
Oh, yeah.
download Pre Pre Pre Alpha, the latest version.
.:.:Older Versions:.:.
These are out of date, so don't download them for anything other than Testing purposes.
download UBER PRE PRE PRE ALPHA.
Download Super Uber Pre Pre Pre Alpha. (In the installer for this one, it says "Pre Alpha", but it isn't.)