Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

Is it possible to output different builds which share the same Data folder?

$
0
0
I have 3 different builds in total. A Server build, which is completely separate and has its own output directory. And then two builds which I want shared which are the Client and a Standalone Chat app. The chat app is an asset which uses an IRC connection and it's also available internally in the Client, I've implemented it as a standalone app as well so that the player can choose to just open a version of the game exclusively for chatting (among a few small gameplay aspects like managing their auctions) - I've always felt that a lot of MMO's miss this functionality so I wanted to implement it in my own. It works perfectly fine but the way I've done it requires building twice for Client & the chat app, so they both output their own Data folders. The client uses all the same assets as the chat app so I assumed I could just rename the client's data folder as "Data", but this causes the chat app to actually open the game. Any suggestions on how I could manage this? I'm thinking, on startup I could check for the executable name, if it's "Game" then it'll load game scenes, if it's "Chat" then it'll load the Chat scene and then after building I could copy the executable and rename it but I'm wondering whether there's a cleaner way of doing something like this.

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>