"Portable" version of Doom Builder 2?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Sgt Dopey
Posts: 558
Joined: Thu Jan 13, 2011 8:44 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Australia

"Portable" version of Doom Builder 2?

Post by Sgt Dopey »

Hi all, I was wondering if there is a portable version of doom builder 2 or a way to make it portable. Also by portable mean not use appdata to save the configurationfiles, because on my school laptop it's forbbiden to save files into there.

So would anyone be able to help?
User avatar
Nash
 
 
Posts: 17505
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: "Portable" version of Doom Builder 2?

Post by Nash »

I'm curious too. Not sure how feasible this is... considering how even as it is, it requires you installing stuff like SlimDX and .NET framework and things like that...
User avatar
Syfo-Dyas
Posts: 214
Joined: Fri Dec 17, 2010 12:50 pm
Location: Another Huxleyian Dystopia

Re: "Portable" version of Doom Builder 2?

Post by Syfo-Dyas »

Count me in, I would love to know more about this too! Having all my DOOM tools on a USB stick would be a major boon!
User avatar
GooberMan
Posts: 1336
Joined: Fri Aug 08, 2003 12:57 am
Location: Helsinki, Finland

Re: "Portable" version of Doom Builder 2?

Post by GooberMan »

The only thing that's not portable is the .NET framework. SlimDX should just be a set of DLLs that can be placed in the same folder as DB (assuming manifests haven't made that impossible).
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Re: "Portable" version of Doom Builder 2?

Post by printz »

Does .NET carry some DRM that prevents portable programs from using it as such? Let's assume the host computer has .NET runtimes installed for other apps… Maybe for reasons like this it would be worth releasing a Windows build of Eureka Doom Editor, or use SLADE3 map editor if complete.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: "Portable" version of Doom Builder 2?

Post by Xaser »

printz wrote:Does .NET carry some DRM that prevents portable programs from using it as such?
Why would it do that? Where did you get this idea? o_O
User avatar
GooberMan
Posts: 1336
Joined: Fri Aug 08, 2003 12:57 am
Location: Helsinki, Finland

Re: "Portable" version of Doom Builder 2?

Post by GooberMan »

Probably from my mention of manifests - which are a compile-time thing that Microsoft introduced to try to get around DLL hell. I haven't played with them too much, but they might try to find the exact DLL in the exact location they expect. I think they might also break the injection method that a lot of modern PC game mods use (such as DSFix).

tl;dr - I need to investigate manifests more myself.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: "Portable" version of Doom Builder 2?

Post by The Zombie Killer »

To make Doom Builder not use APPDATA then all you have to use is a simple batch file:

Code: Select all

echo off
set appdata=%cd%
cls
"%cd%\Builder.exe"
exit
For the other stuff, I would assume you'd just put the dependencies in the Doom Builder folder.

-TZK
Last edited by The Zombie Killer on Sun May 26, 2013 6:44 am, edited 1 time in total.
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Re: "Portable" version of Doom Builder 2?

Post by printz »

Does APPDATA set to that arbitrary value only while Builder.exe and that batch are running?
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: "Portable" version of Doom Builder 2?

Post by The Zombie Killer »

It will only have any effect on a program opened with the batch file, it won't mess with anything.
Think of it as a virtual environment.

-TZK
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "Portable" version of Doom Builder 2?

Post by Graf Zahl »

Does this even work? Not many programs use the environment variable. Most get the path directly from the registry.
Post Reply

Return to “General”