I did a Mount & Blade:Warband dockerized server thingy..
Duck Hunt-Pr0 Jul 29, 2020
anyone care to.. HAAAAAAAAAAAAAAAAAAAAAALP MMEEEEEEEEEEEEH!!! ?

  • The server's windows .exe is ran via 'wineconsole' (WINE v.1.8.6 currently)

  • I had to fall back to Debian (slim-stable), simply because (older) WINE apparently wont build very good on Alpine. (there's also currently no 32bit Alpine 'wine' ..

  • I'd like to auto-make it into a (headless) VirtualBox implementation once it's shown to be running more or less flawlessly..

  • worst case.. It's a relatively easy adaptable 'headless framework' for dockerized game servers (trough WINE(CONSOLE))..

  • "HOW CAN I HELP!? " i hear you ask.. Look out below!


..Decent and easily readable Documentation is always nice to have..
..Optimizing and 'minifying' stuffs is always good!
..CAN YOU DO STUFF TO BUILD MULTIARCHTECTUREs ON ALPINE LINUX, BUSYBOX OR TOYBOX?? love that!!
..Could you script a tool to convert a Dockerfile/Docker image into a VirtualBox "*.OCI" image?
..Are you a wizard at dialog or (n/not)curses scripting/programming?
..Do you stride lofty and lanky among QEMUs and VirtualBoxes? Dosbox? FreeDOS?
..Are you chock full of ideas, however crazy and silly they may seem?
.. (insert stuffs about netcat, softether, nginx, netplay etc. etc.)
..do you do shit just for fun and giggles? 🍻

source code: https://bitbucket.org/duckhuntpr0/mountandbladeserver_docker
docker hub auto builds: https://hub.docker.com/repository/docker/duckhp/warbandviking
initial steam post: https://steamcommunity.com/sharedfiles/filedetails/?id=2180994411

link
^-- the tmux 'dashboard'

(INSERT FREEMIND MINDMAP HERE)



[url=https://youtu.be/6-78xjN418c]
[img]https://i.imgflip.com/49r8p4.jpg[/img][/url]

Skål!
Spoiler, click me
(TO BE CONTINUED ONCE A BIT MORE SOBER..)
never happened..

Last edited by Duck Hunt-Pr0 on 31 July 2020 at 9:09 am UTC
Duck Hunt-Pr0 Jul 30, 2020
Is the cause of non-transparent background of this pane a fault of 'wineconsole', or 'libncurses' (the 'backend' of wineconsole) itself ?

(neither 'wineconsole --backend=user *' or 'wineconsole --backend=user *' appear to make any difference)



Last edited by Duck Hunt-Pr0 on 31 July 2020 at 2:04 am UTC
Duck Hunt-Pr0 Jul 31, 2020
Is there a better, distro- and shell- independent way, to auto-calculate a somewhat optimal 'make -jX' ? (X being number of parallel jobs/builds)

$ make -j$(( ($(nproc) / 3)+1 ))

#this will _always_ be 'make' with at least '-j1' or more (?) , depending on number of CPU cores


This is apparently how Bash arithmetic is done, but it would nice to know if it could work in ANY shell.. SH in particular. But is there a better, more ultimate, way?

https://linux.die.net/man/1/nproc
https://ryanstutorials.net/bash-scripting-tutorial/bash-arithmetic.php

Last edited by Duck Hunt-Pr0 on 31 July 2020 at 9:14 am UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: