Jump to content


Photo

Build paragon Ubuntu


  • Please log in to reply
4 replies to this topic

#1 NiankoSensei

NiankoSensei

    Chief Warrant Officer

  • Members
  • PipPipPip
  • 77 posts

Posted 21 August 2013 - 09:40 AM

Works for Ubuntu and Debian based distro

 

Install all need libraries

sudo apt-get install cmake git g++ automake pkg-config libsigc++-dev libsigc++-2.0-dev libsdl1.2-dev libsdl-image1.2-dev libvorbis-dev libpng-dev libglew-dev libglu1-mesa-dev mesa-common-dev libtool libfreetype6-dev

Get libassimp3.0 from pioner

git clone git://github.com/pioneerspacesim/pioneer-thirdparty.git

build it

cd pioneer-thirdparty
autoconf
./configure
make

copy builded libs in /opt

sudo mkdir /opt/pioneer-thirdparty
sudo cp -R ./usr /opt/pioneer-thirdparty

get  paragon sources

cd ..
git clone git://github.com/ParagonDevelopmentTeam/pioneer.git

Create  Makefile.am in ./pioneer/data  like this one from pioneer sources

 

https://github.com/p...ata/Makefile.am

 

in pioneer/src edit HiperspaceCloud.ccp edit this line

Color4f outerColor = m_isArrival ? Color::BLUE : Color::Color4f(1.f,0.7f,0.f);

like this

Color4f outerColor = m_isArrival ? Color::BLUE : Color::RED;

and after give commands for build

cd pioneer
./bootstrap
./configure --with-thirdparty=/opt/pioneer-thirdparty
make

After you have to edit some file names for match the case

 

models/buildings/terran_metropolis/terran_metropolis_9_HQ.obj

models/buildings/terran_metropolis/diff3.dds

models/buildings/terran_metropolis/spec3.dds
models/buildings/terran_metropolis/glow3.dds
models/buildings/terran_metropolis/diff4.dds
models/buildings/terran_metropolis/spec4.dds
models/buildings/terran_metropolis/glow4.dds
models/stations/frontier/hangardiff.dds
models/stations/frontier/hangarspec.dds
models/stations/frontier/hangarglow.dds
models/stations/megastation/hangardiff.dds
models/stations/megastation/hangarspec.dds
models/stations/megastation/hangarglow.dds
models/stations/tradestation/hangarspec.dds
models/ships/(0) Drones/(0A) mining_drone/diff.dds
models/ships/(0) Drones/(0A) mining_drone/spec.dds
models/ships/(0) Drones/(0A) mining_drone/glow.dds
models/ships/(1)Ultra-Light/(1C)mining_pod/diff.dds
models/ships/(1)Ultra-Light/(1C)mining_pod/spec.dds
models/ships/(1)Ultra-Light/(1C)mining_pod/glow.dds
models/ships/(1)Ultra-Light/(1D)utility_flitter/diff.dds
models/ships/(1)Ultra-Light/(1D)utility_flitter/spec.dds
models/ships/(1)Ultra-Light/(1D)utility_flitter/glow.dds
models/ships/(1)Ultra-Light/(1E)cargo_loader/diff.dds
models/ships/(1)Ultra-Light/(1E)cargo_loader/spec.dds
models/ships/(1)Ultra-Light/(1E)cargo_loader/glow.dds
models/ships/(1)Ultra-Light/(1F)passenger_shuttle/diff.dds
models/ships/(1)Ultra-Light/(1F)passenger_shuttle/spec.dds
models/ships/(1)Ultra-Light/(1F)passenger_shuttle/glow.dds
models/ships/(1)Ultra-Light/(1G)personal_skiff/diff.dds
models/ships/(1)Ultra-Light/(1G)personal_skiff/spec.dds
models/ships/(1)Ultra-Light/(1G)personal_skiff/glow.dds
models/ships/(1)Ultra-Light/(1Z)omni_scout/diff.dds
models/ships/(1)Ultra-Light/(1Z)omni_scout/spec.dds
models/ships/(1)Ultra-Light/(1Z)omni_scout/glow.dds
models/ships/(2)Light/(2D)utility_tender/diff.dds
models/ships/(2)Light/(2D)utility_tender/spec.dds
models/ships/(2)Light/(2D)utility_tender/glow.dds
models/ships/(2)Light/(2F)passenger_ferry/diff.dds
models/ships/(2)Light/(2F)passenger_ferry/spec.dds
models/ships/(2)Light/(2F)passenger_ferry/glow.dds
models/ships/(2)Light/(2Z)omni_ranger/diff.dds
models/ships/(2)Light/(2Z)omni_ranger/spec.dds
models/ships/(2)Light/(2Z)omni_ranger/glow.dds
models/emplacements/large_fulcrum/hangardiff.dds
models/emplacements/large_fulcrum/hangarspec.dds
models/emplacements/large_fulcrum/hangarglow.dds
models/emplacements/small_fulcrum/hangardiff.dds
models/emplacements/small_fulcrum/hangarspec.dds
models/emplacements/small_fulcrum/hangarglow.dds
models/misc/Buoy/diff.dds
models/misc/Buoy/spec.dds
models/misc/Buoy/glow.dds

models/misc/Buoy/buoy_lod.obj

models/misc/Buoy/buoy.dae

models/misc/Buoy/buoy_collision.obj

models/misc/cargo_container/diff.dds
models/misc/cargo_container/spec.dds
models/misc/cargo_container/buoy_lod.obj
models/misc/cargo_container/buoy_collision.obj
models/misc/tombstone/diff.dds
models/misc/tombstone/spec.dds
models/ships/(1)Ultra-Light/(1A)military_fighter/diff.dds
models/ships/(1)Ultra-Light/(1A)military_fighter/spec.dds
models/ships/(1)Ultra-Light/(1A)military_fighter/glow.dds
models/ships/(1)Ultra-Light/(1B)security_interceptor/diff.dds
models/ships/(1)Ultra-Light/(1B)security_interceptor/spec.dds
models/ships/(1)Ultra-Light/(1B)security_interceptor/glow.dds
models/ships/(2)Light/(2A)military_corvette/diff.dds
models/ships/(2)Light/(2A)military_corvette/spec.dds
models/ships/(2)Light/(2A)military_corvette/glow.dds

 

 
after edit file names you can try to execute paragon
 
mv ./src/pioneer ./paragon
./paragon

 

if all work fine you can copy all in /opt

sudo mkdir /opt/paragon
sudo cp ./paragon /opt/paragon
sudo cp -R ./data /opt/paragon
sudo cp *.txt /opt/paragon

and now you can delete sources directorys

cd ..
rm -R pioneer-thirdparty
rm -R pioneer

P.S.

Execute in terminal is usefull for find bad file names, if you see ships yellow-orange is because don't load texture files the solution is change relate textures names

 

 

 


Edited by NiankoSensei, 02 September 2013 - 03:31 AM.

  • fluffyfreak and lionheart like this

#2 NiankoSensei

NiankoSensei

    Chief Warrant Officer

  • Members
  • PipPipPip
  • 77 posts

Posted 21 August 2013 - 02:19 PM

Finally enjoy paragon  

 

f-3521512a50013bb0f.jpg

 

 

f-2521511630013bb0a.jpg

 

 

 


  • shadmar and fluffyfreak like this

#3 shadmar

shadmar

    Major

  • Members
  • PipPipPipPipPip
  • 354 posts

Posted 22 August 2013 - 06:45 AM

Thanks for that extensive build tutorial, maybe lion shpuld stick this.

Also the asset naming should be corrcted to match case.



#4 lionheart

lionheart

    Paragon Developer

  • Members
  • PipPipPipPip
  • 203 posts

Posted 22 August 2013 - 10:09 AM

Yeah, I'm not a linux man so that stuff entirely evades me :) but I'll get all those files renamed to make it a bit easier in future.



#5 NiankoSensei

NiankoSensei

    Chief Warrant Officer

  • Members
  • PipPipPip
  • 77 posts

Posted 22 August 2013 - 10:37 AM

Thanks for that extensive build tutorial, maybe lion shpuld stick this.

Also the asset naming should be corrcted to match case.

 

 

Yeah, I'm not a linux man so that stuff entirely evades me :) but I'll get all those files renamed to make it a bit easier in future.

 

Thanks, renaming files or match references in obj files is good for make more easy life at linux users  :prankster:






IPB Skin By Virteq