Autorun Splash

General discussion of the Project Reality: BF2 modification.
Post Reply
GreySpatter
Posts: 33
Joined: 2009-02-18 23:57

Autorun Splash

Post by GreySpatter »

Hey there..

Would you like to help me make a installer for PR?
I could make one all alone, but I only know Visual Basic, and I dont want the installer to be dependent on a framework.
Therefore, It would be desirable to make it in C or something like that.

The plan is to copy the layout of the original autorun programs from BF2 and SpecialForces.
A simple mechanism detects if the game is installed, and displays Install/Play accordingly.
If user selects "Install", simply launch the core_install file and wait untill it terminates, then launch the Maps installer.
So really, pretty straight forward. I can supply the needed graphics/buttons.


I'm thinking something along the lines of this:
Image
Deadfast
Retired PR Developer
Posts: 4611
Joined: 2007-07-16 16:25

Re: Autorun Splash

Post by Deadfast »

Which registry entries does PR use?

(I haven't had PR installed by the installer for quite some time)
GreySpatter
Posts: 33
Joined: 2009-02-18 23:57

Re: Autorun Splash

Post by GreySpatter »

I have no idea what RegKeys It uses, but if a DEV-guru can't tell us, then i could reinstall it with a regmonitor running.
Deadfast
Retired PR Developer
Posts: 4611
Joined: 2007-07-16 16:25

Re: Autorun Splash

Post by Deadfast »

Well, get me the registry values and I can take a look onto it ;)
elmnt0852
Posts: 10
Joined: 2006-12-08 21:43

Re: Autorun Splash

Post by elmnt0852 »

Summer 2007 I also used to make one:

Image

greetz
im drunk and u is teh sux
GreySpatter
Posts: 33
Joined: 2009-02-18 23:57

Re: Autorun Splash

Post by GreySpatter »

Looks like the juicy RegKeys from ProjectReality install is located here:
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Project Reality Core_is1

Im assuming you are thinking about the method of detecting if the game is installed or not.
There is a key called "InstallLocation" that should provide the info you need.

elmnt0852 - Great minds think alike, eh? :P
Did you complete it, or just make the GFX for it?
Cptkanito
Posts: 384
Joined: 2008-08-31 12:06

Re: Autorun Splash

Post by Cptkanito »

Looks sexy.. :-P
Image
Image
Deadfast
Retired PR Developer
Posts: 4611
Joined: 2007-07-16 16:25

Re: Autorun Splash

Post by Deadfast »

GreySpatter wrote:Looks like the juicy RegKeys from ProjectReality install is located here:
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Project Reality Core_is1

Im assuming you are thinking about the method of detecting if the game is installed or not.
There is a key called "InstallLocation" that should provide the info you need.
Dead on.

Could you, by any chance, export the reg entries so I can import and try by my own?
GreySpatter
Posts: 33
Joined: 2009-02-18 23:57

Re: Autorun Splash

Post by GreySpatter »

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Project Reality Core_is1]
"Inno Setup: Setup Version"="5.2.3"
"Inno Setup: App Path"="C:\\Spill\\EA GAMES\\Battlefield 2"
"InstallLocation"="C:\\Spill\\EA GAMES\\Battlefield 2\\"
"Inno Setup: Icon Group"="(Default)"
"Inno Setup: User"="GreySpatter"
"Inno Setup: Setup Type"="custom"
"Inno Setup: Selected Components"="main"
"Inno Setup: Deselected Components"=""
"DisplayName"="Project Reality 0856 Core"
"DisplayIcon"="C:\\Spill\\EA GAMES\\Battlefield 2\\mods\\pr\\readme\\icons\\pr.ico"
"UninstallString"="\"C:\\Spill\\EA GAMES\\Battlefield 2\\unins000.exe\""
"QuietUninstallString"="\"C:\\Spill\\EA GAMES\\Battlefield 2\\unins000.exe\" /SILENT"
"DisplayVersion"="0856"
"Publisher"="Project Reality"
"URLInfoAbout"="www.realitymod.com"
"ModifyPath"="\\mods\\pr\\"
"NoRepair"=dword:00000001
"InstallDate"="20090228"
Oddsodz
Posts: 833
Joined: 2007-07-22 19:16

Re: Autorun Splash

Post by Oddsodz »

Did you see this?

https://www.realitymod.com/forum/f10-pr ... files.html


I Would love to work with you if we could do something like what I have been working on. I Know Jack about "C/C++" But I Do think that a download software is the only way to go with PR. It's so big now in data size that it is really a DVD worth of content.
Deadfast
Retired PR Developer
Posts: 4611
Joined: 2007-07-16 16:25

Re: Autorun Splash

Post by Deadfast »

Thanks, is there one for levels too?

EDIT: Actually never mind - I found I have it installed on my XP partition.


BTW: Do you have ICQ/MSN/xfire?


EDIT2: The path is in fact different for 64 bit Windows ;)
Last edited by Deadfast on 2009-02-28 13:00, edited 2 times in total.
Oddsodz
Posts: 833
Joined: 2007-07-22 19:16

Re: Autorun Splash

Post by Oddsodz »

Deadfast wrote:Thanks, is there one for levels too?

EDIT: Actually never mind - I found I have it installed on my XP partition.


BTW: Do you have ICQ/MSN/xfire?


EDIT2: The path is in fact different for 64 bit Windows ;)
Oh dear. Somebody did not read it all. lol

My installer does not care about what version of windows you have. It always (as long as you have vBF2 installed) installs into your vBF2 mods folder. No matter where you have installed it. It also installs the "Core" and "Levels" at the same time.

I Don't use irc/ICQ/MSN/Xfire. I Just hate typing. So if you wish to chat to me. Use Teamspeak/Vent/Mumble.

The Teamspeak server I use the must is at this address

ts.sircommunity.com:8888
Password: smacktard

Come by any time.
Deadfast
Retired PR Developer
Posts: 4611
Joined: 2007-07-16 16:25

Re: Autorun Splash

Post by Deadfast »

Neither of that was aimed at you :D

Didn't notice the thread had a second page...
GreySpatter
Posts: 33
Joined: 2009-02-18 23:57

Re: Autorun Splash

Post by GreySpatter »

Deadfast, I'll PM you my msn addy tomorrow, as this is a last minute visit before some heavy duty sleeping.

elmnt0852, your splash is eyecandy! Though, I'd personally favour a inferior visual look to respect the template that EA has created. Its simply a matter of unproportional admiration of uniformity and standarisation.
On a queere sounding sidenote, thumbs up for your Ps skills! 8-)
elmnt0852
Posts: 10
Joined: 2006-12-08 21:43

Re: Autorun Splash

Post by elmnt0852 »

GreySpatter wrote:elmnt0852 - Great minds think alike, eh? :P
:P
GreySpatter wrote:Did you complete it, or just make the GFX for it?
I just made the graphics.


Alex
im drunk and u is teh sux
dammii
Posts: 1
Joined: 2009-03-02 09:08

Re: Autorun Splash

Post by dammii »

Hello.

If anybody was wondering then the autorunner is kind of finished, GreySplatter contacted me on msn and we worked on it together this evening.

Features:

1.) Verify installed files and making sure everything is in order before the user has a chance to screw anything up, that includes correct procedural installation checks (bf2 first, then 1.41, then core then levels), and taking appropriate measures on what to install if something has already been installed.

2.) The second feature is being awesome.

3.) After installation the game can be run from the autorun splash.

--

This is mainly meant for if you bundle the patch, core and levels into a cd, you can install everything in procedular order with one click and have a nice graphic to look at while doing so, it might help new people with the installation as clicking one button has proven to be easier than clicking many, also, its statistically harder to screw anything up if everything is bundled, thats science.

Although its only a autorunner and is only meant to be run from a cd (you know, when you pop it in, you get the autorunner), you can also make an image of the bundle, and mounting said image will present the user with the splash.

However if wanted, its easy to convert the autorunner to a setup program, since you just keep the bundle the same and rename it to "setup.exe" :)

--

Screenshot:http://img87.imageshack.us/img87/1741/splashl.jpg

Although of no typical usage value (since hey, you dont get PR on a CD :P ), having that to complete your collection of BF2 in CD form, incase you decide to burn PR on a cd, this comes in handy to make it look like something of the BF2 product line, which is good for hardcore fans, and its also nice to look at, and that is always a plus, GreySplatter did a good job with this.

--

Drawbacks:

1.) This was written in C#, so it IS dependant on a framework, but lets face it, the future is comming and the future is built on frameworks, lets not live in the past, in order to use this installer you need the .NET framework which is pretty awesome anyways so download it if you havnt already.

2.) Im an internet programmer, and I usually dont work with other languages than php and other languages related to internet programming, so this program might be riddled with more bugs than the face of an African child.. as sad as that is, Im not demeaning those children, forgive me.

But we've tested every aspect of it alot and so far it doesnt crash my neighours computer, and that is good, it just installs everything and gives you an eyecandy splash.

--

Todo:

Well, we've yet to decide if the 1.41 patch should become a part of the bundle so when you press "install" it installs that patch too, but until then the EASY INFO button will be replaced with a 1.41 PATCH with a link to the patch, and the installer gently prompting the user to get his *** online and download/install it before proceeding with the installation.

And the "Readme" button will be replaced with the Manual for PR.

--

I'm guessing it will become available to those who want it tomorrow or something, also, we might even make one huge *** image file ready to be burnt on a cd/mounted, which includes the core, levels and 1.41 patch, and then upload it to a torrent site, but ofcourse, the autorunner will be made available without any bundle, just so users can.. i dont know.. do something with it.

Thanks for reading this, I am really bored so I enjoyed writing this.

Thank you!
Last edited by dammii on 2009-03-02 09:36, edited 1 time in total.
Post Reply

Return to “PR:BF2 General Discussion”