SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   Software (https://mb.srb2.org/forumdisplay.php?f=123)
-   -   LauncherBlast2 reBoot (https://mb.srb2.org/showthread.php?t=46596)

HitCoder 02-19-2020 12:18 AM

LauncherBlast2 reBoot
 
9 Attachment(s)
The current version is: reBoot-1.4



Hello sonic fans, I appear out of nowhere to present to you, yet another SRB2 launcher. This time, it's LauncherBlast2 again- but wait..


that's right! it's a reBoot (i'm sorry for the awful pun i promise I'll crawl back into my lil' corner when this is released and only return for bugfixes)


So, I decided the old LauncherBlast2 wasn't good enough for 2.2 and it hurts me internally to think people would use such an ugly utility for such a beautiful, gorgeous game. LauncherBlast2 really sister-snapped this time and has had an entire makeover to the point you wouldn't even recognise her!


(EDIT: I actually got a compiled executable to work! woohoo!)
USAGE INSTRUCTIONS:


On windows:
download the LauncherBlast2-reBoot-win.zip, extract the exe to your SRB2 directory, and then double click it to run.
ugly console popup because for some reason if it doesn't pop up the launcher crashes when it tries to open srb2.


Spoiler: linux/mac

On Linux (and/or Mac OS (i cannot test it on mac, so please let me know how that goes))
download LauncherBlast2-reBoot-unix.zip, extract to your SRB2 directory, and use a terminal to CD to the directory.
Make sure python is installed using whichever of the following commands is relevant to you (if it's different, you'd probably already know how to do this step)

Code:

sudo apt-get install python3
sudo pacman -S python3

Once that's done, install PyQt5 and FeedParser in python3
Code:

python -m pip install PyQt5
python -m pip install feedparser

and then you should be good to go. to run the launcher run this command
Code:

python LauncherBlast2-reBoot.pyz


If any bugs are found please let me know! Please also try to take note of what you did and try to reproduce the error so I know exactly where it is.

Also, after a bit I'll release the source code in a zip (though, it's python, the ".pyz" is just a form of zip anyway that python can run)


Spoiler: Changelog

Version 1.4:
  • Fixed a bug where having no internet connection would crash the launcher
  • Added some fun stuff you might not find at first just yet maybe

Version 1.3:
  • Fixed Fang being purple in the character preview
  • Updated the "Game" icon to use 2.2's sonic
  • Fixed a bug where trying to save or load lists of files and cancelling the file dialog would crash
  • Changed the console output to not output the dump info it used to

Version 1.2:

Version 1.1:
  • added version checker (it will now inform you when updates are available)

Version 1.0:
  • initial release



Whackjood 03-04-2020 12:24 AM

And here we are, brought forward from 2.1 with some shiny upgrades along the way.

GreenKnight9000 03-04-2020 01:26 AM

And so, it's back!

It kinda looks like the Minecraft launcher! Kinda makes me want SRB2Kart to be a tab/section on the menu

HitCoder 03-04-2020 09:57 AM

Quote:

Originally Posted by GreenKnight9000 (Post 817391)
And so, it's back!

It kinda looks like the Minecraft launcher! Kinda makes me want SRB2Kart to be a tab/section on the menu


I did initially have something like this in mind, but the configuration for both games is almost the same as far as I am aware. In addition, Minecraft's launcher is a crucial layer in the process when running Minecraft, while this launcher is more of an added utility that some people will use wile other's won't; therefore the launcher is added to the game and not the other way around :P


But yeah the UI is heavily inspired by the new Minecraft launcher. Nice observation XD

PeriSNOT 03-04-2020 06:27 PM

my dumb ass can't figure out how to work out the dedicated server tab works in hosting lmfao- by that i mean like,it doesen't show up on the MS yet i have my ports forwarded,weird.

Goldenhog 03-04-2020 06:31 PM

I found a bug. If you start the launcher and run the game, it will always use MIDI music. This happens even though "Digital music" is the default option in the launcher. To fix it, you have to go to the sound settings, select MIDI music, open the game, close the game, and then select Digital music. It's quite bothersome. I'm using the 64-bit executable, if that matters.

I have also a couple of suggestions you could maybe implement into the launcher in the future:
  • The file search should work more like it does in the game, so I can just type "silv" and be able to instantly find Silver.
  • Have an option for multiple SRB2 directories, so I can pick between the 32 bit executable and the 64 bit executable without having to copy the launcher.

HitCoder 03-05-2020 12:58 AM

Quote:

Originally Posted by PeriSNOT (Post 817443)
my dumb ass can't figure out how to work out the dedicated server tab works in hosting lmfao- by that i mean like,it doesen't show up on the MS yet i have my ports forwarded,weird.


I'll look into this but it's gonna be hard because I'm living on campus at university and use a shared network so I can't check that rooms work correctly, due to not being able to port-forward


Quote:

Originally Posted by Goldenhog (Post 817444)
I found a bug. If you start the launcher and run the game, it will always use MIDI music. This happens even though "Digital music" is the default option in the launcher. To fix it, you have to go to the sound settings, select MIDI music, open the game, close the game, and then select Digital music. It's quite bothersome. I'm using the 64-bit executable, if that matters.

I have also a couple of suggestions you could maybe implement into the launcher in the future:
  • The file search should work more like it does in the game, so I can just type "silv" and be able to instantly find Silver.
  • Have an option for multiple SRB2 directories, so I can pick between the 32 bit executable and the 64 bit executable without having to copy the launcher.


  • Midi music:This is actually an issue within SRB2 itself. See https://mb.srb2.org/showthread.php?t=46728 for more information on that (or maybe I'm doing something wrong but i could replicate this issue once the game was opened)
    EDIT: I noticed it works if i substitute 1/0 for On/Off. I should probably stick to semantics but still, to my knowledge this is a bug.
    EDIT2: I uploaded a fixed version for this bug. My apologies!
  • I feel like the file browser is sufficient enough. I might look into implementing this but I don't really have the time to make an entire new window and UI for it and make sure themes translate accross correctly with stuff I have going on IRL. It'll be added to my to-do list tho, and I'll mess with it when I get to it
  • I actually initially planned to allow setting the directory from the launcher but I think the way python invokes the command line is a bit fucky with working directories. Again, I'll look more into this when I have the time

Frostiikin 03-05-2020 12:59 AM

whats the point of this...? Why not just launch with a .bat?

Darkboy64 03-05-2020 03:20 AM

Quote:

Originally Posted by Frostiikin (Post 817476)
whats the point of this...? Why not just launch with a .bat?

If you ask me, a launcher's simply more convenient than a .bat

NAR the Fox 03-05-2020 06:45 PM

This is a nice launcher. However, I do have a couple of complaints within the launcher itself:
1. Fang's default color is Lavender, not Purple.
2. The menu icons use 2.1's art, not 2.2's.
And as a side note, I'd like to see a few more features make it into the launcher:
1. Like GoldenHog said, maybe an option for different "profiles", like the Minecraft launcher has

2. The ability to see what the color would look like on a character when you're choosing one

Dimalazarev12345 03-07-2020 02:56 PM

Why do I launch the game from the launcher and the music changes?

birbhorse 03-09-2020 12:38 PM

Found a bug, if you go into the addons tab, click "save list", and then cancel it, the entire thing crashes, with the python output complaining about a filenotfound.

Really likin this so far though!

elcapoto 03-11-2020 05:32 PM

why
 
Why you need to desactive digital music to active it?

Man553 03-15-2020 10:10 PM

This is a really nice launcher! Looking forward for the source code to see how this thing's pumpin'.

SSNCaleb 03-18-2020 03:46 PM

In the CMD Window it gives me about 2 errors, but it manages to launch this application 100%. So as long as It loads, I'm ok with this.

HitCoder 03-19-2020 01:14 AM

Version 1.3 is now live
Spoiler: Changes and plans
Quote:

Originally Posted by NAR the Fox (Post 817509)
This is a nice launcher. However, I do have a couple of complaints within the launcher itself:
1. Fang's default color is Lavender, not Purple.
2. The menu icons use 2.1's art, not 2.2's.

Those things should now be updated


Quote:

Originally Posted by Dimalazarev12345 (Post 817606)
Why do I launch the game from the launcher and the music changes?

Quote:

Originally Posted by elcapoto (Post 817855)
Why you need to desactive digital music to active it?

This should have been fixed in the previous bugfix. If you're still getting this issue i'd like you to provide more details (such as exporting a batch file and pasting the command exported here)



Quote:

Originally Posted by birbhorse (Post 817727)
Found a bug, if you go into the addons tab, click "save list", and then cancel it, the entire thing crashes, with the python output complaining about a filenotfound.

Really likin this so far though!

Fixed



Quote:

Originally Posted by SSNCaleb (Post 818277)
In the CMD Window it gives me about 2 errors, but it manages to launch this application 100%. So as long as It loads, I'm ok with this.

This should no longer happen in the new version :)



Quote:

Originally Posted by NAR the Fox (Post 817509)
And as a side note, I'd like to see a few more features make it into the launcher:
1. Like GoldenHog said, maybe an option for different "profiles", like the Minecraft launcher has

2. The ability to see what the color would look like on a character when you're choosing one

I'm hoping to implement the first one at some point, the latter may be hard though, depending on the python libraries available.

Sandey 03-19-2020 03:29 PM

I don't know if this is a problem for anyone else, but Discord doesn't recognize the game when it's opened like this, I don't know if it can be fixed

Dimalazarev12345 03-19-2020 05:25 PM

HitCoder, I finally fixed this problem, I don’t know how but it’s good!

HitCoder 03-19-2020 07:19 PM

Quote:

Originally Posted by Dimalazarev12345 (Post 818352)
HitCoder, I finally fixed this problem, I donít know how but itís good!


Was it after you downloaded the newest version? Either way, glad to hear that!

Goldenhog 03-19-2020 07:52 PM

Good update!

Another bug: The launcher crashes if you don't have an internet connection, probably because it's trying to fetch the SRB2 news and it can't. I've been out of internet the last few days so I found that out the hard way.


All times are GMT. The time now is 04:18 PM.

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