Moderators: They make you lose count(Longest thread still alive!)

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
280 And they finally fixed the bug where it didn't run at the same resolution as my monitor. For the most part. Card pictures are still pretty grainy.
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
212 Yes. I routinely stay up well past midnight, because my classes this semester don't start until almost noon. I still don't get enough sleep.
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
214 Not at the moment, but he was a bit earlier.

It's still annoying, but I've gotten used to it. Whenever he starts up Skype (I assume) and League of Legends, I plug in my earbuds and type ./playmusic.sh 0.2.

Context: I do that in a folder where there's a playmusic.sh shell script with these contents:
Code:
#! /bin/bash
# Runs the executable a.out, takes whatever it prints to stdout, and treats it as 8-bit audio at 8khz.
# Volume is determined by command line argument- 0.5 is about right for listening to. Something smaller would work better as a background music, like 0.25 or 0.125.

./a.out | play -r 8000 -t raw -e unsigned-integer -b 8 -v $1 -
and also an executable called a.out generated by this command I stole from a Youtube video and tweaked somewhat so it would compile:
Code:
echo "g(i,x,t,o){return((3&x&(i*((3&i>>16?\"BY}6YB6%\":\"Qj}6jQ6%\")[t%8]+51)>>o))<<4);};main(){int i; int n; int s; for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}"|gcc -xc -w -&&
And I've also installed the sox utility on my machine.

More convenient than looking up music on the Interwebs (for me, at least). It just runs and runs, looping every fifteen minutes or so, totally hands-off until I want to stop it or change the volume.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
218 @Someone Else 37 if you want to have a look at another program to play magic give octgn a look. It is a program designed to play all kinds of board/card games and you should be able to install mtg as well. Do note that getting all the pictures might be a bit of a pain because there are a lot of them :p
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
219 I think I did look into Octgn briefly, but an IRL occasional Magic player friend of mine was using Cockatrice, so that was that.

And I vaguely remember the Cockatrice installation and setup process looking a bit simpler as well. Maybe. It's been a few years.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
220 well, I woudn't be surprised if installation of octgn is harder as octgn by default can't really do much and needs game files in order for you to actually play a game (and the mtg game files need the card files and unless you don't care about the pictures you need to download those as well )
on the plus side, you can use octgn to play many games and even make your own (in theory)