project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 05-13-2009, 06:22 PM   #1
addaco

addaco's Avatar
Send a message via MSN to addaco
Default [Code] The Project Reality Launcher

Having approval from R-DEV Fuzzhead ( Fuzzy) development for the PR Launcher is in full swing.

This thread will be to update the community on developments, beta versions (testing ) and also ideas. Also I will be keeping a sort of "diary", so updates can be kept track of.
For those of you who do not know about the launcher, please see this thread, as I cant be asked to explain it all again : http://www.realitymod.com/forum/f18-...-launcher.html

And if anybody has skills that would benefit the team, PM me

----------------------------------------------------------------------------------------------------------
Diary 1: The core stable. Thanks to Jonny for the work on it so far
Diary 2: Attempting to make the GUI Im getting many errors


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
addaco is offline
Last edited by addaco; 05-14-2009 at 12:51 PM..
Reply With Quote
Old 05-13-2009, 06:41 PM   #2
Jonny

Jonny's Avatar
Default Re: [Development] The Project Reality Launcher

The core is NOT built, there is simply a usable definition of the basic data structures. Its still missing a lot of functionality and housekeeping stuff.

XKCD forums, in the middle of a perfectly sane conversation:
Has anyone really been far even as decided to use even go want to do look more like?
Best post ever made!

EG: PPSh is made of win and quite possibly stamped sheet metal
Jonny is offline Reply With Quote
Old 05-13-2009, 06:47 PM   #3
addaco

addaco's Avatar
Send a message via MSN to addaco
Default Re: [Development] The Project Reality Launcher

Quote:
Originally Posted by Jonny View Post
The core is NOT built, there is simply a usable definition of the basic data structures. Its still missing a lot of functionality and housekeeping stuff.
Ok, waht I ment was stable , editing post to correct the current progress


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
addaco is offline Reply With Quote
Old 05-14-2009, 06:53 AM   #4
MCI

MCI's Avatar
Default Re: [Development] The Project Reality Launcher

I'm not a programmer or a coder but if you need any photoshop support PM me


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
MCI is offline Reply With Quote
Old 05-20-2009, 07:16 PM   #5
Jonny

Jonny's Avatar
Default Re: [Code/Other] The Project Reality Launcher

I appear to have almost all of the basic functionality coded now, still need to clean up some things and add much better error handling.

Still not too late to volunteer to code a GUI, if anyone is interested...

XKCD forums, in the middle of a perfectly sane conversation:
Has anyone really been far even as decided to use even go want to do look more like?
Best post ever made!

EG: PPSh is made of win and quite possibly stamped sheet metal
Jonny is offline Reply With Quote
Old 05-20-2009, 10:32 PM   #6
[R-DEV]Tonnie
PR:BF2 Developer

[R-DEV]Tonnie's Avatar
Default Re: [Code/Other] The Project Reality Launcher

this will be so helpful hurry up and get it done or i will kill all of you.... just kidding but really


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

HangMan: BF2 Editor, it has very strict limitations memory wise, and crashes all the time. Its like a girl. Treat it with respect and take it slow and you'll get places. Rush and get ahead of yourself and it will turn around and punch you in the mouth
[R-DEV]Tonnie is offline Reply With Quote
Old 08-23-2009, 04:06 PM   #7
Jonny

Jonny's Avatar
Default Re: [Code/Other] The Project Reality Launcher

Finally got a beta version finished!

Most of the planned features are now in place, apparently working, and (AFAIK) its stable.

The few things left to do are to sort out the background to be a more 'PR' grey, get the command line options working properly, and make a proper installer for it. There are probably a few more things to add yet to make it as useful as possible, but I need testers to find out what they are.

How to change the buttons:
Some applications can be added and removed in the options menu, its pretty straightforward to use it so I'll let you figure it out on your own. Not all can be removed by that method though. This is to make sure you dont accidentally remove the button to launch PR from the XML data file.

The data file is split into 3 main parts:

1: The 'Apps' part, containing the applications launched by pressing one of the big long button(s) at the top and the buttons with checkboxes beside them. Its important their order is not changed.

2: The 'Groups' part, containing some references to what those big long button(s) will launch every time they are pressed. The references are stored as an id which is used to access the appropriate app via a subscript, hence its important they remain in the same order. 99% of the time a group will reference just one application, but it is possible to reference many.

3: The 'MiscApps' part, containing the data for the buttons below the big long ones at the top and above the ones with checkboxes. Only the W flag has any effect here, the rest do not apply.

Both apps and miscapps have a 'flags' field. It is populated with single character flags which dictate the behaviour of the application. The flags currently available, and what they do, are:
H - wait until this app has finished executing before starting the next in the list.
W - the path argument is interpreted as a URL. The 'file:' prefix can be used like the 'http:' prefix, but specifies the path refers to a local file on your HD to be opened with the appropriate registered program.
C - the application appears checked if it appears with a checkbox next to it in the main GUI. It has no effect if I is set.
I - The application is not visible in the main GUI, but it can still be started by reference from a group. Apps with this flag should appear at the top of the list so their references are not invalidated if a visible app is removed (you have been warned).


The download should include all the files you need to run it, please post if it doesn't so that I can add anything thats missing and fix the above link. Simply place them all in the same folder somewhere (C:\Program Files\PRLauncher, for instance) and then edit the data file with any text editor of your choice. The sample data file included with it is to give you some examples so that you dont need to write the XML code out in full when you start to add more stuff to it.

You might need to change the path to PR.exe, if you installed in a different directory to the one I have, but the Forum and PR Spy links should work fine.

If you find something is lacking (I'm sure someone will, I dont think I can write a perfect application on my first attempt...), post about it. Otherwise I cant do anything about it.

I have been using it for a while now, and I find it VERY useful. It allows me to have 11 fewer things on my desktop. Here is a screenshot to show you how much stuff I have on it:
It can handle much, much more than that. But it might not fit on the screen if you put too much on it.







I assume this needs a licence, so:
This software is provided 'as is', with no warranty or guarantee it will work as intended or expected. You use it at your own risk and I cannot be held personally responsible for any loss or damage to any hardware or software. Use of this software implies agreement with this licence.

You may re-distribute/reverse-engineer/modify it in any manner you wish, provided you credit myself as the original author.








Due to this being primarily aimed at launching PR and also in a beta stage, I assume it OK to use the PR dogtags as the application icon. If not, just let me know.

XKCD forums, in the middle of a perfectly sane conversation:
Has anyone really been far even as decided to use even go want to do look more like?
Best post ever made!

EG: PPSh is made of win and quite possibly stamped sheet metal
Jonny is offline
Last edited by [R-DEV]Matrox; 08-23-2009 at 04:51 PM.. Reason: Helped a bit with your licence ;)
Reply With Quote
Old 08-23-2009, 04:47 PM   #8
Wilkinson
PR Server License Administrator

Wilkinson's Avatar
Send a message via AIM to Wilkinson
Default Re: [Code/Other] The Project Reality Launcher

Excellent work Jonny. Really Ace stuff


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
Wilkinson is offline Reply With Quote
Old 08-23-2009, 04:51 PM   #9
[R-DEV]Matrox
PR Official Events Coordinator

[R-DEV]Matrox's Avatar
Default Re: [Code/Other] The Project Reality Launcher

Really good job man, I'm going to try it out!


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
If you can find the four ninjas in my post, pm me to find out the prize....

Soalic: Because Microsoft Word makes really good pictures.
[R-DEV]Matrox is offline Reply With Quote
Old 08-23-2009, 09:09 PM   #10
[R-CON]Tomato-Rifle
PR:BF2 Contributor

[R-CON]Tomato-Rifle's Avatar
Send a message via MSN to [R-CON]Tomato-Rifle Send a message via Skype™ to [R-CON]Tomato-Rifle
Default Re: [Code/Other] The Project Reality Launcher

What's PR spy?


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-CON]Tomato-Rifle is offline Reply With Quote
Reply


Tags
code, code or other, development, launcher, project, reality
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:40 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.