SRB2 Message Board  

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

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

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, 355 views)

Screenshots

Click image for larger version

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

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

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

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

Name:	3. Options.png
Views:	319
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-09-2013   #2
SpiritCrusher
aka MascaraSnake
Moderator
 
SpiritCrusher's Avatar
Default

When I try to extract the EXE, it fails with an error code 0x80004005. Do you know what's going on here?
SpiritCrusher is offline   Reply With Quote
Old 05-09-2013   #3
sonicfreak94
 
sonicfreak94's Avatar
Default

Hm... I think it's because of the compression settings I used in 7-Zip. I've re-uploaded the archive in something a little more standard; see if that helps.
sonicfreak94 is offline   Reply With Quote
Old 05-09-2013   #4
SpiritCrusher
aka MascaraSnake
Moderator
 
SpiritCrusher's Avatar
Default

Yep, that works.
SpiritCrusher is offline   Reply With Quote
Old 05-13-2013   #5
Prime 2.0
Lets things get to his head
Moderator
 
Prime 2.0's Avatar
Default

"SRB2 Launcher.exe is not a valid Win32 application."

I'm running Windows XP 64-bit edition. If you don't know what's going on, you could upload the source code so someone else can look at it and find out.
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 05-13-2013   #6
sonicfreak94
 
sonicfreak94's Avatar
Default

Weeell that confirms some suspicion about the redists. Now I'm pretty sure it requires .NET 4.5 which isn't supported on XP. I'll go compile it in VS 2010 and see if that helps. Turns out I made a typo anyway =P ("Unable to launc SRB2")

Edit: Oh wait, my VS 2010 is C++ only. Uh, let me get someone to compile this for me lol.

Edit 2: OH DERP. I can just change the target framework. Should work fine now! Tested it on my XP virtual machine; requires 4.0. I can't believe I missed this ._.

Last edited by sonicfreak94; 05-13-2013 at 04:41 AM.
sonicfreak94 is offline   Reply With Quote
Old 05-17-2013   #7
Rob
wtf you doin'
Administrator
 
Rob's Avatar
Default

Approved.

Anyone who has issues opening/running the launcher should probably report that here so it can be addressed.
Rob is offline   Reply With Quote
Old 05-17-2013   #8
Puppyfaic
*panting sounds*
 
Puppyfaic's Avatar
Default

Not exactly a huge issue, but when hosting a dedicated server via the launcher, any servername you type in the field won't show up. I went with my usual "‡Puppy's Place", only for the server to show up as "H Dedicated Server".
__________________
Quote:
Originally Posted by Frostay
Yeah fuck you too you insufferable twat.
Puppyfaic is offline   Reply With Quote
Old 05-17-2013   #9
sonicfreak94
 
sonicfreak94's Avatar
Default

Turns out there isn't actually a command line parameter for server names as I had originally thought. Remind me to stop doing things from memory... which is apparently very wrong. I'll disable it for the time being, and maybe later I'll have it write directly to the configuration file.

In its place, I'll add an option to display a console window in the options tab, because it's something I use every so often. I'm going to wait to re-upload it yet again until I have file sorting implemented, though.

Also, thanks for the approval!
sonicfreak94 is offline   Reply With Quote
Old 05-18-2013   #10
Torgo
Developer
 
Torgo's Avatar
Default

Nice job here! Now all you need to do is to implement the master server list (like how Oogaland's net lancher used to work before it became incompatible with the current master server) and be able to join those games.
__________________
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   Reply With Quote
Old 05-18-2013   #11
sonicfreak94
 
sonicfreak94's Avatar
Default

That'd be great. I just need to know how to actually do it. =P
sonicfreak94 is offline   Reply With Quote
Old 05-18-2013   #12
Senku Niola
Unoriginal
Default

Can it have support for maps with letters? :< I hate trying to remember the number for maps like R1 or whatever.
Senku Niola is offline   Reply With Quote
Old 05-18-2013   #13
sonicfreak94
 
sonicfreak94's Avatar
Default

Yes, that's something I'd like to try out as well. I just need to think of a way to do it.
sonicfreak94 is offline   Reply With Quote
Old 05-18-2013   #14
SpiritCrusher
aka MascaraSnake
Moderator
 
SpiritCrusher's Avatar
Default

Quote:
Originally Posted by sonicfreak94 View Post
Yes, that's something I'd like to try out as well. I just need to think of a way to do it.
That should be easy to do. Write a conversion function from letter-type map numbers to regular map numbers and feed the input from the "map number" field through that function before adding it to the command line parameter. Writing the conversion function itself shouldn't be too hard either; you can find an algorithm for the conversion here.
SpiritCrusher is offline   Reply With Quote
Old 05-18-2013   #15
Kitoko
Click on me for help! YAHOO
 
Kitoko's Avatar
Default

Back then I picked up FuriousFox's Click 'n Play launcher and used that. But I think I'll abandon that a moment to give this a try once. :P
__________________
For a Skype SRB2 group, click here!

I am also known as FoxBoy!

I'm apparently equal to Miyuki.
Kitoko is offline   Reply With Quote
Old 05-18-2013   #16
*LightSpeedAlexey*
The Final True LightSpeed.
 
*LightSpeedAlexey*'s Avatar
Default

This SRB2 Launcher works on any version of SRB2 (not only in 2.0.6), I guess. I tested it on Final Demo (1.09.4). It works fine. Thanks SF94.
__________________
My YouTube Channel: http://www.youtube.com/user/AlexeyHedgehog Subscribe!
*LightSpeedAlexey* is offline   Reply With Quote
Old 05-18-2013   #17
Iceman404
aka IceDragon404
 
Iceman404's Avatar
Default

This is one hell of a launcher. When it gets the ability to save settings altogether I'm going to switch to this over SRB2Net anyday. It'd be cool if this came bundled with 2.1 or something so everyone would have it.
__________________
Kart Krew Workshop Thread
SRB2 Top Down & SRB2 Kart
Iceman404 is offline   Reply With Quote
Old 05-18-2013   #18
SeventhSentinel
Call me SevSent.
 
SeventhSentinel's Avatar
Default

From the looks of it, you've got something good here. Trying this out pronto.
EDIT: Seems to work pretty well (for my purposes anyway). Nice job.
__________________
Wear Knuckles' hat in Sunset Isle Zone!

Last edited by SeventhSentinel; 05-18-2013 at 04:54 PM.
SeventhSentinel is offline   Reply With Quote
Old 05-18-2013   #19
sonicfreak94
 
sonicfreak94's Avatar
Default

I'm glad you guys like it so far! If you have any suggestions, let me know.

Quote:
Originally Posted by SpiritCrusher View Post
That should be easy to do. Write a conversion function from letter-type map numbers to regular map numbers and feed the input from the "map number" field through that function before adding it to the command line parameter. Writing the conversion function itself shouldn't be too hard either; you can find an algorithm for the conversion here.
Thanks, working on it now. Just to be fancy, I'll allow it to work both ways; with and without letters (so map A1 and 101 will work the same).
sonicfreak94 is offline   Reply With Quote
Old 05-18-2013   #20
kyllian1212
Insert some user title here
 
kyllian1212's Avatar
Default

I'd like if there were something to set the character and the color.
__________________
Quote:
[22:44] <Mystic> actually, Deep Sea is filled with the tears of kids banned from the forums
kyllian1212 is offline   Reply With Quote
Reply

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 11:51 AM.


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