Page 1 of 1

Illarion Development Questions

Posted: Mon May 05, 2014 12:15 pm
by 1d20
Now that we're open source, would it be possible for players to add graphics to the server files themselves?

Re: Illarion Open Source Initiative

Posted: Mon May 05, 2014 5:21 pm
by Estralis Seborian
Graphics aren't open source.

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 2:20 am
by arrchayx
I have a question about that closed graphics, is there a server
development package what let me to make my own illarion server, thats right ?
I think somebody tell me that, so if thats true how i can make my own
illa server without graphics ? of maybe then my server will be connected
to main illa server ? What is going with this.

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 10:17 am
by Estralis Seborian
Illarion has a client - server architecture. The client runs on your computer and connects to the server that runs on the Illarion server hardware. You can make the latter program also run on your hardware as local server. The server tells the client which graphics to show. They are stored in the client, not on the server.

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 10:34 am
by arrchayx
So all game graphics are in Client Development package ? I just readed graphics is closed sourced so where is that graphics in client sources ?

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 10:51 am
by Vilarion
The client build scripts automatically download all resources (graphics, sounds, music) for you. The resources are in pre-compiled packages, so you don't have to worry about building those. Resources are being provided to aid in client development only. There are two ways for you to build the client, either via gradlew or via an IDE as described in the README.

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 10:59 am
by arrchayx
Yea i know it, i was build that with gradlew, so where, in which folder i can found graphics,sounds,music now ? I see resources folders but these ones containts only few .png files and few .xml in which ones i see in exam location "gui/window_background.png" but i cant find that window_background.png in source folders.

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 11:33 am
by Vilarion
The resources are in pre-compiled packages
So they are not in any source folders.
Resources are being provided to aid in client development only.
So there is no need to find them, you probably can't anyway since: see above.

Also this is going rather off-topic. If you are interested in participating in client development, you should contact Nitram.

Re: Illarion Open Source Initiative

Posted: Wed Jun 10, 2015 11:36 am
by arrchayx
So it is a question, if i havent acces to graphics, how to make own server... Then my server must to connect to illarion main server to acces that package if i havent they in sources... Estralis Seborian tell me i have that graphics on client, not on the server... so where are that packages in this client.

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 12:03 pm
by Vilarion
Topic split.

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 1:20 pm
by arrchayx
Why split, i still dont understand whats is going on with that pre-compiled packages...
First thing: compiled graphics files... What precompiled packages ? I know program is a compiled code, i know package can be tar,zip,rar but compiled package ? And graphics there ? You say im downloading these packages to the client, so where are these downloaded packages then ?

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 3:18 pm
by Estralis Seborian
By "server" we usually refer to a program that runs on the server hardware and "controls" the game. On the same hardware, also the Webserver program and other stuff runs. Of course, the graphics are also stored on it in one way or another. But as stated before, the graphics are not "open source" and not publicly available as e.g. Png files.

To build the server, you don't need any graphics as those are only needed for the client. Perhaps you should state your intentions first why you need the graphics in another way as they are provided.

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 3:26 pm
by arrchayx
Hmmm... I dont understand, where is that graphics ? What mean in pre-compiled package, i dont understand how graphics can be compiled... What pre-compiled packages, where are that packages ?

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 3:31 pm
by Djironnyma
Estralis Seborian wrote:But as stated before, the graphics are not "open source" and not publicly available
That means: your request to know where & how the graphics are stored was denied

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 3:36 pm
by arrchayx
But if graphics are not stored on my pc must be store on some server... I
dont asking for png files i asking for that pre-compiled packages and
asking for explain me how that pre-compile package means, how graphics
can be compile to some package ? i think files can be only archive to
package, and code can be compile to program, but here are "pre-compiled"
packages, what that mean, what packages contain graphics, someone told me i have they in client, so graphics
are on my pc but not in png files but in that packages ? Where these
pre-compiled packages, and what is that pre-compiled packages.

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 6:03 pm
by Nitram
The original graphics are all PNGs. Tens of thousands of them.

The compiling process for them analyzes all those images and puts them on large texture files that are optimized for rendering on the graphic cards.
Those texture files and some meta data are than encrypted and packaged into jar files. And these jar files are present on our server and downloaded on your computer.

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 8:00 pm
by arrchayx
Yea i see, i found that .jar files what containt these graphics, so if i found that why its called closed-source ? becouse that thousands png files are compressed to large texture pngs ?

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 8:11 pm
by Vilarion
No it is a legal matter. The point is, that even if you could get those graphics, you are not allowed to use them for your own projects.

Re: Illarion Development Questions

Posted: Wed Jun 10, 2015 8:59 pm
by arrchayx
Ahhh i see now, okay thanks for all answers ! : )