07th-mod / umineko-question

93 stars 9 forks source link

Umineko not starting on Ubuntu 18.04 #96

Closed zeparu closed 6 years ago

zeparu commented 6 years ago

i installed ubuntu 18.04 literally 2 days ago, set everything up etc, but the game refuses to launch with the patched executable

error message is System info: Intel CPU, with functions: MMX SSE SSE2 Adding: . Adding: .. ** Error ** Missing Game Data No game script found. This application must be run from a directory containing NScripter, ONScripter, or Ponscripter game data. original, unmodded umineko starts normally and is playable

furthermore i tried to attach the 0.utf with the --script parameter the game "opens" then, but the screen is completely black, no sound plays nothing is interactable and the output nags me about not finding libpng12

now i have installed libpng16, libpng-dev and libpng++-dev, but it still doesnt work

i also tried reinstalled umineko and applying the patches again, leading to the same result

(i used the graphics and voice zips, as well as the update and the executable from the wiki, took the 0.utf from the install script, because that one is more up-to-date, but i've also tried the one provided in the wiki, with the same result)

ItaloKnox commented 6 years ago

I'm calling @Petsnew since he uses Linux. Unfortunately, I can't do much with only server knowledge.

drojf commented 6 years ago

Sorry, we updated the game so that it now launches the file 0.u instead of 0.utf (to prevent steam overwriting the script file). If you rename the script as 0.u it should run.

The manual install instructions should tell you to rename the file, if it's not obvious I should update the documentation (I was also thinking about editing the .exe message so it tells you to rename the script to 0.u ...I don't know why I didn't do that earlier)

If you still have problems with libpng etc. I don't really know, afaik you don't need to install any libraries to get the game to work.

Petsnew commented 6 years ago

Yeah, I was also having similar issues when I didn't rename 0.utf to 0.u and instead used the --script parameter. The game took a long time to open and was quite buggy.

zeparu commented 6 years ago

yeah ok, with having it being 0.u, it loads the script automatically, but the error with the script referencing and not finding libpng12 still persists. here's the log System info: Intel CPU, with functions: MMX SSE SSE2 Adding: . Adding: .. Adding: /home/zepar/.Umineko4hdz/ Adding: ./:../ Couldn't initialize SDL gamecontroller: There are 0 joysticks available Read global variables file Error at line 12: unknown command [language] (*define line 9) Error at line 16: unknown command [errorsave] (*define line 13) Error at line 60: unknown command [addkinsoku] (*define line 57) Warning: alias 'on' may conflict with some barewords Warning: alias 'off' may conflict with some barewords Error at line 49666: unknown command [setlayer] (*define line 49663) Warning: alias 'white' may conflict with some barewords Warning: alias 'black' may conflict with some barewords Error at line 49676: unknown command [menu_click_def] (*start line 1) *** can't load file [bmp\cursor0.png]: Failed loading libpng12.so.0: libpng12.so.0: cannot open shared object file: No such file or directory *** *** can't load file [bmp\cursor1.png]: Failed loading libpng12.so.0: libpng12.so.0: cannot open shared object file: No such file or directory *** Error at line 314876: unknown command [menu_waveon] (*check_game line 1) *** can't load file [bmp\background\forest\beach_2b.png]: Failed loading libpng12.so.0: libpng12.so.0: cannot open shared object file: No such file or directory *** effect No. 50 is not implemented. Crossfade is substituted for that.

drojf commented 6 years ago

Can you try this old version of the .exe? It will use 0.utf instead of 0.u, so please put the filenames back:

https://github.com/07th-mod/umineko-question/files/1734237/Umineko5to8w_video.zip

zeparu commented 6 years ago

i started it with that exe, the screen is still black, script complaining about libpng12, but i hear sound this time, i cant interact with any invisible menu items tho

i think the problem really boils down to ubuntu 18.04 repos not having libpng12 anymore, but only having libpng16

drojf commented 6 years ago

I'll try to re-patch the fresh linux .exe and get back to you, maybe something changed recently. Just for comparison, could you upload the .exe?

Also feel free to join our discord if you want to chat a bit easier| ("#umi_support" section)

edit: forgot the link: https://discord.gg/acSbBtD

zeparu commented 6 years ago

wait, i cant start the normal umineko game properly anymore too

i dont know if im just stupid but i swear i could just normally start the unpatched umineko game

zeparu commented 6 years ago

ill try to redownload the original game again, and see if im a dummy and it may actually be mangagamers responsibility

drojf commented 6 years ago

I don't think so - the linux debugging I've done with users has never had this problem. And you managed to launch it fine the first time right?

BTW, did you download from steam or from MangaGamer? (most of our players use steam I think)

zeparu commented 6 years ago

Oh this is interesting, i can start the unmodded Umineko Version from steam, i remember reading somewhere that steam brings it own runtime libraries so that games can just code against those, if i start the game in commandline, its not working properly

let me try to patch the game again, use the 0.u and start it through steam to see if that works now

zeparu commented 6 years ago

ah, yes, ok i need to start the game through steam, because steam has libpng12 in their libraries.

so the whole debacle started because i didnt rename 0.utf to 0.u and then only proceeded to start the game through the commandline

make that line in the wiki extra big please, im the living example of overreading it and causing trouble for everyone involved

drojf commented 6 years ago

Don't worry, I was just about to re-upload the new .exes which remind you to rename the 0.utf as 0.u as the new error message instead of the generic/incorrect message.

I'll add that you have to start the game through steam (on linux), I didn't know that at all...