These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Macintosh

 
  • Topic is locked indefinitely.
12Next page
 

Mac EVE Tools

Author
Lupus Hekki
State Protectorate
Caldari State
#1 - 2011-12-15 06:49:18 UTC  |  Edited by: Lupus Hekki
Since Flammard isn't developing it at all anymore, i'm going to pick up where he left.

I've cloned the source and i'll be pushing changes there, if you don't trust me; compile it from source.

Github: https://github.com/Draceros/Mac-Eve-Tools
Latest build: http://dl.eve-files.com/media/corp/Lupus/Mac_Eve_Tools-25dec2011.zip.zip
Original Post: http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1096971

Changes
https://raw.github.com/Draceros/Mac-Eve-Tools/master/src/ReleaseNotes.txt

Issues
https://github.com/Draceros/Mac-Eve-Tools/issues
Delilah Wild
Concordokken Holdings
#2 - 2011-12-15 12:49:16 UTC
Thanks for picking up this important work. Big smile

Founder, Coalition of Anti-Pirates

Zotikos Xenon
Center for Advanced Studies
Gallente Federation
#3 - 2011-12-15 15:45:59 UTC
Thank You!! Much appreciated.
Zotikos Xenon
Center for Advanced Studies
Gallente Federation
#4 - 2011-12-15 15:50:05 UTC  |  Edited by: Zotikos Xenon
Doh! Double post, but I will put the space to use.

In the preference panel, the link at the bottom right corner says "Need your API Key? Click here", it takes you to the old API page. Not critical, just wanted to let you know.
Mafouz Gaterau
Gloryhole Initiative
HISPANIA.
#5 - 2011-12-15 19:50:04 UTC
Thanks Thanks Thanks Mr. Lupus Hekkl, you are a very valuable and gifted person. Really needed this
Lupus Hekki
State Protectorate
Caldari State
#6 - 2011-12-15 21:51:09 UTC
Zotikos Xenon wrote:
Doh! Double post, but I will put the space to use.

In the preference panel, the link at the bottom right corner says "Need your API Key? Click here", it takes you to the old API page. Not critical, just wanted to let you know.


Fixed in the 16/12/2011 build, thanks for telling me.
Kelsin Kreen
The Scope
Gallente Federation
#7 - 2011-12-19 20:29:10 UTC
Thanks for keeping this going.
Avery Lewis
Hoover Inc.
Pandemic Legion
#8 - 2011-12-20 05:26:59 UTC
Hi,

Do you have any plan to add the new ships, such as the Tornado and Oracle?
Lupus Hekki
State Protectorate
Caldari State
#9 - 2011-12-20 14:51:06 UTC
Avery Lewis wrote:
Hi,

Do you have any plan to add the new ships, such as the Tornado and Oracle?


Short answer: Yes
Long answer: Yes, but i have no idea how he structured the database, so i'm clueless at the moment.
TIC Albul
#10 - 2011-12-21 13:07:26 UTC
Lupus Hekki wrote:
Avery Lewis wrote:
Hi,

Do you have any plan to add the new ships, such as the Tornado and Oracle?


Short answer: Yes
Long answer: Yes, but i have no idea how he structured the database, so i'm clueless at the moment.


https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
and load the database.

But that shouldn't be needed. A new database should be built using the instructions in the dbscript folder. The url pointing to the db should be changed to where the new database will be uploaded.

Easy to say, harder to do :)
TIC Albul
#11 - 2011-12-21 19:18:21 UTC  |  Edited by: TIC Albul
Here is my contribution

The latest database:
Crucible 1.0.58224
Download the file. Backup the one in ~Library/Application Support/MacEveApi and copy this in its place.


But the images will not load for the new items (ship, modules, whatever is different) because it looks for the images on matt's server and of course the images are not there.
Also I looked at Oracle and Tornado and I see now the description contains HTML tags which are not handled by the app.


Here is a little patch that will make the app use image.eveonline.com instead of the current URL. That way it should be future proof and no need to upload the images on another server every time something new is added.
Of course the patch is applied to the source code and a new release is needed for people to actually see the new images.
Patch to use image.eveonline.com

I can also provide a patch and links for the applications to download the new db for those that don't want/don't know how to replace the one they have. But again that will require a new release too :).


Someone with better EVE knowledge should check the db and the images, I wouldn't have know what to look for to be sure the new items are added if Oracle and Tornado weren't mentioned here.
Lupus Hekki
State Protectorate
Caldari State
#12 - 2011-12-21 20:28:39 UTC
TIC Albul wrote:
Here is my contribution

The latest database:
Crucible 1.0.58224
Download the file. Backup the one in ~Library/Application Support/MacEveApi and copy this in its place.

....

Here is a little patch that will make the app use image.eveonline.com instead of the current URL. That way it should be future proof and no need to upload the images on another server every time something new is added.
Of course the patch is applied to the source code and a new release is needed for people to actually see the new images.
Patch to use image.eveonline.com


Thanks for the contribution,
i'll attempt to change the database checking system to something else (Such as dropbox) or something and apply your patch.
TIC Albul
#13 - 2011-12-21 20:55:46 UTC  |  Edited by: TIC Albul
Lupus Hekki wrote:
TIC Albul wrote:
Here is my contribution

