Jump to content

  •  


   
Where Flight Simulation Enthusiasts Gather from Around the World!

HOT SPOTS:
 rarrow.gif The 2014 Demographic Survey! - NEW!

rarrow.gif What's new in the Library

rarrow.gif Member Blogs

rarrow.gif Member Reviews - Contribute a Review!
rarrow.gif Bargain Hunters Forum
rarrow.gif Classified, Want, Swap Ads

rarrow.gif AVSIM Team Speak System

rarrow.gif Video Library
rarrow.gif Image Gallery
rarrow.gif Community Links Library
rarrow.gif Tutorials

rarrow.gif FS9. FSX & P3D CTD Guide

rarrow.gif FSX / P3D Configuration Guide

rarrow.gif AVSIM Publications 



Simulation's Premier Resource!

AVSIM is a free service to the flight and simulation communities. Please help us keep it that way. Donate what you can today! Thank you for your support!











. . .
Photo
- - - - -

FPS limiter bat file


  • Please log in to reply
90 replies to this topic

#1 cubs

cubs

    Member

  • Members
  • 91 posts
  • Joined 6 Years, 4 Months and 27 Days Ago.

Posted 02 September 2011 - 01:03 PM

Hi all, FPS limiter I am running windows 7 on a 64 bit system. I have FSX located in C/FSX. When I run the exicutable to get the bat file, It does not create one. It looks like the directions want FSX located in program files(x86). Does this matter? Doug

Help AVSIM continue to serve you!
Please donate today!

#2 ironmaiden

ironmaiden

    Member - 2,000+

  • Members
  • 2,584 posts
  • Joined 3 Years, 2 Months and 11 Days Ago.

Posted 02 September 2011 - 01:05 PM

use Java .

#3 738

738

    Member - 1,000+

  • Gallery Owner
  • 1,233 posts
  • Joined 5 Years, 8 Months and 16 Days Ago.

Posted 02 September 2011 - 01:12 PM

use Java .

Yeah, java needed for this

Chris Howard
betateam.jpg


#4 cubs

cubs

    Member

  • Topic Starter
  • Members
  • 91 posts
  • Joined 6 Years, 4 Months and 27 Days Ago.

Posted 02 September 2011 - 03:31 PM

Yes, I am using java, that is how I was able to open it. Doug

#5 ironmaiden

ironmaiden

    Member - 2,000+

  • Members
  • 2,584 posts
  • Joined 3 Years, 2 Months and 11 Days Ago.

Posted 02 September 2011 - 03:49 PM

Yes, I am using java, that is how I was able to open it. Doug

you mean you cannot create a batch file ? If you are using java you open the FPS_limiter jar file and then search for fsx.exe and just click on create , the created batch file will be in you fsx directory fsx.exe.limited something like that.

#6 cubs

cubs

    Member

  • Topic Starter
  • Members
  • 91 posts
  • Joined 6 Years, 4 Months and 27 Days Ago.

Posted 04 September 2011 - 09:59 AM

you mean you cannot create a batch file ? If you are using java you open the FPS_limiter jar file and then search for fsx.exe and just click on create , the created batch file will be in you fsx directory fsx.exe.limited something like that.

Thanks for the reply, yes, I use java to open the gui file, I get the small window where you locate the fsx.exe, it shows 30 fps, I click create bat, and nothing happens. I have fsx located in my C drive, C/fsx/fsx.exe. It shows fsx.exe in the name window and C:/FSX/fsx.exe in the path window. does that look right?

#7 Solren

Solren

    Member

  • Members
  • 68 posts
  • Joined 4 Years, 7 Months and 19 Days Ago.

Posted 04 September 2011 - 01:42 PM

This in all likelihood is a dumb @ss question... I noticed that you didn't mention that you clicked "browse" after you open the Jar file to locate FSX.EXE. This Jar file assumes FSX is in your programs directory and you must point it in the right direction. Also might sure you open the Jar file as an "administrator".
Cheers;
Solren
401 Sqn RCAF "Rams" (ret.)

#8 ryanbatcund

ryanbatcund

    Member - 8,000+

  • Members
  • 10,202 posts
  • Joined 8 Years and 14 Days Ago.

Posted 04 September 2011 - 03:48 PM

Also I think the .bat file is created wherever you've placed the FPS Limiter program (and not in the FSX folder)... so look in that folder.
|Ryan Butterworth|

#9 boeing247

boeing247

    Member

  • Members
  • 409 posts
  • Joined 3 Years, 1 Month and 24 Days Ago.

Posted 04 September 2011 - 07:05 PM

Also, are you looking for the right file? You need a batch file, but it doesn't say .bat. The file you need is fsx.limited.exe.
-Bram Osterhout

#10 ryanbatcund

ryanbatcund

    Member - 8,000+

  • Members
  • 10,202 posts
  • Joined 8 Years and 14 Days Ago.

Posted 04 September 2011 - 10:02 PM

It should though.... It will say fsx.exe.limited.bat
|Ryan Butterworth|

#11 JimmiG

JimmiG

    Member - 3,000+

  • Members
  • 3,584 posts
  • Joined 12 Years, 6 Months and 11 Days Ago.

Posted 05 September 2011 - 05:07 AM

Nothing is supposed to happen when you click "create bat". It just silently creates a file called fsx.exe.limited.bat in the same folder that you ran the .jar file from.

#12 boeing247

boeing247

    Member

  • Members
  • 409 posts
  • Joined 3 Years, 1 Month and 24 Days Ago.

