Linux Standalone Median XL Launcher

Need help installing the mod?
murkl
Stone Warrior
31 | 12
Great Popularity Badge
Has a thread with over 50.000 views
Thanks, is fixed!
durnfiddlestix
Skeleton
3 | 0
Hi murkl, just wanted to say thank you very much for making this!! I'm running linuxmint, this runs perfectly for me :)
VlaDx
Dark Huntress
11 | 0
Legendary Supporter Badge
Donated 25 times
Can you make this run on Mac OSX? I'm stuck here...

readlink: illegal option -- f
usage: readlink [-n] [file ...]
01:55:20 -3.1.3: Please choose Diablo II binary dir...
01:55:20 -3.1.3: Error: directory is empty
01:55:20 -3.1.3: Restarting script...
/Users/vlad/Downloads/d2launcher-3.1.3/d2launcher: line 168: : command not found

[Process completed]
murkl
Stone Warrior
31 | 12
Great Popularity Badge
Has a thread with over 50.000 views
@durnfiddlestix Namaste bro :)

@VlaDx in 3.2.1 I replaced the readlink parameter
VlaDx
Dark Huntress
11 | 0
Legendary Supporter Badge
Donated 25 times
murkl wrote:@durnfiddlestix Namaste bro :)

@VlaDx in 3.2.1 I replaced the readlink parameter



I am here now :)) :

Last login: Thu May 7 01:17:36 on ttys000
vlad@MacBook-Pro ~ % /Users/vlad/Downloads/d2launcher-3.2.3/d2launcher ; exit;
2020-05-07 01:23:41 d2launcher-3.2.3: D2Launcher 3.2.3 started
2020-05-07 01:23:41 d2launcher-3.2.3: Config used: /Users/vlad/Downloads/d2launcher-3.2.3/d2launcher.conf
/Users/vlad/Downloads/d2launcher-3.2.3/d2launcher: line 96: notify-send: command not found
2020-05-07 01:23:42 d2launcher-3.2.3: No D2Launcher update available

And just bash-es and awk intermittently...
murkl
Stone Warrior
31 | 12
Great Popularity Badge
Has a thread with over 50.000 views
Ok thats simple to test. Go to line 96 and replace the whole line from
notify-send -i "$script_res_icon_file" "$script_title" "$*"
to this
log "$*"

I guess you will get some issues with the WineAppImages (compiled for linux), if you have a working wine installed, set this parameter (in Configuration) to use your own wine version:

wine_default="/path/to/wine"
VlaDx
Dark Huntress
11 | 0
Legendary Supporter Badge
Donated 25 times
murkl wrote:Ok thats simple to test. Go to line 96 and replace the whole line from
notify-send -i "$script_res_icon_file" "$script_title" "$*"
to this
log "$*"

I guess you will get some issues with the WineAppImages (compiled for linux), if you have a working wine installed, set this parameter (in Configuration) to use your own wine version:

wine_default="/path/to/wine"


Getting closer :))

/Users/vlad/Downloads/d2launcher-3.2.3/d2launcher ; exit;
vlad@MacBook-Pro ~ % /Users/vlad/Downloads/d2launcher-3.2.3/d2launcher ; exit;
2020-05-07 12:16:56 d2launcher-3.2.3: D2Launcher 3.2.3 started
2020-05-07 12:16:56 d2launcher-3.2.3: Config used: /Users/vlad/Downloads/d2launcher-3.2.3/d2launcher.conf
2020-05-07 12:16:56 d2launcher-3.2.3: New Median XL 1.5.3 update available
2020-05-07 12:16:57 d2launcher-3.2.3: No D2Launcher update available

Again bash and awk intermittently
murkl
Stone Warrior
31 | 12
Great Popularity Badge
Has a thread with over 50.000 views
Do you have more error messages?
To try without awk change to this:

Line 303:
title1="$script_title"

Line 304:
title2="$mxl_title"
VlaDx
Dark Huntress
11 | 0
Legendary Supporter Badge
Donated 25 times
murkl wrote:Do you have more error messages?
To try without awk change to this:

Line 303:
title1="$script_title"

Line 304:
title2="$mxl_title"



Same thing now just bash intermittently, could we do a teamviewer thing to get this going or am I asking too much? :D
murkl
Stone Warrior
31 | 12
Great Popularity Badge
Has a thread with over 50.000 views
Hmm, than you need to "debug" the error. You can comment the line 837 (to this: #show_gui_menu_main) to look if the script startups well. This script isnt optimized for macos (and I do not have any skills on mac). Maybe its related to your zenity (alternative?)
Do you have any skills ins scripting on mac?