Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Pages: 1 [2]

Author Topic: Whats this ?  (Read 5965 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Whats this ?
« Reply #15 on: December 09, 2005, 12:24:41 PM »

The path variable can be setup using any installer (Win Installer, NSIS, etc)... And besides, like I said previously, *most* apps have the exe and dlls in the same directory. Use a shortcut and place it in the start menu or desktop.
Logged

M&M

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
    • http://www.blueprintgames.com
Whats this ?
« Reply #16 on: December 09, 2005, 02:09:38 PM »

well, the game is still far from using an Installer. I don't want to have to make the whole team do that. Couldn't statically linking the plugin work ?

edit:
doesn't seem to work, for some reason it causes OgrePlatform to not be loaded :?
Logged
url=http://www.blueprintgames.com/][/url]

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Whats this ?
« Reply #17 on: December 09, 2005, 02:13:44 PM »

Static linking has two problems.. 1) LGPL, though, if your app is kept in house, then that is not a problem until you release it. and 2) You have to manually init the plugin yourself and not use Ogre's plugin .cfg system.

You do not need an installer though. Why not just keep everything in one directory.. And have the parent directory contain the shortcut to the exe? That is by far the simplest soultion.
Logged

M&M

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
    • http://www.blueprintgames.com
Whats this ?
« Reply #18 on: December 09, 2005, 02:28:38 PM »

the point wasn't to seperate dlls into a different directory and leave the exe alone. it was to seperate Plugins into a seperate directory from the rest of the dlls, but thats proving to be rather troublesome apparently
Logged
url=http://www.blueprintgames.com/][/url]

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Whats this ?
« Reply #19 on: December 09, 2005, 02:50:06 PM »

Yeah, it is difficult on windows. Though, the main difficulty here is just because you have to cast the ExternalTextureSource to the TheoraVideoController class and use methods of Video clip and other such things... This could be worked around by using the StringInterface commands of ExternalTextureSource. However, not every method is provided with equivilant string commands, and I kinda dislike having to cast class pointers to string numbers, and then convert the string into a number and then recast. Though, one could do that. But, it would require some modifications to the plugin to allow for it.

However, it becomes a mess trying to wrap everything into string pointers. The plugin has many specific methods that would be easiest to make it a more functioning "plugin" if there was a base class for videos so that you did not need to link to the import lib. However, the theora plugin is something that would not really need to be plugged in and out as much as say the rendersystems or scenemanagers do. So, in that case, it is not really a plugin, but more of a lib (currently) - and I do have plans to redue the whole thing into a more flexible static lib that you could just link directly to, and would also not rely on Ogre (so it could be used in any application) - but, that is not for a while.
Logged

M&M

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
    • http://www.blueprintgames.com
Whats this ?
« Reply #20 on: December 09, 2005, 03:02:32 PM »

yeah, I know what becomes of projects on the "TO DO LATER" list, I have a list of my own :P. I suppose I'll just make due with it in its current location.
Logged
url=http://www.blueprintgames.com/][/url]
Pages: 1 [2]