EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
Latest (compilable) Linux SPK tools
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
adrianx





Joined: 24 Apr 2011
Posts: 20 on topic

Thank you for registering your game
PostPosted: Tue, 23. Apr 13, 18:38    Post subject: Latest (compilable) Linux SPK tools Reply with quote Print

I noticed a couple of old topics about Cycrow's spktools (the last ending June 2011) but haven't had managed to compile either the very old spktools (which I was under the impression don't support the newest spk format ?) or the Beta versions posted here :-

http://forum.egosoft.com/viewtopic.php?t=269568

Is there are an updated version or a patch to the Beta version (I note gilboa was heavily involved in the discussion, perhaps (s)he has some input) ?

My makefile/c hacking/compiling skills are rather rusty (not done much since the 90s) so am looking for an easier route than hacking myself. Any help would be appreciated.

This is Ubuntu 12.10, amd64.

[Edit; dash it, perhaps better in X3TC forum] Edit: moved. X2-Illuminatus

Back to top
View user's profile Send private message
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 19848 on topic
Location: London
Thank you for registering your game
PostPosted: Wed, 24. Apr 13, 11:22    Post subject: Reply with quote Print

you can get the latest source from my svn server

http://cycrow.co.uk/svn/spk/libspk

User: libspk
Password: guest

it doesn't have any updated makefiles yet thou


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
adrianx





Joined: 24 Apr 2011
Posts: 20 on topic

Thank you for registering your game
PostPosted: Mon, 29. Apr 13, 14:52    Post subject: Reply with quote Print

Thanks for this; unfortunately I wasn't able to get it to compile either directly with make (and some fiddling with the makefile) or using an IDE under linux that supports vcproj files. In the end I tried what was perhaps a more obvious (and turned out to be easier) method, installing Plugin manager using Crossover.

A quick recipe for anyone else in the same situation (using spk mods under linux), using crossover at least (presumably using wine directly shouldn't be much different) :-

- use Crossover "Install Windows Software" to install the plugin manager (I used a separate bottle for this), but skip the "Visual C++" installation
- install Visual C++ using Crosstie :-
http://www.codeweavers.com/compatibility/browse/name/?app_id=5369
- install .Net 2.0 :-
http://www.codeweavers.com/compatibility/browse/name/?app_id=1578

Start "Plugin manager" using one of the desktop icons created and point to your X3 (R or TC currently, AP later) directory.

I've tested with a couple of mods so far and it seems to be working (I wasn't sure about CR -> CR/LF problems but presumably with XML this shouldn't be of concern).

Anyway Cycrow, thanks again for this, and everything you've contributed to in the X universe over the years.

Back to top
View user's profile Send private message
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 19848 on topic
Location: London
Thank you for registering your game
PostPosted: Mon, 29. Apr 13, 18:19    Post subject: Reply with quote Print

i will hopefully get some linux make files sorted at some point. The code should in theory compile, maybe needing some minor changes.

The old version did work fine in code::blocks, but i've not tried the latest yet


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
adrianx





Joined: 24 Apr 2011
Posts: 20 on topic

Thank you for registering your game
PostPosted: Tue, 30. Apr 13, 12:55    Post subject: Reply with quote Print

Cycrow wrote:
i will hopefully get some linux make files sorted at some point.


Sorry, I forgot to mention that I looked at the following :-
http://www.codeproject.com/Articles/28908/Tool-for-Converting-VC-2005-Project-to-Linux-Makef

but its for Windows so not much use for me. Maybe you've spotted it already or perhaps its not applicable for your environment, but on the other hand maybe it will help.

Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDAL

Joined: 12 Mar 2004
Posts: 5731 on topic
Location: United Kingdom
Thank you for registering your game
PostPosted: Tue, 30. Apr 13, 18:28    Post subject: Reply with quote Print

How about a Java version so that it can run compiled on ANY platform (inc. MacOS X - Windows and Linux user myself)


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"How do you eat an elephant? One bite at a time." - Unknown
Back to top
View user's profile Send private message MSN Messenger
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 19848 on topic
Location: London
Thank you for registering your game
PostPosted: Tue, 30. Apr 13, 18:34    Post subject: Reply with quote Print

Roger L.S. Griffiths wrote:
How about a Java version so that it can run compiled on ANY platform (inc. MacOS X - Windows and Linux user myself)


Well the source code is written in c++ without any specific API's, so in theory should compile in any OS already.

it just doesn't have the make files/projects setup to auto compile in each OS.

besides, im not a fan of java and im not sure it'll be all that easy to convert the lzma/7zip routines and file handling needed.

i think the makefiles will take me considerably less time than rewriting the whole thing in java. But currrently simply dont even have the spare time to do that


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ZyanKLee





Joined: 12 Dec 2007
Posts: 10 on topic

Thank you for registering your game
PostPosted: Mon, 6. May 13, 08:20    Post subject: Reply with quote Print

I got some small patch for you. It's just some minor fix because of the case-sensitivity in linux:

--seebelowfornewlink--

EDIT: new paste, fixed some more of those case-cases. http://paste.ubuntu.com/5637689/


EDIT 2:
when doing "make" I see the following warnings/errors:
http://paste.ubuntu.com/5637712/

Back to top
View user's profile Send private message
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 19848 on topic
Location: London
Thank you for registering your game
PostPosted: Mon, 6. May 13, 17:50    Post subject: Reply with quote Print

most of the errors are down to the stl it seams.
string, fstream, sstream map, vector, iostream are all from stl so they should be available on your system


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Sun, 19. May 13, 17:47

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.26566 seconds, sql queries = 52