logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / August / 18 / 1
yuriks
in the .3dsx directory?
linkmauve1
In the current directory you mean?
This would make it very bad to save the configuration of all of your programs.
I wish there would be a standard like the XDG basedir spec on the 3DS. ^^
I guess there is no concept of environment here either, right?
Sanqui
so, will ctrulib (?) ever get gethostname(), or is there a different way to do DNS lookups?
linkmauve1
Sanqui, do you mean this one? https://github.com/Megazig/ctrulib/blob/master/libctru/source/services/soc/soc_gethostbyname.c#L9
Ah hmm&
Sanqui
ah, cool, cheers
yuriks
gethostname returns the name of the *local* host
which I bet the 3DS has no concept of
linkmauve1
Yeah.
Sanqui
oh, er, good point with that
linkmauve1
I wonder if I should use avahi or something similar to make my remote-gamepad more user-friendly.
furyhunter
wait, remote gamepad?
are you open sourcing that?
because I was thinking about doing something similar
linkmauve1
furyhunter, its already open source, although not with my latest fixes: http://hg.linkmauve.fr/remote-gamepad/ and http://hg.linkmauve.fr/remote-gamepad-server/
Has been for months.
furyhunter
ahh, wasn't aware
oooh I'm getting excited about 3ds hb again
hey... anyone know how I could get llvm libcompiler-rt compiled for 3ds
FireFly
Funny, because I had the same idea (remote gamepad) earlier today :p
(Action) looks
yuriks
linkmauve1: how's the latency?
furyhunter
ahh... this only works for linux atm?
linkmauve1
yuriks, unnoticeable in SMS.
furyhunter
the main thing that stopped me was having to investigate how to write a windows device driver
linkmauve1
furyhunter, yeah, its been like ten years since I last used Windows.
furyhunter
heh
linkmauve1
But the protocol is super-simple, so only the server part would have to be tweaked.
furyhunter
I would implement it as a xinput driver
for windows anyway
just so it works with my existing setup for controllers
yuriks
linkmauve1: can I play touhou with it? ;P
linkmauve1
I wanted to test it, but I still havent merged joystick support into PyTouhou. /o\
I have like, 71 unmerged patches&
This is becoming pathologic.
yuriks
I'm noticeably worse at Touhou when playing on my PC (higher latency IPS panel) than on a laptop
linkmauve1
yuriks, oh, and I tried LoLK with it and up/down were inverted, but I blame Wine.
yuriks
hmmm
linkmauve1
I havent actually compared my new IPS screen, my new x230 IPS screen, and my x121e TN screen.
I was usually playing Touhou on the latter.
Been doing that for like four years. ^^
I should also find a way to expose the touchpad to evdev, for now I just skip it. :/
valentin_ZNC
I'm working on a homebrew for using 3DS as an graphics tablet, It's pretty much the same idea than using the 3DS as a gamepad :-)
FireFly
Using the 3DS as a gamepad would come in handy for emulation, for multiplayer with friends
linkmauve1
valentin_ZNC, how do you expose the touchpad to the OS?
Also, which OS?
archshift
might be more productive to get one of these https://www.adafruit.com/products/1676 and one of these https://www.adafruit.com/products/1580 and make your own graphics tablet :P
linkmauve1
Btw, I get a system error after the homebrew has exited, what do I do wrong?
http://hg.linkmauve.fr/remote-gamepad/file/5ee81fece0fa/source/main.c#l223
valentin_ZNC
linkmauve1 : I'm using Linux for now, I've not worked on how to expose the touchpad to the OS yet, but It should be handy for Linux. || archshift : Adafruit has always interesting products for DIY guys and for the pi :-)
archshift
adafruit is always awesome :D
jennatheklesk
I just last night ordered something from there
Building a pi into a Apple Standard Keyboard from my Mac SE, need a teensy so I can use the keyboard on the pi's USB
linkmauve1
Meh, I forgot the SMDH format is hardcoded to RGB565. :(
And smdhtool doesnt take both sizes at once. ^^'
Ow& https://github.com/devkitPro/3dstools/blob/master/src/smdhtool.cpp#L139-L143
archshift
what a magnificent algorithm
linkmauve1
Alright, fixed that.
yifanlu
why am I op and not smea?
linkmauve1
As for my previous problem, of the remote-gamepad making the system crash, I just forgot to SOC_Shutdown()&
Alright, https://github.com/devkitPro/3dstools/pull/2
furyhunter, I also pushed my changes to the server fyi.
megazig
for gethostname, I also don't think 3ds knows local host name capabilities. since it can return a full domain name, you could have it check your IP and then gethostbyaddr to get the hostent and grab the he.h_name
hacky, but is a viable solution. as it is required that the return from gethostname can be used by gethostbyname
yifanlu: he is +o, he just isn't identified into NickServ
rather, he has +o flag set for his account
lol, ChanServ is such a jerk
furyhunter
linkmauve1: mmm
smea
<@yifanlu> why am I op and not smea? <= because
valentin_ZNC
linkmauve1, https://gbatemp.net/threads/homebrew-3ds-remote-desktop.381646/
linkmauve1
Oh, they also stream the screen as a video.
valentin_ZNC
Yup
linkmauve1
I couldnt do that, not without patching my compositor.
valentin_ZNC, their network protocol is stupid.
I like their builtin configuration though.
But when Ill add that to mine, it will be through a simple config file instead.
valentin_ZNC
<linkmauve1> valentin_ZNC, their network protocol is stupid. // "If it's stupid and it works, it's not stupid" - Smea 2015
linkmauve1
:/
Anyway, time to eat. \o_
valentin_ZNC
Is there a function for draw (and not print) some chars ?
megazig_
sftdlib ?
valentin_ZNC
megazig_, Thanks !
I wonder what is kHax
yuriks
library to get kernel mode exec in <=9.2
valentin_ZNC
thanks yuriks
I was wondering why I've kHax in the nvram of my Old 3DS 9.7
« prev next »