The latest database:
Crucible 1.0.58224
Download the file. Backup the one in ~Library/Application Support/MacEveApi and copy this in its place.

....

Here is a little patch that will make the app use image.eveonline.com instead of the current URL. That way it should be future proof and no need to upload the images on another server every time something new is added.
Of course the patch is applied to the source code and a new release is needed for people to actually see the new images.
Patch to use image.eveonline.com


Thanks for the contribution,
i'll attempt to change the database checking system to something else (Such as dropbox) or something and apply your patch.


The files needed by the application to create the DB that I used are:
Database
XML file

You can use those and put them where ever you want on www. Of course you will need to change the address the app is looking for too.

If you want to make your own conversion. I used the file provided here. Note that the invTypes table has the basePrice field as decimal and the conversion script will complain and miss data as a result. I just changed that field to a float type before running the conversion.


PS. You're welcome. That's what open source is supposed to be about.
Lupus Hekki
State Protectorate
Caldari State
#14 - 2011-12-22 12:53:58 UTC
Thanks TIC Albul; your patches are applied and the database is updated.



Sortof, can't get it to update automatically.
Sonny Dang
The Scope
Gallente Federation
#15 - 2011-12-22 19:49:11 UTC
Hi, I just downloaded the EVE Tools, I unziped it and there was a bunch of files that I don't know how to use. Can you please tell me how?
Amadeu
Caldari Provisions
Caldari State
#16 - 2011-12-22 20:19:56 UTC
Ok. Question from a confirmed idiot.

First off, an observation: The "Latest Build" link leads to a Login fails page.

On to the question, and I swear to you I've been trying to get this without begging in a forum for help for the past 2 hours and I can't find a simple answer to something I'm sure that programmers do every day. How in the **** do I just make the final build using the source code??

I started out with simple online guides on what to type into the Terminal.
I moved on to installing Xcode 4.2.1 and loading up the Mac Eve Tools.xcodeproj
I've built, I've archived, I've read through the help files and google-located guides and I swear I could write 15 ******* "Hello World!" programs in my ******* sleep at this point in C++ or Java but I can't find the option to just package the damn thing into an executable or application.

Please! I don't want to be dumb! Someone explain to me a simple step by step to make this one work?

Something like
1. Open Mac Eve Tools.xcodeproj in Xcode
2. Open X menu and select Y.
3. Move the created App file from Z to your App Library folder
4. Call yourself a dumb ass for not figuring this out on your own

Amadeu
Caldari Provisions
Caldari State
#17 - 2011-12-22 20:49:39 UTC  |  Edited by: Amadeu
Sigh. Of course I would get it right after I post...

To anyone else out there that's never done this before but isn't scared to try.
First, you'll need to download Xcode from the Mac App Store. It's free.
Then you'll download the source code if you haven't already from Lupus' link up above.

Once you unzip the LupusAeon-Mac-Eve-Tools-b8c24d1.tar file, you'll have the LupusAeon-Mac-Eve-Tools-b8c24d1 folder available.

Navigate to LupusAeon-Mac-Eve-Tools-b8c24d1 > src >
Doubleclick the Mac Eve Tools.xcodeproj file and it will open up in Xcode
In the top left corner of the screen you'll see an Arrow with "Run" beneath it.
Click that and the program pops right up.


The reason I ran into all of the problems was that I'd changed the name of the folder after unzipping, but before compiling. Just leave everything alone until you get it working and hopefully you won't feel the pain I did.

Good luck!


Edit #1
Also, after you have Mac Eve Tools running, I just right clicked it's icon in the Dock and selected Options > Show in Finder
Then I dragged the package from the debug folder it was in into my Applications folder.
Close out of Xcode and Mac Eve Tools, canceling all the warnings
Open it again from Applications and treat as a normal app.


Also, to all real programmers out there: I apologize for whatever bastardized shortcuts I just published to the general populous Blink
Lupus Hekki
State Protectorate
Caldari State
#18 - 2011-12-23 09:17:30 UTC
Sonny Dang wrote:
Hi, I just downloaded the EVE Tools, I unziped it and there was a bunch of files that I don't know how to use. Can you please tell me how?

The "last build file" ( http://go-dl.eve-files.com/media/corp/Lupus/Mac_Eve_Tools-22dec2011.zip ) is the app

i don't know what you downloaded.
TIC Albul
#19 - 2011-12-23 18:20:29 UTC  |  Edited by: TIC Albul
Regarding the DB not autoupdating, on my patch, below the line where I change the images url to image.eveonline.com there is the line
Quote:

[prefDefaults setObject:[NSNumber numberWithInt:8] forKey:UD_DATABASE_MIN_VERSION];

Try to change that 8 to 9. Than you would need an old db or change the current one to set the version to be 8.
That should force an autoupdate of the db.

UD_DATABASE_MIN_VERSION needs to always be > than the old db version, but <= with the current one that will replace the one needing update. That will make the autoupdate trigger without creating an infinite loop.

That number should be increased every time a new db is released to force the update.


I hope I was clear enough in my explanation. English is not my first language, or 2nd for that matter and sometimes I find it hard to make myself clear.
TIC Albul
#20 - 2011-12-25 00:42:48 UTC
And now a patch that will help with displaying the description of ships even if HTML is involved

Patch
12Next page