[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I made a small guide towards running VNs on GNU/Linux. http
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /jp/ - Otaku Culture

Thread replies: 74
Thread images: 33
I made a small guide towards running VNs on GNU/Linux.

https://neetco.de/apt-get/visual-novel-linux-guide/src/master/README.md

I thought some people here might find it useful.
>>
>>15047196
WINE never fucking works.
>>
>>15047198
It has improved a LOT in the past few years. I haven't found anything yet which didn't work on Wine. At most, I just need to tweak a few things.
>>
>>15047198
Which version is installed on your machine?
>>
>>15047213
Whatever the version is in the Ubuntu repositories. I tried old stuff like Cross Channel and Ikikoi a few months ago and it still didn't work and I couldn't be bothered to figure out why. Now I just use a chink tablet to play my porn games.
>>
>>15047224
Seems like you need japanese locale for both of those. Have you used 'LANG="ja_JP.UTF-8"' before launching the VN?
>>
>>15047224
...which means it's 1.6.x iirc, which is two and a half years old.
Enable the Wine -buntu PPA and get the devel version.
https://wiki.winehq.org/Ubuntu

Even the fighters work out of the box.
Next time you encounter difficulties with your software, try looking for solutions on the project's page - it's usually a good place to start.

Also, remember to set your locale if you don't use thcrap. I can confirm that it works just as well on a GNU/Linux machine.
>>
>>15047255
I can confirm the 2hus work fine too, although you have to disable directinput in the config for some of them. thcrap works fine too if you import the shortcuts in POL (had issues launching them directly with wine).
>>
File: 1456231793984.png (90 KB, 246x246) Image search: [Google]
1456231793984.png
90 KB, 246x246
VNs are nice and all, but how the fuck do I get to play Touhou on Debian? I've tried everything and I got nothing but a small window sayng "HAL (garbage characters)".
>>
>>15047213
Not him, but the latest stable. Get garbage characters when I try to 2hu.

Just another Linux experience in not having the right hardware, probably(i5 5th gen, no video card). Windows 10 isn't that great but at least I can run the stuff I want to run, easily.
>>
>>15047345
>>15047319
>garbage characters
Are you using the correct prefix (encoding, not Wine prefix)? Have you built the corresponding locale?
>>
>>15047357
yes and yes
>>
File: 1344902175891.png (85 KB, 246x246) Image search: [Google]
1344902175891.png
85 KB, 246x246
>>15047319
>>
File: 1454472653087.jpg (191 KB, 500x500) Image search: [Google]
1454472653087.jpg
191 KB, 500x500
>>15047357
I even tried to run it on debug mode with all the notifications turned off, jp locale, but still nothing.
>>
>>15047395
That's queer. Can you walk me through your process, visually?
>>
File: remi.gif (32 KB, 246x246) Image search: [Google]
remi.gif
32 KB, 246x246
>>15047405
>>
>>15047426
No. I no longer use Linux, but when I was, I was using Debian.

I should note, however, that I experienced two different errors. One in which I was looking at mojibake, as said before, and one in which the game would run at 240 FPS(I think that's documented on a touhou wiki about running on Linux), but also trying to put the game in fullscreen gave me an error. And that was PCB.

EoSD would also run faster than it was supposed to(I could tell by the music), but I could not get it to visually appear on my display, even though the process was obviously running. I ended up just killing it.
>>
Could someone get this on a pastebin for me?
>>
File: 1364819351810.jpg (699 KB, 800x1130) Image search: [Google]
1364819351810.jpg
699 KB, 800x1130
>>15047458
I can't really be of help, then.
Just tested PCB and EoSD. Both run just fine.
The only remarkable issue I've encountered was being unable to save temporary replays in IaMP.
For reference, OS is Kubuntu 15.10, Wine 1.9.7, 2nd Gen mobile i7, nVidia DGPU with proprietary drivers 352.63.
The games are run without any other parameters - English patches have been applied using thcrap.
>>
>>15047198
I love it when Touhou crashes and freezes my display resolution at 640x480. Lots of fun.
>>
>>15047545
don't worry about it, thanks for your input, at least. Cute pic
>>
I just woke up.

>>15047319
Touhou works flawlessly for me.

>>15047345
I have the same hardware, although with a Skylake (6th gen) i5. No video card too... Definitely strange. Are you sure you've got the latest wine release?
Are you using thcrap, original game, or the hard translations?

>>15047458
I haven't had any of the issues mentioned on the touhouwiki about linux.

>>15047537
Okay!
https://neetco.de/apt-get/visual-novel-linux-guide/raw/master/README.md

If you need it on pastebin, here it is, but it won't be updated: http://pastebin.com/9fqqjy1N

... honestly, installing the touhou games on the same virtual drive is possible. You just need to install dinput as a dependency to prevent DirectInput bugs in-game (stuck on main screen, etc)
>>
File: 1460210297.png (422 KB, 1366x768) Image search: [Google]
1460210297.png
422 KB, 1366x768
>>15049995
I also updated the guide right now, adding a table of contents and a few tips (how to run touhou and how to access the virtual drive in your file manager).

I can also confirm Fate/Stay Night works (yes, even the OP videos!).
>>
File: 1451718697337.png (984 KB, 1920x1080) Image search: [Google]
1451718697337.png
984 KB, 1920x1080
>>15047196
You know, doujin games are the only reason why I haven't switched over to linux

Some Jap games can be an absolute bitch to run, even on windows
>>
>>15050745
Glad I could be of help!

Doujin games need to be tested on a case-by-case basis, since they're all different. Can you give me a few examples? I'll try to run them.

The winetricks packages mentioned in the guide (corefonts, d3dx9_36, directmusic, dsound, dotnet40, ffdshow, dinput, quartz, and vcrun6) should be enough to run 99% of games, even doujin ones (since all of the relevant directx and vcrun6 DLLs will be installed).

Locale problems should be actually easier to fix on linux, since you only need to set the LANG variable.
>>
>>15050762
What a bunch of nerds.
>>
>>15050766
That's kind of rude!
>>
>>15047345

I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
>>
You can play NScripter games (Higurashi, Tsukihime, Narcissu) with ONScripter.

You can play RealLive games (Kanon, Air, Clannad) with rlvm.
>>
File: iiqhccb.png (769 KB, 1366x768) Image search: [Google]
iiqhccb.png
769 KB, 1366x768
Confirming Steins;Gate works too!

I removed the tip about touhou for one reason: DirectInput.

dinput is necessary for the ZUN touhou games in order to go past the main screen, but it renders several VNs unplayable (Steins;Gate, for example).

Installing the touhou games in another virtual drive is the best option. I'll probably write up a guide on how to do that in a few hours (it's basically the same thing, except for the native libraries to install).
>>
Post that screencap where some anon asks Japs if they hate freedom.
>>
File: 2ch_4038d5_5156674.png (173 KB, 1239x712) Image search: [Google]
2ch_4038d5_5156674.png
173 KB, 1239x712
>>15056221
This one?
>>
>>15056226
Yes thank you
>>
Just dualboot for games if you must use bsd/linux.

So happy I gave up this freetard crap years ago.
>>
>>15056603
It's a hassle to do that, and I like tinkering. POL's interface is nice too.

What's freetard about this? I'm recommending the use of native libraries to play the games.

Rebooting every time you want to play a VN is not a viable option for me.
>>
>>15056756
VNs work fine in a virtual machine, too. Since they don't need hardware acceleration.

Don't listen to him, he just is trying to justify giving up his freedom. He is a forever slave.
>>
I finally finished the touhou on linux guide!

https://neetco.de/apt-get/touhou-linux-guide/src/master/README.md

Confirmed to work with all the main games on a computer with an Intel core i5 (Skylake) and no Graphics Card.

Please tell me if you have anything to add!

I can't confirm the stability/netplay of the fighting games.
>>
NERDS
>>
Still couldn't get Tenkiame (jap only vn with animated sprites) to work.
It lags a bit in virtualbox as well but that's mostly because of this garbage intel u cpu.
Was OK in Win10 though.
>>
>>15068099
Hmm... Do you have any download link?

Also, updated the 2hu guide! Added a tip on removing the crash messages that may appear when running the games.

https://neetco.de/apt-get/touhou-linux-guide/src/master/README.md
>>
>>15068118
http://sukebei.nyaa.se/?page=view&tid=1806765
I'm selling this laptop soon anyway and going with one that has a sensible resolution and a decent cpu.
>>
>>15068183
Downloading. I'll probably reply to you tomorrow, as my ISP throttles torrents to around 10KB/s during the night.
>>
>>15068195
Take your time.
Ideally, I would rather not use WINE and use a Virtualbox anyway as I still have to figure out how to use ITH/VNR with a dictionary for kanji I don't know.
That's why I was gonna hold off and dualboot until I get rid of this shitty xps13.
>>
>>15068195
Can't you change to a better ISP?
>>
File: sip.jpg (67 KB, 379x351) Image search: [Google]
sip.jpg
67 KB, 379x351
>>15071539
Only ISP in my country. Average of 500KBps download and 50KBps upload.

Third world hellholes are kind of shitty.
>>
Use wine-staging , it runs most eroge for me

https://www.wine-staging.com/
>>
May I suggest incorporating the information collected in this thread into the corresponding wiki page?
http://en.touhouwiki.net/wiki/Running_in_Linux_and_Mac_OS_X
Some of the information there is quite outdated.
>>
File: ikgpdbv.png (44 KB, 1298x267) Image search: [Google]
ikgpdbv.png
44 KB, 1298x267
>>15068275
Thanks, game

I'll try to debug it further to check if it's a missing dll or something

>>15072579
It's partially because the information on the wiki was outdated that I wrote this guide.

Honestly, I'm not used at all to writing information for wikis... I don't know where to start.
>>
File: byanmk.png (2 MB, 1284x724) Image search: [Google]
byanmk.png
2 MB, 1284x724
>>15068275
it does work.

I just needed to install it by running IHS.exe inside the tenkiame directory.

Anyway, both guides were moved to another url.

http://fglt.nl/guides/visual-novels-on-gnu-linux.html
http://fglt.nl/guides/playing-zun-touhou-games-on-gnu-linux-with-wine.html
>>
>>15073115
Weird. I actually did try that at one point.
I will try it again later tonight and post results.
>>
>>15073261
You still having issues?
>>
>>15075752
Yep. http://pastebin.com/sNSmhTxZ
Seems like they are to do with my sound setup. winecfg doesn't show an audio driver or play a test sound.

I'm on a week old Arch with Plasma 5.6 (no applications).

Also, I just came across this https://github.com/acourreges/livino-reader which is basically what I was doing on windows. Haven't tried yet though.
>>
>>15075963
Ah, it's because you haven't installed the 32-bit sound libraries.

Enable the multilib repo (https://wiki.archlinux.org/index.php/multilib), [code]sudo pacman -Syu[/code], and and install the packages listed here (https://wiki.archlinux.org/index.php/wine#Sound) AKA lib32-alsa-lib, lib32-alsa-plugins, lib32-libpulse, and lib32-mpg123.

I completely forgot about that, sorry...
>>
>>15075963
Also, LiViNo involves compiling wine 1.6.2 (outdated version) with a custom patch that may not work with the current builds. Building wine takes dozens of hours.

AFAIK, VNR (sakuradite's) works on Linux. I'm gonna test it now...
>>
>>15076001
Had a feeling it was to do with that.

It launches now but there is audio hissing and crackling as well as the jap characters being broken. I already generated the locale a while back as well as setting it in misc section.

Here are the left over 2 errors that are produced when debugging http://pastebin.com/S01Gt5Jz

Also getting VNR or something similar would be a really great help. Thank you for this.
>>
>>15047196
>GNU/Linux

No, Richard, it's 'Linux', not 'GNU/Linux'. The most important contributions that the FSF made to Linux were the creation of the GPL and the GCC compiler. Those are fine and inspired products. GCC is a monumental achievement and has earned you, RMS, and the Free Software Foundation countless kudos and much appreciation.
Following are some reasons for you to mull over, including some already answered in your FAQ.
One guy, Linus Torvalds, used GCC to make his operating system (yes, Linux is an OS -- more on this later). He named it 'Linux' with a little help from his friends. Why doesn't he call it GNU/Linux? Because he wrote it, with more help from his friends, not you. You named your stuff, I named my stuff -- including the software I wrote using GCC -- and Linus named his stuff. The proper name is Linux because Linus Torvalds says so. Linus has spoken. Accept his authority. To do otherwise is to become a nag. You don't want to be known as a nag, do you?
(An operating system) != (a distribution). Linux is an operating system. By my definition, an operating system is that software which provides and limits access to hardware resources on a computer. That definition applies whereever you see Linux in use. However, Linux is usually distributed with a collection of utilities and applications to make it easily configurable as a desktop system, a server, a development box, or a graphics workstation, or whatever the user needs. In such a configuration, we have a Linux (based) distribution. Therein lies your strongest argument for the unwieldy title 'GNU/Linux' (when said bundled software is largely from the FSF). Go bug the distribution makers on that one. Take your beef to Red Hat, Mandrake, and Slackware. At least there you have an argument. Linux alone is an operating system that can be used in various applications without any GNU software whatsoever. Embedded applications come to mind as an obvious example.
Next, even if we limit the GNU/Linux title to the GNU-based Linux distributions, we run into another obvious problem. XFree86 may well be more important to a particular Linux installation than the sum of all the GNU contributions. More properly, shouldn't the distribution be called XFree86/Linux? Or, at a minimum, XFree86/GNU/Linux? Of course, it would be rather arbitrary to draw the line there when many other fine contributions go unlisted. Yes, I know you've heard this one before. Get used to it. You'll keep hearing it until you can cleanly counter it.
You seem to like the lines-of-code metric. There are many lines of GNU code in a typical Linux distribution. You seem to suggest that (more LOC) == (more important). However, I submit to you that raw LOC numbers do not directly correlate with importance. I would suggest that clock cycles spent on code is a better metric. For example, if my system spends 90% of its time executing XFree86 code, XFree86 is probably the single most important collection of code on my system. Even if I loaded ten times as many lines of useless bloatware on my system and I never excuted that bloatware, it certainly isn't more important code than XFree86. Obviously, this metric isn't perfect either, but LOC really, really sucks. Please refrain from using it ever again in supporting any argument.
Last, I'd like to point out that we Linux and GNU users shouldn't be fighting among ourselves over naming other people's software. But what the heck, I'm in a bad mood now. I think I'm feeling sufficiently obnoxious to make the point that GCC is so very famous and, yes, so very useful only because Linux was developed. In a show of proper respect and gratitude, shouldn't you and everyone refer to GCC as 'the Linux compiler'? Or at least, 'Linux GCC'? Seriously, where would your masterpiece be without Linux? Languishing with the HURD?
If there is a moral buried in this rant, maybe it is this:
Be grateful for your abilities and your incredible success and your considerable fame. Continue to use that success and fame for good, not evil. Also, be especially grateful for Linux' huge contribution to that success. You, RMS, the Free Software Foundation, and GNU software have reached their current high profiles largely on the back of Linux. You have changed the world. Now, go forth and don't be a nag.
Thanks for listening.
>>
>>15076070
Hmm... Are you sure you installed corefonts?
(Verify with locale -a that you have ja_JP.utf8 and that you've typed in LANG and not lang or something similar)

I know this may sound dumb but sometimes playonlinux doesn't register a click and so doesn't install some thing

It looks like I'm also affected by the audio issue (I didn't notice it at first, since it doesn't affect the background music or what is being said when quitting)

I'm gonna look into it a bit more. Thanks for reporting!
>>
File: lluoaq.png (51 KB, 619x492) Image search: [Google]
lluoaq.png
51 KB, 619x492
>>15076070
I accidentally my tenkiame install

brb redownloading the game

Anyway, I think it's related to ffdshow. I knew I shouldn't have proposed to install it in the beginning... LAVFilters should've been enough.
>>
>>15076424
Yep, locale is generated and I typed everything in correctly. I have tried creating the virtualdrive many times now. Also, does your game crash when you click on options? Mine seems to and then display broken characters in an error message (but the VN continues to work and no new error is produced in the debugger).

One thing that I probably should have mentioned is that I did not install MS Fonts as I'm using infinality bundle for everything font related. Although I do remember POL asking to installing them when I first opened it.

And no problem, thank you for all of this. Don't worry too much if you can't figure out why Tenkiame specifically won't work. I will find other ways.
Hopefully helping me will make your guide more complete.

>>15076570
I will try without ffdshow now. Might give other VNs a try as well.

And I just noticed that the OP music doesn't play at all.
>>
>>15076608
Nah, the issue isn't actually with ffdshow, don't try to.

I was also having the options error, now that you mention it, but I was too bothered by the sound issue to do anything about it...

The title music plays for me, personally. (except if you're talking about a video later on)
>>
>>15076570
The installation directory also shows as broken characters for me which was also the case for my installer. Your screenshot actually shows the jap characters.

My 2hu albums and other folders show jap just fine inside of arch.

>>15076623
Yes. The opening video which is a bit later, just before the sprites show (which work just fine).
>>
>>15051945
never expected to see this on /jp/
>>
>>15076623
Sound issue is to do with lav/ffdshow clashing i think. I tried the VN without any extra component and it was fine. OP doesn't play and throws an error as expected.
Still having the options and jap characters issues.
>>
File: qpsvlw.png (1 MB, 1284x724) Image search: [Google]
qpsvlw.png
1 MB, 1284x724
>>15076796
Actually, I found the source of the crackled sound issue!

... Not installing dsound and directmusic did the trick. It also fixed shitty sound in all of my other VNs.

I installed both lav/ffdshow, and the OP plays. However, there's no sound. (no relevant error either in the logs...)

Anyway, looks like the options error comes from an unexisting font file (https://a.cocaine.ninja/qdxyln.png). I'll try to see if there's anything I can do about it.
>>
File: pmrlmq.png (505 KB, 1284x724) Image search: [Google]
pmrlmq.png
505 KB, 1284x724
>>15076796
I fixed it!

Simply had to get msmincho.ttc and msgothic.ttc from my C:\Windows\Fonts folder and drop them into the virtual drive's windows/Fonts folder.

It was pretty easy, in the end...

The only remaining issue is your weird jap characters issue (which might be fixed by this!) and the OP sound issue.
>>
File: tfctdn.png (116 KB, 1342x720) Image search: [Google]
tfctdn.png
116 KB, 1342x720
>>15076796
VNR seems to work. Currently downloading dictionary.
>>
>>15076796
It seems VNR doesn't work under Wine on Linux. I've seen two similar bug reports... If you want to know when it's going to be fixed, keep an eye on http://sakuradite.com/topic/1371 .

Anyway, I've updated the guide, removing dsound + directmusic mentions. Remember the updated guide is now here: http://fglt.nl/guides/visual-novels-on-gnu-linux.html
>>
A VM with Windows 7 runs every eroge I could ever want.

That said, kudos for the guide, it's nice to see some love for tux here on /jp/.
>>
>>15077447
No problem! And yeah, a VM will always work better, but I don't like the overhead of running a whole OS just to play eroge (alongw ith not liking Microsoft).
>>
File: 1458854822371.jpg (102 KB, 427x335) Image search: [Google]
1458854822371.jpg
102 KB, 427x335
>PlayOnLinux
For what purpose? In my experience the Touhou games run fine without it. ULiL is kind of tricky though.
>>
>>15076938
Alright. Got those fonts (and a bunch of others) and now the options show up.
Jap characters issue was still there though.

I ended up setting the locale (gb) and lang (jp) in locale.conf and that "fixed it". I'm guessing the command that's supposed to be executed isn't being passed on. I will keep it like this for a bit as I want to try other VNs to see if those components are all that's needed for them too.

Also being able to scale VNs to whatever resolution I want is really neat. I wanted a way to do this back on Windows too.

>>15077327
Thank you for opening that for me. Will keep an eye on it.
It will probably get sorted (if ever) by the time I get a laptop that can handle a VM though.
>>
File: 1441736653733.jpg (577 KB, 1920x1080) Image search: [Google]
1441736653733.jpg
577 KB, 1920x1080
>>15079164
Ah, just wanted to mention I actually use tenkiame.exe, not IHS.exe. That MAY be why the game runs with garbled characters.

Anyway, glad I could help you!
>>
Thanks, running on Arch right now and having fun for a while.
>>
File: qmrawl.png (1 MB, 1284x724) Image search: [Google]
qmrawl.png
1 MB, 1284x724
>>15078711
Just wanted to say that ULiL works pretty nicely with this guide.
Thread replies: 74
Thread images: 33

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.