Welcome to Dungeon Fighter Online Forums!
A Dungeon Fighter Online fansite, based around the mechanics of the game.

You are currently viewing our community forums as a guest user. Sign up or
Having an account grants you additional privileges, such as creating and participating in discussions.

[Release] DFO Control Panel

Discussion in 'DFO Modding' started by LHCGreg, May 5, 2010.

  1. koiulpoi New Member

    Issues:

    a) On systems with UAC enabled, the resizer does nothing unless DFO Control Panel is run as an administrator. I'm sure there's an easy way to request it from the system, (but I am not a coder).
    b) I typically play DFO on my external monitor, which has a higher resolution than my main screen. I would like it to resize to at least 1280x960 - instead, I'm limited to 1200x900 (which looks ugly due to half pixel doubling and whatnot). Why the limit? Why not have an option somewhere to allow any resolution to be typed in (hell, even disable aspect ratio checking)?
  2. LHCGreg Code monkey like Fritos

    Yes, it would be good to request to be run as admin on startup. I'll add that in the next version.

    I'll try to think of a way to make the GUI work well with multiple monitor setups while still being easy to use. Maybe make the limit the highest of any monitor. The command-line version has no limitations on the window size, but I'm guessing DFO always starts on the primary monitor so that doesn't help.
  3. koiulpoi New Member

    If I may, I'd like to add a couple more requests.

    1) Only ask for Admin access if it needs it (for resizing). Getting two UAC prompts (one from DFO Control Panel, one from Nexon's launcher) in a row gets annoying. (And no, I will not turn it off). Else, running in userland is fine. It doesn't need it (on my system at least) to create or destroy "C:\Nexon\DFO\zo3mo4". I'll test with soundpacks later.
    2) A "terminate with DFO" or somesuch option. I switch accounts often, and for me, it would be greatly improved if there was an option to make DFO Control Panel restore itself after killing the popup.

    As always, thanks for your hard work, and don't be afraid to tell me my ideas are stupid.
  4. LHCGreg Code monkey like Fritos

    I think (totally not sure on this) I can only have it prompt at startup, which is before it knows whether it's going to need admin rights. I *think* that creating/destroying zo3mo4 for windowed mode and switching soundpacks/audio.xml require admin rights.

    An option to not close DFOCP when DFO ends is already on the todo list but your feedback brings it closer to the top.

    Thank you for the feedback.
  5. Heidi Member

    Have you considered just disabling UAC? It was about the first thing I did on this vista laptop.
  6. koiulpoi New Member

    Sure, but I won't (for various reasons). As well, me turning off UAC doesn't solve the problem that the program needs to request admin access to work, so others who don't (or won't) speak up will have the same issue.

    For the record, UAC is far less annoying on 7 compared to Vista. Far fewer prompts for things you initiate personally.
  7. SpyydeR A Sharp Blunt Object.

    Love the new version. 8D
  8. AiNoMinako Poke Poke Poke

    thx for the new version :3c
  9. firecraker Member

    D: the resizing doesn't work help please.
  10. geenareeno Not gReenareeno

    Thanks for making this, it's great.
  11. ArtSlay _________________________

    Resizing is amazing, always wanted to have a little bigger version of windowed mode.

    But the resized graphic seems a little blurish, is it just me?
  12. LHCGreg Code monkey like Fritos

    Talked to you on IRC, but for the benefit of others:

    You need to run DFOCP as admin in Windows Vista and Windows 7 if you want to resize the DFO window or switch soundpacks/audio.xml (and maybe other features too).

    Resizing only scales the graphics up to the new size, it doesn't change the real resolution of the game sprites.
  13. doomreaper33 New Member

    2010-10-01 14:21:44,358 DFO monitor DEBUG: Game window exists but is not visible.

    DFOCP seems to automatically close the game if I'm not on it after a certain amount of time. Anyway to disable this?
  14. LHCGreg Code monkey like Fritos

    Give me a complete log.

    If you mean that DFOCP isn't "attached" to DFO after a patch, that's a known bug.
  15. doomreaper33 New Member

    2010-10-01 15:05:50,999 Main INFO : DFO Control Panel version 2.5.0.145 started.
    2010-10-01 15:05:51,014 Main DEBUG: CLR Version: 2.0.50727.3615
    2010-10-01 15:05:51,014 Main DEBUG: Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3
    2010-10-01 15:05:51,014 Main DEBUG: Number of processors: 2
    2010-10-01 15:05:51,014 Main INFO : Checking for log files older than 7.00:00:00...
    2010-10-01 15:05:51,014 Main INFO : Done checking for old log files.
    2010-10-01 15:05:51,030 Main DEBUG: Checking .NET framework version...
    2010-10-01 15:05:51,124 Main DEBUG: .NET 3.5 SP1 or better detected.
    2010-10-01 15:05:51,124 Main INFO : Parsing command-line arguments.
    2010-10-01 15:05:51,155 Main INFO : Command line parsed. Argument dump:
    Show help = False
    Show version = False
    Sensitive data to log = None
    Use GUI = True
    Username specified = False
    Username = (hidden)
    Password specified = False
    Password = (hidden)
    Close popup =
    Launch windowed =
    Game window starting width =
    Game window starting height =
    DFO dir =
    Switch SoundPacks =
    Custom SoundPacks file =
    Temp SoundPacks file =
    Switch audio.xml =
    Custom audio.xml file =
    Temp audio.xml file =

    2010-10-01 15:05:51,155 Main INFO : Starting GUI.
    2010-10-01 15:05:51,670 Main DEBUG: Creating main window.
    2010-10-01 15:05:52,670 Main DEBUG: Main window created.
    2010-10-01 15:05:52,670 Main DEBUG: Loading main window.
    2010-10-01 15:05:52,670 Main DEBUG: Primary screen size is 1024x768
    2010-10-01 15:05:52,670 Main DEBUG: Allowable game window width: 640-1024
    2010-10-01 15:05:52,686 Main DEBUG: Refreshing checkbox for switchable Soundpacks with ('SoundPacks', '', '')
    2010-10-01 15:05:52,686 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,686 Main DEBUG: Refreshing checkbox for switchable audio.xml with ('audio.xml', '', '')
    2010-10-01 15:05:52,686 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,717 Main INFO : Loading settings from C:\Documents and Settings\Eric\Application Data\DFO Control Panel\settings.xml.
    2010-10-01 15:05:52,749 Main INFO : Settings loaded.
    2010-10-01 15:05:52,749 Main DEBUG: Applying settings and arguments.
    2010-10-01 15:05:52,749 Main DEBUG: Getting value for setting 'Close popup'.
    2010-10-01 15:05:52,749 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,749 Main DEBUG: Close popup = True (from settings file)
    2010-10-01 15:05:52,749 Main DEBUG: Getting value for setting 'Launch windowed'.
    2010-10-01 15:05:52,749 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,749 Main DEBUG: Launch windowed = True (from settings file)
    2010-10-01 15:05:52,749 Main DEBUG: Getting value for setting 'Remember username'.
    2010-10-01 15:05:52,749 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,749 Main DEBUG: Remember username = True (from settings file)
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Username'.
    2010-10-01 15:05:52,764 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,764 Main DEBUG: Username = (hidden) (from settings file)
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Password'.
    2010-10-01 15:05:52,764 Main DEBUG: Password = (hidden) (default)
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Starting game window width'.
    2010-10-01 15:05:52,764 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,764 Main DEBUG: Starting game window width = 640 (from settings file)
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Starting game window height'.
    2010-10-01 15:05:52,764 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,764 Main DEBUG: Starting game window height = 480 (from settings file)
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'DFO directory'.
    2010-10-01 15:05:52,764 Main DEBUG: DFO directory = (default)
    2010-10-01 15:05:52,764 Main DEBUG: Detecting DFO directory by getting registry value 'RootPath' in registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Nexon\DFO'
    2010-10-01 15:05:52,764 Main DEBUG: Game directory is C:\Nexon\DFO
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable Soundpacks with ('SoundPacks', '', '')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable audio.xml with ('audio.xml', '', '')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable Soundpacks with ('SoundPacks', '', '')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Custom file for SoundPacks'.
    2010-10-01 15:05:52,764 Main DEBUG: Custom file for SoundPacks = SoundPacksCustom (default)
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable Soundpacks with ('SoundPacks', 'SoundPacksCustom', '')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Temp file for SoundPacks'.
    2010-10-01 15:05:52,764 Main DEBUG: Temp file for SoundPacks = SoundPacksOriginal (default)
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable Soundpacks with ('SoundPacks', 'SoundPacksCustom', 'SoundPacksOriginal')
    2010-10-01 15:05:52,764 Main DEBUG: Enabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Switch SoundPacks'.
    2010-10-01 15:05:52,764 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,764 Main DEBUG: Switch SoundPacks = True (from settings file)
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable audio.xml with ('audio.xml', '', '')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Custom file for audio.xml'.
    2010-10-01 15:05:52,764 Main DEBUG: Custom file for audio.xml = customaudio.xml (default)
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable audio.xml with ('audio.xml', 'customaudio.xml', '')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Temp file for audio.xml'.
    2010-10-01 15:05:52,764 Main DEBUG: Temp file for audio.xml = originalaudio.xml (default)
    2010-10-01 15:05:52,764 Main DEBUG: Refreshing checkbox for switchable audio.xml with ('audio.xml', 'customaudio.xml', 'originalaudio.xml')
    2010-10-01 15:05:52,764 Main DEBUG: Disabling checkbox.
    2010-10-01 15:05:52,764 Main DEBUG: Getting value for setting 'Switch audio.xml'.
    2010-10-01 15:05:52,764 Main DEBUG: Settings file value found.
    2010-10-01 15:05:52,764 Main DEBUG: Switch audio.xml = False (from settings file)
    2010-10-01 15:05:52,764 Main DEBUG: Done applying settings and arguments.
    2010-10-01 15:05:52,764 Main DEBUG: Checking all switchable files.
    2010-10-01 15:05:52,764 Main DEBUG: Repairing switchable ('C:\Nexon\DFO\SoundPacks', 'C:\Nexon\DFO\SoundPacksCustom', 'C:\Nexon\DFO\SoundPacksOriginal').
    2010-10-01 15:05:52,780 Main DEBUG: Not broken, nothing to repair.
    2010-10-01 15:05:52,780 Main DEBUG: Repairing switchable ('C:\Nexon\DFO\audio.xml', 'C:\Nexon\DFO\customaudio.xml', 'C:\Nexon\DFO\originalaudio.xml').
    2010-10-01 15:05:52,780 Main DEBUG: Not broken, nothing to repair.
    2010-10-01 15:05:52,780 Main DEBUG: Done checking switchable files.
    2010-10-01 15:05:52,780 Main DEBUG: Main window loaded.
    2010-10-01 15:06:45,514 Main DEBUG: Launch button clicked.
    2010-10-01 15:06:45,514 Main DEBUG: GameWindowStartingWidth = 640, textbox value = 640, slider value = 640
    2010-10-01 15:06:45,514 Main DEBUG: GameWindowStartingHeight = 480, textbox value = 480
    2010-10-01 15:06:45,514 Main DEBUG: Starting launch thread.
    2010-10-01 15:06:45,514 Launcher DEBUG: Launch thread started.
    2010-10-01 15:06:45,514 Launcher DEBUG: Starting game. Launch parameters:
    Game: DFO
    Close popup: True
    Game dir: C:\Nexon\DFO
    DFO exe: C:\Nexon\DFO\DFO.exe
    DFO launcher exe: C:\Nexon\DFO\DFOLauncher.exe
    Game dead polling interval: 100
    Game done polling interval: 250
    Game window created polling interval: 100
    Launch in windowed: True
    Window width: 640
    Window height: 480
    Login timeout: 10000
    Switching file C:\Nexon\DFO\SoundPacks with C:\Nexon\DFO\SoundPacksCustom using C:\Nexon\DFO\SoundPacksOriginal as a temporary.
    Username present: True
    Username: (hidden)
    Password present: True
    Password: (hidden)
    2010-10-01 15:06:45,530 Launcher DEBUG: Applying window mode setting.
    2010-10-01 15:06:45,530 Launcher DEBUG: Forcing window mode by creating directory C:\Nexon\DFO\zo3mo4.
    2010-10-01 15:06:45,530 Launcher DEBUG: C:\Nexon\DFO\zo3mo4 created.
    2010-10-01 15:06:45,530 Launcher DEBUG: State change from None to Login.
    2010-10-01 15:06:45,530 Launcher DEBUG: Handling state change to Login.
    2010-10-01 15:06:45,530 Launcher DEBUG: Getting argument string to pass to DFO.
    2010-10-01 15:06:45,530 Launcher DEBUG: Getting arguments to pass to DFO.
    2010-10-01 15:06:45,577 Launcher DEBUG: Getting DFO authentication token using username '(hidden)', password '(hidden)', URL http://passport.nexon.net/Login.aspx?nexonTheme=DungeonFighter, timeout of 10000 ms.
    2010-10-01 15:06:45,905 Launcher DEBUG: Getting viewstate from http://passport.nexon.net/Login.aspx?nexonTheme=DungeonFighter
    2010-10-01 15:06:45,905 Launcher DEBUG: Getting web page at http://passport.nexon.net/Login.aspx?nexonTheme=DungeonFighter
    2010-10-01 15:06:51,030 Launcher DEBUG: Got response.
    2010-10-01 15:06:51,030 Launcher DEBUG: Got viewstate: /wEPDwUKMTY2MTY3MjU1M2Rk
    2010-10-01 15:06:51,030 Launcher DEBUG: POST data is '(hidden)'
    2010-10-01 15:06:51,499 Launcher DEBUG: Request written.
    2010-10-01 15:06:51,795 Launcher DEBUG: Got response.
    2010-10-01 15:06:51,795 Launcher DEBUG: Got authentication token: '(hidden)'
    2010-10-01 15:06:51,827 Launcher DEBUG: Getting geolocation argument to pass to DFO from http://dungeonfighter.nexon.net/modules/geoloc.aspx
    2010-10-01 15:06:51,827 Launcher DEBUG: Getting web page at http://dungeonfighter.nexon.net/modules/geoloc.aspx
    2010-10-01 15:06:52,108 Launcher DEBUG: Got response.
    2010-10-01 15:06:52,358 Launcher DEBUG: Geolocation arg is 'NY'
    2010-10-01 15:06:52,358 Launcher DEBUG: Arguments to pass to DFO are: (hidden)
    2010-10-01 15:06:52,358 Launcher DEBUG: Argument string is (hidden)
    2010-10-01 15:06:52,358 Launcher DEBUG: State change from Login to Launching.
    2010-10-01 15:06:52,358 Launcher DEBUG: Handling state change to Launching.
    2010-10-01 15:06:52,358 Launcher DEBUG: Starting game process 'C:\Nexon\DFO\DFOLauncher.exe' with arguments '(hidden)'
    2010-10-01 15:06:54,045 Launcher DEBUG: Starting monitor thread.
    2010-10-01 15:06:54,045 Launcher DEBUG: Waiting for state to become None or a cancel request.
    2010-10-01 15:06:54,108 DFO monitor DEBUG: Monitor thread started.
    2010-10-01 15:06:54,108 DFO monitor DEBUG: Waiting for the game launcher process to stop or a cancel signal.
    2010-10-01 15:07:02,014 2632 DEBUG: Launcher process exited, launcher done event set.
    2010-10-01 15:07:02,014 DFO monitor DEBUG: Launcher process ended.
    2010-10-01 15:07:02,014 DFO monitor DEBUG: Switching C:\Nexon\DFO\SoundPacks with C:\Nexon\DFO\SoundPacksCustom using C:\Nexon\DFO\SoundPacksOriginal as a temporary.
    2010-10-01 15:07:02,014 DFO monitor DEBUG: Moved C:\Nexon\DFO\SoundPacks to C:\Nexon\DFO\SoundPacksOriginal.
    2010-10-01 15:07:02,030 DFO monitor DEBUG: Moved C:\Nexon\DFO\SoundPacksCustom to C:\Nexon\DFO\SoundPacks.
    2010-10-01 15:07:02,030 DFO monitor DEBUG: Switch successful.
    2010-10-01 15:07:02,030 DFO monitor DEBUG: Waiting for DFO window to be created AND be visible, the DFO process to not exist, or a cancel notice.
    2010-10-01 15:07:03,045 DFO monitor DEBUG: Game window created and visible.
    2010-10-01 15:07:03,045 DFO monitor DEBUG: State change from Launching to GameInProgress.
    2010-10-01 15:07:03,045 DFO monitor DEBUG: Handling state change to GameInProgress.
    2010-10-01 15:07:03,045 DFO monitor DEBUG: Resizing the game window on game startup to 640x480.
    2010-10-01 15:07:03,045 DFO monitor DEBUG: Skipping because the game starts as 640x480.
    2010-10-01 15:07:03,045 DFO monitor DEBUG: Waiting for the main game window to not exist or to not be visible, or for a cancel signal.
  16. LHCGreg Code monkey like Fritos

    I'm not sure if I understand what you mean. Do you mean if you leave the game at the channel select for a while, the game closes? That's normal behavior for the game, DFOCP has nothing to do with that.
  17. doomreaper33 New Member

    Never mind, I just realized after trying to get it to occur again, that it was only happening when I was playing another game, while having DFO mostly off the screen. I had cheat engine up for the game I was playing, so DFO closed itself and since it was mostly off the screen, I probably couldn't see the error.
  18. geenareeno Not gReenareeno

    I have a problem too, but there isn't much I can say about it. The first time I used it, it was great. I turn off paralells, come back on try to start up dfocp and when i double click on it it loads for a bit and then gives me the dfocp is not responding window and gives me the option to end the program. Nothing else happens. Know what'g going on? It's windows xp but it's running on parallels, that's probably the problem.
  19. LHCGreg Code monkey like Fritos

    So you're saying DFOCP would not start and "wasn't responding" according to Windows? Did it get as far as creating a log file? (check %appdata%\DFO Control Panel)
  20. geenareeno Not gReenareeno

    Yeah I don't even understand what you just said so i'm just gonna manual boot lol. I'm getting my own laptop very soon anyway.

Share This Page