Opening map through command line

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Opening map through command line

Postby Poor » Wed Aug 10, 11 4:10 pm

I need to start Deus Ex and have it load a map like unrealed does when you do play level. I looked at how unrealed does it and it does "deusex.exe Autoplay.dx HWND=2432256 -log -hax0r". The problem is I need a window handle. Is there any other way to do this or a way to get a window handle?
Poor
Poster
 
Posts: 190
Joined: Tue Jan 04, 11 7:42 pm

Postby EXetoC » Wed Nov 16, 11 8:40 pm

Specifying the window handle doesn't make sense, unless it's some hacky way to interact with another application. deusex Autoplay.dx works for me (it just starts the game like usual and ends up in the main menu).

EDIT: UnrealEd seems to show its window handle, so perhaps you're trying to interact with it somehow? I wouldn't know anything about that though
Last edited by EXetoC on Fri Nov 18, 11 7:01 pm, edited 1 time in total.
EXetoC
Newbie
 
Posts: 20
Joined: Sun Oct 23, 11 12:29 am
Location: Stockholm, Sweden

Postby EXetoC » Sat Nov 19, 11 11:11 am

I also wanted to find a way to load a map using command-line switches. I realized that i needed to specify the -hax0r switch, otherwise the map argument would be ignored. So leave out the handle and it should work.
EXetoC
Newbie
 
Posts: 20
Joined: Sun Oct 23, 11 12:29 am
Location: Stockholm, Sweden

Postby Poor » Sat Nov 19, 11 11:26 pm

:shock: Wow that works. Thanks a ton!
Last edited by Poor on Sat Nov 19, 11 11:30 pm, edited 2 times in total.
Poor
Poster
 
Posts: 190
Joined: Tue Jan 04, 11 7:42 pm


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 22 guests