BF2 Launcher (beta)

General discussion of the Project Reality: BF2 modification.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

BF2 Launcher (beta)

Post by AfterDune »

I'll update this post when needed.


I got tired of all the BF2-mod shortcuts I had on my desktop and wanted to reduce them. So, I made a little BF2 launcher :p . It works on my pc so far, it'd be nice if you could try it out as well.

Here's what it looks like right now, plain and simple:
Image
Looks shit. What does it do?
It's a simple ".hta" file. HTA stands for "Html Application". It reads the BF2-path from the registry, reads the mods from your mod-directory and auto-selects any previous selected options (mod, resolution, fullscreen, debugger). The .hta file is located online, so you don't have to download anything. Plus, updates are automatically loaded when you start the launcher, easy eh?
All information is stored in cookies, those are stored on your pc. NOTHING is saved online (check the source code if you don't believe me ;) ).


How to run?
Easy, create a new shortcut, put the following line in the target:

Code: Select all

mshta.exe "http://thirdforces.internationalconspiracy.org/~afterdune/pr/launcher/launcher.hta"
You can give the shortcut any icon you want, so your desktop does not contain a lame icon :p . Anyway, launch the shortcut and the BF2 Launcher will be loaded.

I need help!
Missing a resolution? A mod doesn't have a decent name displayed? Anything else? Post here and I'll see what I can do. Please note, I'm not gonna spend too much time on fixing "bugs", since it works like a charm on my pc ;) .


Have fun! Hope it works for you as well.
Image
cyberzomby
Posts: 5336
Joined: 2007-04-03 07:12

Re: BF2 Launcher (beta)

Post by cyberzomby »

Nice! I only have PR installed so it wont be needed for my needs ^_^ (FH is on my external hard-disk with its own copy of BF to go with).
/Randoph/
Posts: 251
Joined: 2008-09-10 13:26

Re: BF2 Launcher (beta)

Post by /Randoph/ »

It doesn't work for me with debugger option,but otherwise its good.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

Strange. That one worked for me :p .
Image
karambaitos
Posts: 3788
Joined: 2008-08-02 14:14

Re: BF2 Launcher (beta)

Post by karambaitos »

if you could add 1280x768 and 1366x768 for 16:9 screens that be awesome
There is only one unforgivable lie That is the lie that says, This is the end, you are the conqueror, you have achieved it and now all that remains is to build walls higher and shelter behind them. Now, the lie says, the world is safe.? The Great Khan.

40k is deep like that.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

Should have them now. Could you check?
Image
karambaitos
Posts: 3788
Joined: 2008-08-02 14:14

Re: BF2 Launcher (beta)

Post by karambaitos »

WOOT they are there thx, but i also cant launch it with debugger checked
There is only one unforgivable lie That is the lie that says, This is the end, you are the conqueror, you have achieved it and now all that remains is to build walls higher and shelter behind them. Now, the lie says, the world is safe.? The Great Khan.

40k is deep like that.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

Do you guys even have bf2_r.exe? :p
Image
Ts4EVER
Posts: 1111
Joined: 2009-02-18 13:43

Re: BF2 Launcher (beta)

Post by Ts4EVER »

Does this work with the FH2.exe? Otherwise it could mess u your shaders if you start FH2 with it.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

Yes it does.
Image
karambaitos
Posts: 3788
Joined: 2008-08-02 14:14

Re: BF2 Launcher (beta)

Post by karambaitos »

[R-DEV]AfterDune wrote:Do you guys even have bf2_r.exe? :p
im sorry im just a mere mortal, dont kill me! and nope
There is only one unforgivable lie That is the lie that says, This is the end, you are the conqueror, you have achieved it and now all that remains is to build walls higher and shelter behind them. Now, the lie says, the world is safe.? The Great Khan.

40k is deep like that.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

I should do a check on that I guess :p .
Image
MikeDude
Posts: 941
Joined: 2007-10-25 12:07

Re: BF2 Launcher (beta)

Post by MikeDude »

What does ''debugger'' mean anyway? Ive seen people talk about Debugging more often. What does it do? And why is it needed in some cases?
Image
Image

[3dAC] MikeDude
Loving PR since 0.2.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

This option is handy for mappers for example. Like, sometimes your map crashes. If you run BF2 through the debugger, it logs all the errormessages and in most cases, the one that crashes your map is logged as well.

If you only play PR (or any other BF2 mod for that matter) you don't need to use it.
Image
sweedensniiperr
Posts: 2784
Joined: 2009-09-18 10:27

Re: BF2 Launcher (beta)

Post by sweedensniiperr »

there's only one mod on my desktop <3
Image
Glimmerman
Retired PR Developer
Posts: 3237
Joined: 2007-08-14 11:12

Re: BF2 Launcher (beta)

Post by Glimmerman »

I tested it with Dutch forces but it didnt load at all for some reason.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: BF2 Launcher (beta)

Post by AfterDune »

That's probably because it wants to launch [mod-folder]\pr.exe - which doesn't exist yet. Copy your pr.exe into the pr_daf_repo folder and try again (if it works, repo it as well ;) ).
Image
Hotrod525
Posts: 2215
Joined: 2006-12-10 13:28

Re: BF2 Launcher (beta)

Post by Hotrod525 »

i dont need this since the only thing that i play on BF2 engine is PR :D
Image
Durkie
Posts: 264
Joined: 2009-01-12 08:10

Re: BF2 Launcher (beta)

Post by Durkie »

thnx Afterdune it works great :-D
"Goddam it, you'll never get the Purple Heart hiding in a foxhole! Follow me!"
Captain Henry P. Jim Crowe
Oddsodz
Posts: 833
Joined: 2007-07-22 19:16

Re: BF2 Launcher (beta)

Post by Oddsodz »

Interesting tool. but you are missing the res of 1920X1200.

I Have also include it in my next update to the PR-Downloader for 0.95 Unless you don't want me too
Locked

Return to “PR:BF2 General Discussion”