Linux version

  • edit: Launcher works fine
    The game didn't initially start for me, it's looking for some older version of a library. This is the error:

    CattleAndCrops.real: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory


    And this is how I bypassed it, going to my games folder and making a hackish link to my version (librtmp.so.1)


    Shell-Script

    1. cd ~/games/CattleAndCrops/Game/Linux
    2. ln -s /usr/lib/librtmp.so librtmp.so.0
    3. LD_LIBRARY_PATH=. ./CattleAndCrops

    Don't exactly know how well the games works compared to the windows version as I don't have it, but there seems to be a lot of things to improve. However it seems to run quite ok.

    System:
    1. Archlinux, kernel 4.12.4
    2. i7 7700K 4.20 GHz
    3. 16GB RAM
    4. GTX 1060 6GB

    The post was edited 1 time, last by Flugsio: Add additional info/clarificatino ().

  • Well for me luckily worked without a problem. The game worked also. However to get more or less smooth gameplay I had to turn graphics settings to Medium preset. Hopefully optimizations will still be made as I think we can get more out of my specs.

    System:
    • Linux Minx 18.2
    • i7 3880K
    • 16GB RAM
    • GTX 660 Ti 2G - proprietary driver

    The post was edited 1 time, last by 50keda ().

  • caedes wrote:

    start it with
    WRAPPER_DEBUG=1 ./CattleAndCrops
    and please post the output of that here.
    Here the result

    Display Spoiler

    System libgcc version: 4.8.0 ours: 4.8.0
    couldn't dlopen() libSDL2-2.0.so.0 : libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
    System SDL2 version: 0.0.0 ours: 2.0.5
    Overwriting System libSDL2
    Will use System's libcurl.so.4
    Set LD_LIBRARY_PATH to '/home/alex/Bureau/CattleAndCrops/Game/Linux/libs/sdl2'
    # INFO : Started Cattle And Crops, built Aug 11 2017, 08:41:09, C4 Version 4.5
    # INFO : Changing $logLevel from INFO (3) to WARN (2)
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN in const char* C4::StringTable::GetString(const C4::StringID&) const : Missing String-Table Entry: CTRL-ROPE-SCNO
    # WARN : loading mod 'character/default_female_01/default_female_01.xml'
    # WARN : loading mod 'character/default_female_02/default_female_02.xml'
    # WARN : loading mod 'character/default_female_03/default_female_03.xml'
    # WARN : loading mod 'character/default_female_04/default_female_04.xml'
    # WARN : loading mod 'character/default_male_01/default_male_01.xml'
    # WARN : loading mod 'character/default_male_02/default_male_02.xml'
    # WARN : loading mod 'character/default_male_03/default_male_03.xml'
    # WARN : loading mod 'character/default_male_04/default_male_04.xml'
    # WARN : loading mod 'character/default_male_05/default_male_05.xml'
    # WARN : loading mod 'config/animals/animalCategories.xml'
    # WARN : loading mod 'config/animals/animaltypes.xml'
    # WARN : loading mod 'config/credits.xml'
    # WARN : loading mod 'config/employees/employee.xml'
    # WARN : loading mod 'config/employees/employees_data.xml'
    # WARN : loading mod 'config/fruits/filltypes.xml'
    # WARN : loading mod 'config/fruits/fruittypes.xml'
    # WARN : loading mod 'config/fruits/maize.xml'
    # WARN : loading mod 'config/languages.xml'
    # WARN : loading mod 'config/tasks_data.xml'
    # WARN : loading mod 'config/vehicles/vehicle_data.xml'
    # WARN : loading mod 'config/weather/weatherpresets.xml'
    # WARN : loading mod 'config/weather/weatherpresets_JT.xml'
    # WARN : loading mod 'machines/claas/arion530/arion530.xml'
    # WARN : loading mod 'machines/dammann/land_cruiser/land_cruiser.xml'
    # WARN : loading mod 'machines/koeckerling/rebell_classic/rebell_classic_410.xml'
    # WARN : loading mod 'machines/lemken/juwel/juwel_8_3_1.xml'
    # WARN : loading mod 'machines/mercedes_benz/trac_1400/mb_trac_1400.xml'
    # WARN : loading mod 'machines/self_made/front_bumper_bar/sm_front_bumper_bar.xml'
    # WARN : loading mod 'machines/self_made/rear_weight/sm_rear_weight_500.xml'
    # WARN : loading mod 'machines/self_made/rear_weight/sm_rear_weight_1000.xml'
    # WARN : loading mod 'machines/stapel/vt18000/vt18000.xml'
    # WARN : loading mod 'machines/stapel/vt18000/vt18000_addon.xml'
    # WARN : loading mod 'original_farmer.xml'
    # WARN : loading mod 'traffic/am_virage.xml'
    # WARN : loading mod 'traffic/a_a3.xml'
    # WARN : loading mod 'traffic/a_s7.xml'
    # WARN : loading mod 'traffic/bm_3.xml'
    # WARN : loading mod 'traffic/bm_6.xml'
    # WARN : loading mod 'traffic/b_continental.xml'
    # WARN : loading mod 'traffic/c_cruze.xml'
    # WARN : loading mod 'traffic/f_cmax.xml'
    # WARN : loading mod 'traffic/f_escape.xml'
    # WARN : loading mod 'traffic/f_focus.xml'
    # WARN : loading mod 'traffic/h_civic.xml'
    # WARN : loading mod 'traffic/h_santa.xml'
    # WARN : loading mod 'traffic/k_cee.xml'
    # WARN : loading mod 'traffic/k_rio.xml'
    # WARN : loading mod 'traffic/k_sky.xml'
    # WARN : loading mod 'traffic/lr_free.xml'
    # WARN : loading mod 'traffic/masa.xml'
    # WARN : loading mod 'traffic/maz_1.xml'
    # WARN : loading mod 'traffic/maz_cz.xml'
    # WARN : loading mod 'traffic/maz_mx.xml'
    # WARN : loading mod 'traffic/mb_a.xml'
    # WARN : loading mod 'traffic/mb_cls.xml'
    # WARN : loading mod 'traffic/mini.xml'
    # WARN : loading mod 'traffic/nissan_a.xml'
    # WARN : loading mod 'traffic/opel_z.xml'
    # WARN : loading mod 'traffic/peugeot.xml'
    # WARN : loading mod 'traffic/p_cay.xml'
    # WARN : loading mod 'traffic/range.xml'
    # WARN : loading mod 'traffic/range_evo.xml'
    # WARN : loading mod 'traffic/ren_clio.xml'
    # WARN : loading mod 'traffic/sk_octavia.xml'
    # WARN : loading mod 'traffic/t_gt.xml'
    # WARN : loading mod 'traffic/vw_bus.xml'
    # WARN : loading mod 'traffic/vw_cc.xml'
    # WARN : loading mod 'traffic/vw_golf.xml'
    # WARN : loading mod 'traffic/vw_transporter.xml'
    # WARN : loading mod 'world/techdemo/missions/02_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/02_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/03_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/03_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/04_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/04_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/04_tutorial_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/04_tutorial_cultivate_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/04_tutorial_slurry.xml'
    # WARN : loading mod 'world/techdemo/missions/05_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/05_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/06_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/06_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/07_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/07_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/08_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/08_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/09_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/09_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/10_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/10_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/11_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/11_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/12_cultivate.xml'
    # WARN : loading mod 'world/techdemo/missions/12_plow.xml'
    # WARN : loading mod 'world/techdemo/missions/13_tutorial_fertilze.xml'
    # WARN : loading mod 'world/techdemo/missions/parcour.xml'
    # WARN : loading mod 'world/techdemo/techdemo_01_flat.xml'
    # WARN in int32 AGM::PlayerProfile::ReadCurrentGameSlot() const : Slot directory slot-1 do not exists!
    # ERROR in sqlite3_stmt* AGM::SQLPrepareStatement(const char*, const std::initializer_list<AGM::SQLBindValue>&) : SQLite DB handle was NULL!
    # WARN in int32 AGM::PlayerProfile::ReadCurrentGameSlot() const : Slot directory slot-1 do not exists!
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN : decompressing packed grid size 28.0 MiB to 360.0 MiB
    # WARN : 0.064000 seconds to decompress grid
    # WARN : raw grid size 360.0 MiB
    # WARN : foliage grid size 256.0 MiB
    # WARN : ground grid size 104.0 MiB
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN in void C4::Render::TextureObject::Construct(unsigned_int32) : creating 2d array texture
    # WARN : 3.698000 seconds to unpack world
    # WARN : 0.462000 seconds to preprocess world
    # WARN : ------------------
    # WARN : bodyVolume 0.821003
    # WARN : bodyMass 821.002869
    # WARN : bodyMassCenter 0.000000 0.000000 1.150000
    # WARN : bodyPosition -4.365541 17.893471 1.011035
    # WARN : ------------------
    # WARN : bodyVolume 6.002746
    # WARN : bodyMass 1200.549072
    # WARN : bodyMassCenter 0.016380 -0.000029 0.740973
    # WARN : bodyPosition 96.366447 -184.662979 1.984333
    # WARN : wheel 0 has mass 117.493568 [kg]
    # WARN : wheel 1 has mass 117.493515 [kg]
    # WARN : wheel 2 has mass 117.493568 [kg]
    # WARN : wheel 3 has mass 117.493462 [kg]
    # WARN : wheel 0 has sprung mass 303.666168 [kg]
    # WARN : wheel 0 has spring frequency 32.000000
    # WARN : wheel 0 has spring strength 310954.156250 [kg/s^2]
    # WARN : wheel 0 has spring damping rate 19434.634766 [kg/s]
    # WARN : wheel 1 has sprung mass 303.827850 [kg]
    # WARN : wheel 1 has spring frequency 32.000000
    # WARN : wheel 1 has spring strength 311119.718750 [kg/s^2]
    # WARN : wheel 1 has spring damping rate 19444.982422 [kg/s]
    # WARN : wheel 2 has sprung mass 296.446686 [kg]
    # WARN : wheel 2 has spring frequency 32.000000
    # WARN : wheel 2 has spring strength 303561.406250 [kg/s^2]
    # WARN : wheel 2 has spring damping rate 18972.587891 [kg/s]
    # WARN : wheel 3 has sprung mass 296.608368 [kg]
    # WARN : wheel 3 has spring frequency 32.000000
    # WARN : wheel 3 has spring strength 303726.968750 [kg/s^2]
    # WARN : wheel 3 has spring damping rate 18982.935547 [kg/s]
    # WARN : wheel 0 suspension force offset 1.391155 0.831435 -0.288567
    # WARN : wheel 1 suspension force offset 1.391159 -0.830995 -0.288567
    # WARN : wheel 2 suspension force offset -1.425033 0.831435 -0.288566
    # WARN : wheel 3 suspension force offset -1.425022 -0.830980 -0.288566
    # WARN in const char* C4::StringTable::GetString(const C4::StringID&) const : Missing String-Table Entry: 1234-1234-0000
    # WARN in const char* C4::StringTable::GetString(const C4::StringID&) const : Missing String-Table Entry: 1234-1234-4444
    # WARN in const char* C4::StringTable::GetString(const C4::StringID&) const : Missing String-Table Entry: 1234-1234-5555
    # WARN : ------------------
    # WARN : bodyVolume 6.002746
    # WARN : bodyMass 1200.549072
    # WARN : bodyMassCenter 0.016380 -0.000029 0.740973
    # WARN : bodyPosition 264.232483 -41.719097 1.984334
    # WARN : wheel 0 has mass 117.493568 [kg]
    # WARN : wheel 1 has mass 117.493515 [kg]
    # WARN : wheel 2 has mass 117.493568 [kg]
    # WARN : wheel 3 has mass 117.493462 [kg]
    # WARN : wheel 0 has sprung mass 303.664093 [kg]
    # WARN : wheel 0 has spring frequency 32.000000
    # WARN : wheel 0 has spring strength 310952.031250 [kg/s^2]
    # WARN : wheel 0 has spring damping rate 19434.501953 [kg/s]
    # WARN : wheel 1 has sprung mass 303.825867 [kg]
    # WARN : wheel 1 has spring frequency 32.000000
    # WARN : wheel 1 has spring strength 311117.687500 [kg/s^2]
    # WARN : wheel 1 has spring damping rate 19444.855469 [kg/s]
    # WARN : wheel 2 has sprung mass 296.448639 [kg]
    # WARN : wheel 2 has spring frequency 32.000000
    # WARN : wheel 2 has spring strength 303563.406250 [kg/s^2]
    # WARN : wheel 2 has spring damping rate 18972.712891 [kg/s]
    # WARN : wheel 3 has sprung mass 296.610413 [kg]
    # WARN : wheel 3 has spring frequency 32.000000
    # WARN : wheel 3 has spring strength 303729.062500 [kg/s^2]
    # WARN : wheel 3 has spring damping rate 18983.066406 [kg/s]
    # WARN : wheel 0 suspension force offset 1.391152 0.831435 -0.288567
    # WARN : wheel 1 suspension force offset 1.391167 -0.830980 -0.288567
    # WARN : wheel 2 suspension force offset -1.425026 0.831435 -0.288566
    # WARN : wheel 3 suspension force offset -1.424995 -0.830995 -0.288566
    # WARN in int32 AGM::PlayerProfile::ReadCurrentGameSlot() const : Slot directory slot-1 do not exists!


    Thanks for your help.
    Alex

    ----------------------------------------------------------------------------------------------
    Intel(R) Core (TM) i7-4790 CPU @ 3,60 Ghz x8
    RAM 8Gio
    Geforce GTX 760
    Ubuntu 16.04 64bit
  • @Berrichon38: looks like you deleted savegames, but missed some files? try rm -r $HOME/.cattle-and-crops/Profiles/USERNAME/Save

    @kaistian:
    2. The launcher should set the executable bit on Game/Linux/CattleAndCrops before launching it, not sure why that should fail
    1. this might be fixed with an update that might not be rolled out properly, I'll have to investigate that further

    The post was edited 1 time, last by caedes ().

  • I did it and it worked the first time. After the game crashed when the map is loading.

    Here the message in the terminal windows :

    CattleAndCrops has crashed with: SIGSEGV !
    In Thread: 140235507824384 ("CattleAndCrops.")
    Backtrace:
    CattleAndCrops[0xb7e79a]
    CattleAndCrops[0xb7ea12]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f8b39f91390]
    /usr/lib/nvidia-375/libGLdispatch.so.0(+0x49149)[0x7f8b39701149]

    Thanks
    Alex

    ----------------------------------------------------------------------------------------------
    Intel(R) Core (TM) i7-4790 CPU @ 3,60 Ghz x8
    RAM 8Gio
    Geforce GTX 760
    Ubuntu 16.04 64bit
  • Effectively, the problem was the saved game. I deleted it and i can run the game .

    Now i got another problem when i tried to enter in a tractor. The game crashed and closed itself !

    CattleAndCrops has crashed with: SIGSEGV !
    In Thread: 139759593240384 ("CattleAndCrops.")
    Backtrace:
    CattleAndCrops[0xb7e79a]
    CattleAndCrops[0xb7ea12]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f1c4e65b390]
    CattleAndCrops(_ZN3AGM20MaleFarmerController7AnimateEv+0x81)[0xd19d31]
    CattleAndCrops(_ZN3AGM16FarmerController4MoveEv+0x8cd)[0xd203dd]
    CattleAndCrops(_ZN2C45World4MoveEv+0xce)[0x833aae]
    CattleAndCrops(_ZN3AGM9GameWorld4MoveEv+0x1d)[0xc0df1d]
    CattleAndCrops(_ZN2C48WorldMgr4MoveEv+0x81)[0x840c81]
    CattleAndCrops(_ZN2C46Engine3RunEv+0x128)[0xb8d2d8]
    CattleAndCrops(main+0x14c)[0xb7eb8c]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f1c4e2a0830]
    CattleAndCrops[0x7e8f79]
    Alex

    ----------------------------------------------------------------------------------------------
    Intel(R) Core (TM) i7-4790 CPU @ 3,60 Ghz x8
    RAM 8Gio
    Geforce GTX 760
    Ubuntu 16.04 64bit
  • @Berrichon38: Thanks for the screenshot!
    Turns out, deleting the Save/ directory also deletes the player model selection (currently only one can be selected, that dude in the CnC jacket), and for some reason the game then defaults to another model that's not properly integrated yet and crashes on some animations (like jump and apparently sitting in a tractor).

    To fix this, you gotta make the game create a fresh profile. There are two ways to do that:
    1. Delete the whole $HOME/.cattle-and-crops/ folder
    2. edit $HOME/.cattle-and-crops/Engine/engine.cfg and remove the playerName line (should look like Variable (name = "playerName") {string {"Alex"}}). When starting the game next time, you should get that character creation dialog again and afterwards in the game you should get the working playermodel.