Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Fri Jul 30, 2010 10:01 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Doom 3 Editor Launcher - Now with .PK4 Creator plugin!
PostPosted: Sat Oct 16, 2004 1:38 pm 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
Doom 3 Editor Launcher
[Updated 29/10/2004]

Doom 3 Editor Launcher is a launcher to make running all the different Doom editors alot simpler by placing a menu in the system tray.

Latest Version: 0.31 http://wraiyth.cjb.net/d3el/d3editorlauncher.zip (15kb)
-All functionality works, but plugins are still in testing.
-Make sure to read the Readme.txt - it explains info about Plugins


Plugins
.PK4 Creator - http://wraiyth.cjb.net/d3el/PK4Creator.zip (247kb)
-Sampe plugin source avaliable at http://wraiyth.cjb.net/d3el/sampleplugin.zip (13kb, VB6 source code)

If you find any issues with the launcher, either post them here or mail them to wraiyth@gmail.com


Last edited by Wraiyth on Fri Oct 29, 2004 12:15 am, edited 5 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 2:04 pm 
Offline
Last man standing

Joined: Fri Sep 24, 2004 2:55 pm
Posts: 1129
Very Kewl. Do you think you could release the source? And just for die hard doom fans fix the ico looks bad, But very kewl i like it its alot better than having 12 icos(not really 12) sitting around


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 7:10 pm 
Offline
Divine Eternal
User avatar

Joined: Sun Aug 08, 2004 9:37 pm
Posts: 2376
Location: I am in a world of trigger_hurt
Looks nice, but:

1. I have 2 different doom installs on my computer, an option to set which one to open would be useful.

2. An option dialog where we feed in our own command line parameters to the program would help for all people who use custom command lines (which are pretty much everyone).

3. You shouldn't link to "Edit Scripts", it doesn't work and crashes the game. Use "Edit Decls" instead.

4. You missed an "i" in "Edit GUIs" :).

_________________
Image Staff
http://www.modwiki.net - wiki resource for all Doom 3 engine-based games.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 10:28 pm 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
-Added a crude configuration that allows you to set the current installation path and installation drive. Right click on the icon, and select configuration. I'll improve how it looks in the next release probably
-Removed Edit Scripts, and fixed the typo in Edit GUIs

I'll fix up the icon as soon as I can find a decent icon editor.
As for source code, well I dunno. I might release it once I've got everything implemented and commented.

http://drunkenness.creates.disorder.com ... uncher.exe

If anyone has any suggestions on how to set up custom parameters, I'd be happy to hear them. Wether you just enter them yourself each time, or select from a list, wether it applies to all shortcuts or just some etc, because I don't know how other people would want it.

EDIT: Forgot to mention that it doesn't need to be in the same directory as doom 3 now


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 11:26 pm 
Offline
Divine Eternal
User avatar

Joined: Sun Aug 08, 2004 9:37 pm
Posts: 2376
Location: I am in a world of trigger_hurt
r_brightness, r_gamma, r_fullscreen and com_allowConsole are the most common parameters people want to use I believe, and these would not change from time to time so an option to simply include these in the command line would be good. The option is to simply have a text field where people can enter whatever they want that will be in the command line.

_________________
Image Staff
http://www.modwiki.net - wiki resource for all Doom 3 engine-based games.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 11:46 pm 
Offline
picked up the chaingun

Joined: Tue Sep 07, 2004 3:43 pm
Posts: 183
Location: Paris, FRANCE
You can even ensure than +editor is always at the end of the parameter list. Cause if you have "+editor +r_fullscreen +vid_restart +blabla" the editor will be all messed up. +editor is better as the last command.

_________________
English is not my first language, i apologize but i do my best. Oh and i forgot, i love the D3 engine.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 12:22 am 
Offline
Divine Eternal
User avatar

Joined: Sun Aug 08, 2004 9:37 pm
Posts: 2376
Location: I am in a world of trigger_hurt
You should never need vid_restart in your shortcut as long as editor is the last one.

_________________
Image Staff
http://www.modwiki.net - wiki resource for all Doom 3 engine-based games.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 5:01 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
Ok I'm trying to work on being able to apply custom parameters to each shortcut individually, and I figured the besy way was a simple options dialog for each one when the menu was right clicked.
However I have absolutely no idea how to subclass right clicking for menus, as VB doesn't natively support it.
If there are any VB gurus here, then help :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 7:43 am 
Offline
missed 400 shots
User avatar

Joined: Wed Sep 29, 2004 2:53 am
Posts: 427
Location: Melbourne, Australia
Awesome program! This owns hard. I think all that it can do now is ok, I think it just needs command lines and it will own hard. Keep up the good work.

Oh and sorry, dont know anything about vb :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 9:03 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
My code is really messy at the moment so I'm going to spend the next few days making it relatively readable, commenting and stuff.
Yet another release, you can now set parameters for all Editor shortcuts, and the Doom 3 shortcut itself. Tested & working here.
http://drunkenness.creates.disorder.com ... uncher.exe (40k)

Unless anyone replies in the next few days with a way to subclass right clicking on menus, then I'll probably do one of three things:
1 - For each menu item, have a sub-menu to allow custom parameters to be set for ONLY that item
2 - Have tabs on the options to allow for each shortcut
3 - Have two entirely different menus

Option 2 is most likely.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 3:59 am 
Offline
picked up 200 ammo

Joined: Sat Aug 21, 2004 5:14 pm
Posts: 242
Location: Worldspawn
iceheart wrote:
You should never need vid_restart in your shortcut as long as editor is the last one.


Not necessarily. For example, I have 2 shortcuts on my desktop: one to play the game and one to edit maps. I like to play the game at one resolution and edit maps at a different resolution. I have the vid_restart switch on both my shortcuts so that way, I can alternate between playing and editing and the game view will always be at the proper resolution.

_________________
Red by nature, black by art


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 5:10 am 
Offline
Divine Eternal
User avatar

Joined: Sun Aug 08, 2004 9:37 pm
Posts: 2376
Location: I am in a world of trigger_hurt
I meditated on this for a moment and tried making two shortcuts with these command lines:

C:\D3EDITING\Doom3.exe +set r_mode 5 +set com_allowConsole 1 +set r_fullscreen 0 +set r_brightness 1 +set r_gamma 1 +editor

and

C:\D3EDITING\Doom3.exe +set r_mode 3 +set com_allowConsole 1 +set r_fullscreen 1 +set r_brightness 1.2 +set r_gamma 1.3

These work exactly as you would expect (640x480 in game, 1024x768 in editor, game in fullscreen and with different gamma/brightness).

I can't see any need for vid_restart in the shortcut since the shortcut is read before the video system is started, but if you have some situation where this is necessary could you please describe it closer?

After some further meditation (and use of the search feature :)) I have determined that the likely cause of abberant behavior is the use of "seta" in the command line, "seta" tags the cvar as "archive" and saves it into the doomconfig.cfg file so that it will be used every time, it seems that cfg files override the command line and this leads to conflict. This behavior is not required when dealing with command lines (since it is read every execution anyway). It seems that variables stored using "seta" override values in the command line, causing the old resolution to be used until you vid_restart.

Basically, use "seta" to put in a default value, and use "set" whenever you want to use some other value.

_________________
Image Staff
http://www.modwiki.net - wiki resource for all Doom 3 engine-based games.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 5:31 am 
Offline
picked up 200 ammo

Joined: Sat Aug 21, 2004 5:14 pm
Posts: 242
Location: Worldspawn
Ahhhh... that's why: seta :idea: Of course. Very sharp observation on your part iceheart. I set those shortcuts and used "seta" the very day I bought the game and the thought never occured to me since. Me goes off to adjust my shortcuts. The game and editor will load faster thanks to this :D

Thanks for the clarification mate :)

_________________
Red by nature, black by art


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 6:59 am 
Offline
pixel pusher
User avatar

Joined: Tue Nov 05, 2002 11:20 am
Posts: 3251
Location: London
What I'd like to know is if there is any way to close the editor but keep the game open - toggling between game/editor with F2/TAB is a good feature, but if you want to check your FPS, you have to close everything down and restart doom3.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sun Oct 24, 2004 2:12 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
bb_matt wrote:
What I'd like to know is if there is any way to close the editor but keep the game open - toggling between game/editor with F2/TAB is a good feature, but if you want to check your FPS, you have to close everything down and restart doom3.


Not that I know of

I'm working on making the configuration look a bit better, and I'm also implementing plugin architecture, mainly coz its easier for me to customize for myself without modifying the original source.
If other people want to be able to do plugins for it, then I'll release a few samples people can work off.
At the very least I can add new features by it. I'm thinking of writing a .PK4 creator (which would automatically create a .pk4 files from a given directory, excluding DoomConfig.cfg and doomkey), and distributing it as a plugin.
Comments on the plugin idea would be appreciated...

_________________
Freedom of speech is wonderful - right up there with the freedom not to listen.

>>My Homepage<<


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 24, 2004 6:02 am 
Offline
pure
User avatar

Joined: Wed Sep 18, 2002 11:47 pm
Posts: 160
Very nice work Wraiyth.
I think having a pk4 packer that is built into your prog would also help in detering mappers from tampering with stock files as well making sure all released pk4's would be clean releases as well.
Nice addition buddy...good tool :D


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 24, 2004 6:18 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
demonspawn wrote:
Very nice work Wraiyth.
I think having a pk4 packer that is built into your prog would also help in detering mappers from tampering with stock files as well making sure all released pk4's would be clean releases as well.
Nice addition buddy...good tool :D


Thanks man :)

I'm working out a few bugs I've got, and I'm also working on a .PK4 creator right now.
Plugin creators will probably have to distribute a batch file with their plugins that automatically register them - I can't think of a better way to do it, and without the DLLs being registered then the plugins don't work full stop. Trying to write a dll register into the program just causes too many problems, especially when the program is run by someone who hasn't run it yet.

_________________
Freedom of speech is wonderful - right up there with the freedom not to listen.

>>My Homepage<<


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2004 11:39 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
PK4 Creator plugin is still in testing, but a stable working release is avaliable. Check top post for information.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2004 12:03 pm 
Offline
The first 10 posts have been the best...

Joined: Mon Oct 25, 2004 1:35 am
Posts: 20
The link to the launcher in the top posting seems to be wrong, at least i get a 404..


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2004 2:33 pm 
Offline
picked up 75 health

Joined: Thu Aug 05, 2004 8:35 pm
Posts: 97
Yup.. seems the file is not there...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group