SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > Outdated Releases (2.0.X) > Miscellaneous (2.0.X)

 
 
Thread Tools
SRB2 Launcher Details »»
SRB2 Launcher
Version: 1.5.1, by sonicfreak94 sonicfreak94 is offline
Developer Last Online: Oct 2017

Version: SRB2 Rating:
Released: 05-09-2013 Last Update: Never Installs: 2
Additional Software

Note: A newer version with SRB2 2.1.X support (and below) is available here: http://mb.srb2.org/showthread.php?t=38488

This launcher is based on a design I've had laying around for about two years but never put any functionality into. It's "written" (drag 'n drop!) in C# using Visual Studio which doesn't sound the best, I know... but who cares! =P

This requires .NET Framework 4.0 or higher.

Also, I'm prefixing this with "EXE mod" since it's the closest to being applicable, and these types of releases are seemingly within the rules.

Features:
  • You can add and remove multiple custom files (wads etc) simultaneously [see screenshot]
  • You can drag and drop files and directories into the file list (dragging in directories recursively adds all files from the directory, and all its sub directories)
  • You can add files from other directories (so if SRB2 is in your documents and there's a file on your desktop you want to use, it won't crash!) [see screenshot]
  • You can change the order of the file list which subsequently changes the order they're loaded in SRB2
  • You can host or join (directly by IP) a netgame right from the launcher
  • You can warp directly to a stage with whatever gametype you like whether you're hosting a server or just playing single player
  • You can warp to maps by using their ingame numbering system (e.g A1 for 101; the first level of Mystic Realm)
  • You can save and load file list profiles for easy access to commonly used custom files
  • Custom command-line arguments
Planned features:
  • Map name display by reading level headers or maincfgs... maybe.
  • Profiles for launcher settings

tl;dr it does everything the SRB2 Net launcher did except better with some extra stuff.
Also if the source code is really necessary in this situation, I can upload it. But I warn you, it's terrible. I'm not really used to C# coming from C++.


There are some checkboxes in the join netgame tab that are currently disabled simply because I was too lazy to implement. That, and they appear to effectively do the same thing, so I haven't chosen one or the other. Ignore for now!

Anyway, tell me what you think (if it makes it through submissions)!
And credit to SSNTails for the icon which I shamelessly stole from his website and cropped =P

Download Now

File Type: zip SRB2 Launcher.zip (206.4 KB, 930 views)

Screenshots

Click image for larger version

Name:	1.1 Files.png
Views:	950
Size:	20.9 KB
ID:	3279   Click image for larger version

Name:	1.2 Files.png
Views:	748
Size:	20.2 KB
ID:	3280   Click image for larger version

Name:	2.1 Netplay.png
Views:	732
Size:	20.0 KB
ID:	3281   Click image for larger version

Name:	2.2 Netplay.png
Views:	691
Size:	23.2 KB
ID:	3282   Click image for larger version

Name:	3. Options.png
Views:	677
Size:	25.6 KB
ID:	3283  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 05-18-2013   #22
Iceman404
Tyler52 Forever
 
Iceman404's Avatar
Default

A server option to automatically set monitor item frequencies (High, medium, low) for all the items in the game, respawn time, countdown time, intermission time, if cheats are enabled, and friendlyfire.
__________________
Kart Krew Workshop Thread
SRB2 Top Down & SRB2 Kart
Iceman404 is offline  
Old 05-19-2013   #23
sonicfreak94
 
sonicfreak94's Avatar
Default

Update time already! Implemented extended map number support as well as file sorting.
sonicfreak94 is offline  
Old 05-19-2013   #24
sonicfreak94
 
sonicfreak94's Avatar
Default

Sorry for the double post, but I done goofed. I wasn't checking if the map number properly, so warping to map 1 would take you to 101. Now it also warns you if the specified map number was less than two characters and wasn't a number, and it takes you to that location in the UI--so if it's nested in the netplay tabs, it takes you there to fix it.

Less than two characters is fine if it's < 10.

Last edited by sonicfreak94; 05-19-2013 at 09:54 PM.
sonicfreak94 is offline  
Old 05-20-2013   #25
sonicfreak94
 
sonicfreak94's Avatar
Default

... One more fix. Added error checking to map number shenanigans and only allow alphanumeric characters. Next time I upload a new version, let's hope it's for a new feature and not another quick fix. ._.'
sonicfreak94 is offline  
Old 05-20-2013   #26
Puppyfaic
*panting sounds*
 
Puppyfaic's Avatar
Default

Max players doesn't work when hosting. I set it to 18, when the server loaded it was still at 8--the default.
__________________
Quote:
Originally Posted by Frostay
Yeah fuck you too you insufferable twat.
Puppyfaic is offline  
Old 05-20-2013   #27
sonicfreak94
 
sonicfreak94's Avatar
Default

Thanks for pointing that out. Looks like that's ANOTHER thing that I added without checking if it exists. While I'm at it, let me go ahead and check everything else to make sure it does. I really should have double checked this stuff before using this old template I made.

Not going to bother uploading a fix for it right now; next time I re-upload this will be for new features... which will hopefully include writing and reading from your config file which will fix this and the server name issue... unless something else comes up.
sonicfreak94 is offline  
Old 05-20-2013   #28
Sky The Destroyer
 
Sky The Destroyer's Avatar
Wink Read: Mockup

If you do happen to make a server listing thingie along with this awesome launcher, I made a random mockup in Paint.NET that I think you should go by :P



Obviously missing a join button but you get the point.
__________________
<SkyTheDestroyer> Why does the Master Server delist my server once it hits 32/32?
<SpiritCrusher> Your server has attained GOD STATUS
<SpiritCrusher> The MS can't display it anymore
Sky The Destroyer is offline  
Old 05-20-2013   #29
sonicfreak94
 
sonicfreak94's Avatar
Default

Yup, I had something similar in mind, actually. The only issue there is that the window size reduces the amount of visible information, because ideally I'd like to display the player count along with cheats enabled and game modified (probably represented by C and M with tooltips to describe them).

That being the case, I was also thinking of just having a "server list" button that opens up a new window and displays the list there.

Also, that settles it. I'm an idiot. The port option on the join tab didn't even function even though it should have. Re-uploaded. Again. Subsequently, the non-functional stuff from the host tab has been hidden.
sonicfreak94 is offline  
Old 05-20-2013   #30
Sky The Destroyer
 
Sky The Destroyer's Avatar
Default

Maybe you can make the window size adjustable or make the window bigger? I don't know about others, but I don't like the idea of another window.
__________________
<SkyTheDestroyer> Why does the Master Server delist my server once it hits 32/32?
<SpiritCrusher> Your server has attained GOD STATUS
<SpiritCrusher> The MS can't display it anymore
Sky The Destroyer is offline  
Old 05-20-2013   #31
sonicfreak94
 
sonicfreak94's Avatar
Default

To make the window resizable, I need a way to scale all the content inside, so I'd have to look into that. And while I can change the window size as a whole, the program was designed to be compact. There isn't much in it as it is (on certain tabs), so there would probably be a lot of blank space.

That gives me an idea, though. I could have the window size get larger only when on that tab, and then change back when the active tab switches. Maybe I'll give that a shot when the time comes.
sonicfreak94 is offline  
Old 05-23-2013   #32
sonicfreak94
 
sonicfreak94's Avatar
Default

Alright, since I'm going to (most likely) be preoccupied with Sonic Adventure for a while (new prototype with the old Windy Valley and more!), I'm uploading what I've got right now.

Changes are as follows:
  • Minor fixes to the UI (everything was literally 1 pixel too narrow for the window)
  • Added a browse button to the custom executable option and removed the checkbox (typing it manually is still an option)
  • Better handling of map numbers (complete with errors)
  • Added a warning when trying to connect to a netgame with files in the file list (since joining a netgame via command line evidently ignores -file)
  • General efficiency improvements

Once I get configuration for just about everything implemented, I'll add an option to disable non-critical warnings and errors, among other things.

Last edited by sonicfreak94; 05-23-2013 at 10:36 AM.
sonicfreak94 is offline  
Old 05-23-2013   #33
SSNTails
What part of 'RETIRED' don't you understand?
 
SSNTails's Avatar
Default

Here's an idea... what about filtering out custom wads by the scrmtf_ designation?

Like a dropdown where you can filter by Tag, Match, Race, etc... and the game parses the letters and lists the appropriate wads.

int underscoreIndex = filename.IndexOf('_');
string levelTypes = filename.Substring(0, underscoreIndex).ToLower();

if (levelTypes.Contains("c")) // Cooperative
;
else if (levelTypes.Contains('m")) // Match
;

etc....
__________________
Roly Poly Putt & TraceRace - Now out for Android, iPhone, iPad, and iPod Touch - http://www.spaddlewit.com
Follow me on twitter: http://www.twitter.com/SSNTails
SSNTails is offline  
Old 05-23-2013   #34
sonicfreak94
 
sonicfreak94's Avatar
Default

Hm, not a bad idea. I'll take note of that and see if I can manage it =P
I also had some other cool ideas when it comes to map selection, but that'll require some wad parsing... But first things first; configuration!
sonicfreak94 is offline  
Old 05-27-2013   #35
sonicfreak94
 
sonicfreak94's Avatar
Default

Whoops. Turns out I broke the window width text box but nobody noticed. Fixed now.
sonicfreak94 is offline  
Old 05-29-2013   #36
Torgo
Developer
 
Torgo's Avatar
Default

I found an interesting bug, in the custom resolution settings, when you type in the number, it types it from right to left.
__________________
If you see any other people named "Torgo" on the internet, it isn't me. I sometimes go by TorgoRandomNumbers in other places.
Torgo is offline  
Old 05-30-2013   #37
sonicfreak94
 
sonicfreak94's Avatar
Default

Yeah, that's what I fixed in my last post. Re-download and it should be fine. If not, then I'll look into it.
sonicfreak94 is offline  
Old 06-03-2013   #38
sonicfreak94
 
sonicfreak94's Avatar
Default

New feature time!

File list profiles are now implemented and fully functional!
You can now save lists of files with the order preserved, you can load multiple file list profiles at the same time, and you can merge file list profiles with the files you already have in the launcher's file list.

If a single file profile is opened, the "Save" option from the File menu is enabled to save changes to that file you opened. Otherwise, Save is disabled (Save As, Open, and New are still there!) when multiple profiles are loaded at once.

Additionally, there is now an About window that displays the version number among other things.

Special thanks to MainMemory for letting me use his INI file handler (and CyberKitsune for explaining to me what in the world a dictionary in C# is). I went for INI over XML in this case purely for readability and ease of editing.

I also added custom command-line arguments to the options tab =P

New screenshots coming eventually.

Last edited by sonicfreak94; 06-03-2013 at 02:16 AM.
sonicfreak94 is offline  
Old 06-03-2013   #39
EternallyAries
That Aries Title
 
EternallyAries's Avatar
Default

Okay Sonicfreak. You have created a rather well organize launcher for SRB2. And I must say, I am very impress. Everything in it just as it should be. Only thing I do dislike, is the fact that I can't save the settings. I think it be a rather good idea to add an option to save settings for this Launcher. Due to how it lack in the other SRB2 Launcher.
__________________
There is nothing much to read here.
EternallyAries is offline  
Old 06-03-2013   #40
sonicfreak94
 
sonicfreak94's Avatar
Default

Yup, I plan to add that too. Just figured I'd get this out of the way first; saving and loading its settings will be a little more bothersome to implement. I should've put that in the planned features list...
sonicfreak94 is offline  
Old 07-01-2013   #41
FaroukTheHedge
Permanently Banned
Default

I've tried the launcher also in doom and it works as a wads launcher

(FaroukTheHedge received a warning for this post: Use correct grammar and spelling.)

Last edited by FaroukTheHedge; 07-01-2013 at 08:42 PM.
FaroukTheHedge is offline  
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.