Posted 05 September 2011 - 01:24 PM

It should though.... It will say fsx.exe.limited.bat

If you went into it's properties, it would, but windows explorer does not show the final file extension.
-Bram Osterhout

#13 ryanbatcund

ryanbatcund

    Member - 8,000+

  • Members
  • 10,202 posts
  • Joined 8 Years and 14 Days Ago.

Posted 05 September 2011 - 04:12 PM

If you went into it's properties, it would, but windows explorer does not show the final file extension.

It will if you enable "show file extensions." Under Control Panel\All Control Panel Items\Folder Options
|Ryan Butterworth|

#14 boeing247

boeing247

    Member

  • Members
  • 409 posts
  • Joined 3 Years, 1 Month and 24 Days Ago.

Posted 05 September 2011 - 04:59 PM

Huh. Yeah, I figured there must be an option for that somewhere, but I'd never seen it.
-Bram Osterhout

#15 Paul J

Paul J

    Member - 5,000+

  • Members
  • 5,924 posts
  • Joined 9 Years, 1 Month and 9 Days Ago.

Posted 05 September 2011 - 06:41 PM

Y'know - I've been mulling this darned limiter over for a while now. It is a worthwhile mod, as it does make a difference to almost everyone's frame rate, by pushing the frame rate limit off to the operating system, thus freeing up fsx to "work on other stuff".. The problem everyone runs into, is that Java GUI. How to run it, where to put, and so on.. The truth is - you don't need the jar. You can just delete the darned thing and make the bat file manually - it's quite easy once you get away from the 'magic' of Java.. Bare with me - I'm mainly making this for the guys that think they can't do this, or that it's too hard, but the fact is that there are hundreds of posts all from folks having trouble understanding this thing - including me. I must have downloaded 20 different versions of Java, trying to get it to work. And then the problem with Microsoft's "Where do I put the quotation marks?" "Why only one quotation mark?" - all pretty confusing. What I'm outlining below is what I found to be a more straight-forward way of getting it running.Basically - it's put the files in the FSX root, make a batch file on the desktop, name it, and then run it. The parameters in the file are fairly well known by now, and are in the readme.txt, but this is the part we can make a lot more simple by stating where FSX actually is with the dos "SET PATH=" command, instead of making error upon error because of those squirrely quotation marks.So... if you are still having issues making it run, try this.. 1). Make a new folder on your favorite "stuff" drive - not your fsx drive, and name it anything you want to, say "FPS_Limiter_Source_File. Put the zip file into it.2). Unzip the file inside that new folder.3). You will now have another new folder there called "FPS_Limiter_02".4). Inside that folder are seven files:- ......FPS_Limiter.exe......FPS_Limiter_GUI.jar......HookHelper.dll......Limiter_D3D8.dll......Limiter_D3D9.dll......Limiter_OGL.dll......Readme.txt 5). Copy everything inside the folder - except the readme and the jar files - over to the root folder of FSX. Now forget about that folder.6). Now leave Windows Explorer and then Rt-Clk anywhere on the desktop. Select 'New -> Text document'7). Rt-Clk on the icon and select "Edit"8). Notepad will open: Copy/paste the dos script below from between the two asterisk rows "*******" (don't copy the asterisks) into Notepad and then substitute your path to your FSX folder from what mine was. So... highlighting everything from CLS all the way to \fsx.exe..... ************CLS@ECHO OFFSET PATHF=F:\Flight SimulatorF:CD "%PATHF%"start .\FPS_Limiter.exe /r:D3D9 /f:30 /x:OFF /l:OFF "%PATHF%"\fsx.exe ************ For example your path might read:- SET PATHX=C:\Flight Simulator C:CD "%PATHX%"start .\FPS_Limiter.exe /r:D3D9 /f:30 /x:OFF /l:OFF "%PATHX%"\fsx.exe It might be: SET PATHX=C:\FSXC:CD "%PATHX%"start .\FPS_Limiter.exe /r:D3D9 /f:30 /x:OFF /l:OFF "%PATHX%"\fsx.exe What we've done is to substitute a parameter (PATHX) for the path to your FSX folder - a lot more simple than trying to figure where to put a quotation mark.. Once you're happy that everything looks good, spaces in the right spot, etc., click on 'save as' and name it "Limiter.bat"... or anything else, as long as it ends with ".bat".Lastly - open up your fsx.cfg and edit the [Display] section - and make UPPER_FRAMERATE_LIMIT=0. If you docant find or don't know how to manually do this, just start FSX as you normally do, and move the frame rate to 'unlimited, then exit fsx.Double-click on this batch file and FSX will start, and will be limited tp 30 frames per sec.. This will work every time. If you are using TripleHead2G - then make "/f:90" for the 3 screens. Also, too, note the "start" command - Following "start" is a space, and then a "." before the "\". If you copy\paste you won't have any trouble. I'm a retired old fart, so you can pm me if it's still as cloudy as before. At least you won't have to worry about java.....

6dfuecbymy0s0t74g.jpg

 

i7-2600K@5.1-gig, using EK-Supreme HF waterblock, ASUS P8P67 B3 DL; EVGA GTX780; 8gig Corsair Vengeance C8@1600; Win 7-64; TH2G w/3x19" VA926; Homebuilt cockpit; MD-80-style throttle quadrant; TrackIR5: DX10 only.

 

Adam's (Adamski_NZ) site for the "DX10 How-To" Guide, and many other useful files here.






   
Where Flight Simulation Enthusiasts Gather from Around the World!