Post new topic    
Slime Knight
Send private message
Shortcuts with command line options for CUSTOM and GAME? 
 PostSat Mar 03, 2012 11:12 pm
Send private message Reply with quote
Hey all,

I just recently upgraded to Win7 when I put together a new system (late adopter, I know), and haven't had any problems using OHR in the new environment... EXCEPT ONE! Gonk

Back in XP, I made shortcuts for both CUSTOM and GAME that started them with 3x zoom and in full-screen respectively. In the "target" box of the shortcut properties, I would have, for instance:

"C:\path\game.exe" -f

And it would run game fullscreen, no problems. However, this doesn't work at all in Win7. Even from the command prompt, I can't start either program in fullscreen from the command line. I *CAN* go into fullscreen once the programs are started with alt-enter, so the capability is there, it's just like the command line options aren't being read somehow.

Anyone have any insights about what's going on?
SPELLSHARD: THE BLACK CROWN OF HORGOTH now COMPLETE! Grab it today!
Liquid Metal King Slime
Send private message
 
 PostSun Mar 04, 2012 6:25 pm
Send private message Reply with quote
That sounds like a bug. I can test it on a Windows 7 machine on Monday and let you know if I get the same result.

I am also curious if this is a gfx backend bug. Try:

game.exe -gfx sdl -f

and see if it works. That will tell us if this is a gfx_directx problem or a general fullscreen problem.
Slime Knight
Send private message
 
 PostSun Mar 04, 2012 10:41 pm
Send private message Reply with quote
Thanks for responding, James.

The -f option DOES work with -gfx sdl...

...but problematically. For instance, when I use alt-enter to fullscreen with the directx backend, it preserves the aspect ratio, but stretches it out to widescreen under SDL. Also once I close the program, it's moved all my open windows from my first monitor desktop to my second monitor desktop. I dunno if these latter issues are even under your control at all, but I just figured I'd mention them anyway. In any case, command line options "work" under SDL!
SPELLSHARD: THE BLACK CROWN OF HORGOTH now COMPLETE! Grab it today!
Metal King Slime
Send private message
 
 PostMon Mar 05, 2012 5:06 am
Send private message Reply with quote
That was a good hunch; I was totally clueless as to what the problem might be.

Did you also upgrade from Ypsiliform to Zenzizenzic when moving to your new computer? I can't imagine any possible Windows 7-sepcific problem.

Any SDL fullscreen bugs are totally out of our control, unfortunately. However a new SDL version was released recently. There's no mention of anything like that in the changelog, but you can try it if you want. Download http://www.libsdl.org/release/SDL-1.2.15-win32.zip, and replace the copy of SDL.dll that came with the OHR.
Slime Knight
Send private message
 
 PostMon Mar 05, 2012 5:56 am
Send private message Reply with quote
Ah, sorry, I should have specified that I'm using the nightly from a few days ago (Feb 27).

However, I just tried this out with the stable Zenzizenzic release as well, and the shortcuts also fail to work unless the SDL backend is specified.
SPELLSHARD: THE BLACK CROWN OF HORGOTH now COMPLETE! Grab it today!
Metal Slime
Send private message
 
 PostMon Mar 05, 2012 6:14 am
Send private message Reply with quote
Is Harlock making another ohr game?! Surprised Surprised Surprised

Curious if there's any tricks to start game.exe in a custom way, to control how you want it to look when you release your game.
Metal King Slime
Send private message
 
 PostMon Mar 05, 2012 6:51 am
Send private message Reply with quote
charbile wrote:
Curious if there's any tricks to start game.exe in a custom way, to control how you want it to look when you release your game.


Not yet, aside from providing a batch file or shortcut. Want to do that. Custom also, of course. Then no one will need to use command line options.

...

Oh actually, it would probably be possible to fix the widescreen full screen issue under SDL, by running at a more normal resolution instead of 640x400.
Display posts from previous: