Author Topic: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).  (Read 88014 times)

0 Members and 1 Guest are viewing this topic.

Offline smurd

  • 25
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
The things you changed are working now. Thanks a lot!

  

Offline Havner

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
I did work a little on it. Mainly cleaning and code level improvements but implemented other things you were suggesting here (point me if I forgot something). Fixed few bugs. Made it read mod/settings.ini on start (but only non custom flags from it to avoid duplicating of custom ones on mod load) etc...

Check it if you got a second. I'll hopefully try to do video tab this weekend and release something.

Note: there are more then one .pro files in trunk, so if you run qmake you may need to specific which one you want ( qmake yal.pro or just run ./build-all.sh)
« Last Edit: January 20, 2009, 11:09:44 am by Havner »
Need a linux launcher? Check here.

 

Offline smurd

  • 25
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
The greyed-out link buttons work as supposed. I do however not see any tool tips.

 

Offline Havner

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
They definitely work for me. They're added for every link/browser button. Both, FS2 (readme, forums, report bug) and actual mod (website, forum). They don't appear when you hover a mouse for 2-3 secs?
Need a linux launcher? Check here.

 

Offline kkmic

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
I get this:
Code: [Select]
bash-3.1# ./autogen.sh
yal.pro:29: Unknown test function: CONFIG
You can run 'make' now.

Of course, if I run make I get this:
Code: [Select]
bash-3.1# make
make: *** No targets specified and no makefile found.  Stop.


YAL version 0.1.3, unmodified except for the GAMEDIR setting in the FilePaths_unix.cpp.

Any suggestions?
I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I've watched C-beams glitter in the dark near the Tannhäuser Gate. All those... moments will be lost in time... like... tears... in rain. (pause) Time... to die.

wxLauncher 0.9.4 Beta | wxLauncher 2.0 Request for Comments

 

Offline Havner

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
First of all use trunk, it's much updated then 0.1.3. You don't need to set GAMEDIR anymore, it's described in readme how to properly set it up.

To get it run:

Code: [Select]
svn co svn://vega.livecd.pl/yal/trunk
About CONFIG error to be honest I have no idea other then maybe you're running qmake from QT3.
Check trunk, updated autogen.sh tries to check if the QT version in use is sufficient.
Paste me output of that if it fails.
Need a linux launcher? Check here.

 

Offline kkmic

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
Hmm... I will try the SVN version when I'll get back, probably on Monday.

As for which version of QT I'm using... I've installed QT4 on my system a while ago (Slackware 12.2), and I think I've kept the existing QT3 version. I can check that on Monday too :)

If I have the two versions installed, what should I use instead of qmake?

LE: I took a look at the "new" autogen.sh, looks like it is able to use the proper QT version. I'll check it out on Monday  :D
I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I've watched C-beams glitter in the dark near the Tannhäuser Gate. All those... moments will be lost in time... like... tears... in rain. (pause) Time... to die.

wxLauncher 0.9.4 Beta | wxLauncher 2.0 Request for Comments

 

Offline Havner

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
If you got both QT versions installed you may try qmake4 f.e. Or maybe slackware just holds it in separate directory. I don't know how it's solved there but grepping QT4 package file list for 'qmake' will tell you the truth :-) Anyway it has to be somewhere.
Need a linux launcher? Check here.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
There might be a tool to set the active version in the environment too.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline kkmic

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
QT4 qmake (qmake-qt4 on my system) did the trick. The launcher compiled without a problem.

I'll check out the svn version now.

So far the application looks nice. Thanks

LE:
I checked out the svn version (revision 118) and when I executed the autogen.sh script, got this:
Code: [Select]
bash-3.1# ./autogen.sh
Usage: /usr/bin/qmake-qt4 [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

(below are detailed usage instructions for qmake-qt4)
Same result when I run qmake-qt4 by hand.

QT4 version:
Code: [Select]
bash-3.1# qmake-qt4 -v
QMake version 2.01a
Using Qt version 4.4.3 in /usr/lib/qt-4.4.3/lib
Any suggestions? :)
« Last Edit: May 25, 2009, 04:15:53 am by kkmic »
I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I've watched C-beams glitter in the dark near the Tannhäuser Gate. All those... moments will be lost in time... like... tears... in rain. (pause) Time... to die.

wxLauncher 0.9.4 Beta | wxLauncher 2.0 Request for Comments

 
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
Hi,

I've had a few free minutes to have a quick look through the code.

In System_win.cpp (I'm not that familiar with this stuff on other platforms), you've use CreateProcess to create a process, however you haven't released your handles after you exit the loop. (See MSDN)

You should probably use WaitForSingleObject instead of the loop.

Launcher itself looks good!
Will see what I can find about wrapping tabs in Qt.
STRONGTEA. Why can't the x86 be sane?

 

Offline Havner

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
Thanks, will have a look when I get back home. Me on the other side have little experience in winapi :-) This was partly copy pasted from current windows launcher.
Need a linux launcher? Check here.

 
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
1) Ouch.
2) How can I  help out?

EDIT: Maybe instead of tabs, you could have a tree control down the left hand side to select options
« Last Edit: May 25, 2009, 09:09:42 am by portej05 »
STRONGTEA. Why can't the x86 be sane?

 
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
If you want to have browser functionality you need to define BROWSERCMD
in src/unix/System_unix.cpp.
Do you know about xdg-open? http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html

 
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
When will we have the OSX version?
Forum: 134th Barracudas
PXO: Rael

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
Well, there's already Soulstorm's launcher, or are you hoping to get one that works on every platform?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
There is an intent to start work on a new installer/launcher after 3.6.10 has been released.
STRONGTEA. Why can't the x86 be sane?

 

Offline Havner

  • 26
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
When will we have the OSX version?

As soon as someone with OSX and very basic programming skill with sit to it. I had plans to get some OSX machine (or even isntall hackintosh one more time) but for now I don't have possibility to do that.
Code requires two/three simple functions to be written and there is no reason why it wouldn't work on OSX.
Need a linux launcher? Check here.

 
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
You tell me how to do it, I'll do it, but remember that my programming skill are almost 0...
I can just compile, make and make install. Oh, yes, I can run too :P
My computer is a MacMini G4 with OSX 10.4.11, if you need the info.
Forum: 134th Barracudas
PXO: Rael

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: [RELEASE] Yet Another Launcher (Linux, Windows, OSX soon).
On OS X it's more like 'xcodebuild --project FS2_Open.xcodeproj --configuration Release clean build', but you get the idea.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays