Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black Screen with "Storm" text centered. #113

Open
andrewschott opened this issue May 2, 2020 · 4 comments
Open

Black Screen with "Storm" text centered. #113

andrewschott opened this issue May 2, 2020 · 4 comments

Comments

@andrewschott
Copy link

Upon downloading the linux precompiled build, I copied over the exact MPQ files to the root of the Diablerie directory. After I launch the game via the included binary, I just sit at a black screen with the text "STORM" centered. And nothing else. Launching via the terminal gives no further output beyond the fact it found some data, so I have no idea what I am missing or what has gone south.

Any ideas?

@sodomon2
Copy link

Hello

to solve this error you must follow these steps

1: remove Diablerie_Data/Plugins/libstorm.so
2: download and compile libstorm.so yourself
3: move the compiled libstorm.so to Diablerie_Data/Plugins/

I did it this way and it worked for me

@andrewschott
Copy link
Author

Thanks for the tip, I will try that and reply with my results (hopefully positive)!

@andrewschott
Copy link
Author

I git pulled the repo over at https://github.com/ladislav-zezula/StormLib. I compiled it as the repo README.md stated to do and tried to use my compiled libstorm.a file and it doesnt resolve my issue (why not, its only a rename away if it doesn't work), then I tried renaming it to libstorm.so, still no dice. Are there special compile flags needed? Different sources? ldd also does not see this as a normal shared library.

Thanks.

ldd libstorm.so
ldd: warning: you do not have execution permission for `./libstorm.so'
	not a dynamic executable

ldd libstorm.so.original 
	linux-vdso.so.1 (0x00007ffcd49de000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f2c9be4e000)
	libbz2.so.1.0 => not found
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f2c9bc5e000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2c9bc43000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f2c9ba79000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f2c9b933000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2c9c110000)

@liurong8866
Copy link

I have resolved this issue in MacOS, if you also use MacOS, please complie the libstorm step by :

1、open the CMakeLists.txt
2、add “set(LIB_TYPE SHARED)” in the next line after “set(LIBRARY_NAME storm)”, then save and close file;
3、in your term excute command below:
$ cd
$ cmake CMakeLists.txt
$ make
$ make install

4、you can get the file "libstorm.dylib", copy it to "/Diablerie-master/Assets/StormLib/lib"
5、injoy your game :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants