Author Topic: [SOLVED] Using openxcom windows nightlies in linux with wine  (Read 10447 times)

niculinux

  • Guest
[SOLVED] Using openxcom windows nightlies in linux with wine
« on: August 27, 2015, 09:18:39 pm »
Here we go with the weird stufff!!

Usin a nightly in wine (version 1.6.2 i'm usin right now)  i'm suppose to use not linux paths, but windows patch as wine sees it, right?

For instance in a screenshot there is a linux patch, i placed inside UFO folder  files of xcom/ufo:eu, and in mods the hellrazor'shardmode expansion 0.93

but game refuses to start, either in another screenshot, accordin to the openxcom wiki i've placed the files in the windows wine patch as in the screenshot, but game refuses to start. Any idea, where i'm wrong? :/

Edit in the second screenshot:

xcom1: contains ufo files

mods contains hardmode
« Last Edit: August 28, 2015, 03:52:08 pm by niculinux »

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #1 on: August 27, 2015, 09:26:19 pm »
ls -a * in /home/nicola/openxcom

Code: [Select]
CHANGELOG.txt  LICENSE.txt  openxcom.exe  README.md

common:
.  ..  Language  openxcom.png  Resources  Shaders  SoldierName

mods:
.  ..  Hardmode_Expansion

standard:
.
..
Aliens_Pick_Up_Weapons
Aliens_Pick_Up_Weapons_TFTD
Limit_Craft_Item_Capacities
Limit_Craft_Item_Capacities_TFTD
PSX_Static_Cydonia_Map
StrategyCore_Swap_Small_USOs_TFTD
UFOextender_Gun_Melee
UFOextender_Gun_Melee_TFTD
UFOextender_Psionic_Line_Of_Fire
UFOextender_Psionic_Line_Of_Fire_TFTD
UFOextender_Starting_Avalanches
xcom1
xcom2
XcomUtil_Always_Daytime
XcomUtil_Always_Daytime_TFTD
XcomUtil_Always_Nighttime
XcomUtil_Always_Nighttime_TFTD
XcomUtil_Fighter_Transports
XcomUtil_High_Explosive_Damage
XcomUtil_High_Explosive_Damage_TFTD
XcomUtil_Improved_Ground_Tanks
XcomUtil_Improved_Heavy_Laser
XcomUtil_No_Psionics
XcomUtil_No_Psionics_TFTD
XcomUtil_Pistol_Auto_Shot
XcomUtil_Pistol_Auto_Shot_TFTD
XcomUtil_Skyranger_Weapon_Slot
XcomUtil_Starting_Defensive_Base
XcomUtil_Starting_Defensive_Base_TFTD
XcomUtil_Starting_Defensive_Improved_Base
XcomUtil_Starting_Defensive_Improved_Base_TFTD
XcomUtil_Starting_Improved_Base
XcomUtil_Starting_Improved_Base_TFTD
XcomUtil_Statstrings

TFTD:
.  ..  README.txt

UFO:
.   GEODATA   MAPS     patch.txt   ROUTES  TERRAIN   UFOINTRO
..  GEOGRAPH  MISSDAT  README.txt  SOUND   UFOGRAPH  UNITS
« Last Edit: August 27, 2015, 09:36:40 pm by niculinux »

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #2 on: August 27, 2015, 09:34:43 pm »
and wine paths:

ah, i'm usin the very latest nightly: openxcom_git_master_2015_08_27_1136.zip

« Last Edit: August 27, 2015, 09:36:46 pm by niculinux »

Offline AndO3131

  • Colonel
  • ****
  • Posts: 137
    • View Profile
Re: Using windows nightlies in linux with wine
« Reply #3 on: August 27, 2015, 09:58:10 pm »
Personally i would strongly suggest using git and building source code yourself. You can trace back to a specific commit, if you need.

On the matter at hand, you could try moving contents of folder '~/openxcom' to '~/.wine/drive_c/openxcom' and run in terminal:
Code: [Select]
cd ~/.wine/drive_c/openxcom
wine openxcom.exe
I'm not sure if it would help, thou.

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #4 on: August 27, 2015, 10:04:00 pm »
Thanks AndO3131, but i'm greeted with what is attached  :'(

May be a bug in the nighlty that does not recognize paths?
« Last Edit: August 27, 2015, 10:07:53 pm by niculinux »

Offline AndO3131

  • Colonel
  • ****
  • Posts: 137
    • View Profile
Re: Using windows nightlies in linux with wine
« Reply #5 on: August 28, 2015, 09:38:40 am »
Do you have UFO:EU data inside  "~/.wine/drive_c/openxcom/UFO" folder (symlink would also do)? It starts without problems on my computer - tested with latest nightly.

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #6 on: August 28, 2015, 11:45:35 am »
Yes, still no way to go :(

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #7 on: August 28, 2015, 11:48:47 am »
Do you have UFO:EU data inside  "~/.wine/drive_c/openxcom/UFO" folder (symlink would also do)? It starts without problems on my computer - tested with latest nightly.

Hey, now it works!!!!! Seems i've missed some files, actually unzipped into that path and the game starts!!!!!!!!!!!!! Ahhhhhh getting too old for this!!!!!!!  :o

Edit: terminal output once i quit the game right after the main menu is displayed, just for your consideration:

Code: [Select]
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub!
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000410", 0001: stub!
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit https://ubuntuforums.org/showthread.php?t=1960599
libpng warning: iCCP: known incorrect sRGB profile
« Last Edit: August 28, 2015, 12:03:32 pm by niculinux »

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #8 on: August 28, 2015, 11:58:11 am »
Seem i've a probelm with mods: these are not being seen by the game, despite i've put them in the path...maybe i'm wrong again? See screenshots :,(

Edit if i open the dropdowno menu still the vanilla game is displayed, an nothing more :(

Edit 2:mods in the folder: UFO redux - WIP and hardmode expansion (0.93)

edit 3: changed path to

Code: [Select]
/home/nicola/.wine/drive_c/users/nicola/Documenti/OpenXcom/modsstill no way

edit 4: log:

Code: [Select]
[28-08-2015 11:14:30] [INFO] Data folder is:
[28-08-2015 11:14:30] [INFO] Data search is:
[28-08-2015 11:14:30] [INFO] - C:\users\nicola\Documenti\OpenXcom\
[28-08-2015 11:14:30] [INFO] - C:\openxcom
[28-08-2015 11:14:30] [INFO] - C:\openxcom
[28-08-2015 11:14:30] [INFO] User folder is: C:\users\nicola\Documenti\OpenXcom\
[28-08-2015 11:14:30] [INFO] Config folder is: C:\users\nicola\Documenti\OpenXcom\
[28-08-2015 11:14:30] [INFO] Options loaded successfully.
[28-08-2015 11:14:30] [INFO] Scanning standard mods in 'standard'...
[28-08-2015 11:14:30] [INFO] Scanning user mods in 'C:\users\nicola\Documenti\OpenXcom\mods'...
[28-08-2015 11:14:30] [INFO] Mapping resource files...
[28-08-2015 11:14:30] [INFO] Resources files mapped successfully.
[28-08-2015 11:14:30] [INFO] SDL initialized successfully.
[28-08-2015 11:14:30] [INFO] SDL_mixer initialized successfully.
[28-08-2015 11:14:30] [INFO] Attempting to set display to 640x400x8...
[28-08-2015 11:14:30] [INFO] Display set to 640x400x8.
[28-08-2015 11:14:30] [INFO] Loading rulesets...
[28-08-2015 11:14:33] [INFO] Rulesets loaded successfully.
[28-08-2015 11:14:33] [INFO] Loading resources...
[28-08-2015 11:14:33] [INFO] Loading font... Font.dat
[28-08-2015 11:14:34] [INFO] Loading extra resources from ruleset...
[28-08-2015 11:14:34] [INFO] Resources loaded successfully.
[28-08-2015 11:14:34] [INFO] Loading language...
[28-08-2015 11:14:34] [INFO] Language loaded successfully.
[28-08-2015 11:14:34] [INFO] OpenXcom started successfully!
[28-08-2015 11:14:34] [INFO] Playing flx, 320x200, 890 frames
[28-08-2015 11:14:34] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[28-08-2015 11:14:35] [INFO] SDL_mixer initialized successfully.
[28-08-2015 11:14:35] [INFO] SDL_mixer initialized successfully.

edit 5: also

Code: [Select]
/home/nicola/Documenti/OpenXcom/mods
won't work
« Last Edit: August 28, 2015, 12:38:32 pm by niculinux »

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #9 on: August 28, 2015, 12:41:50 pm »
ls - al in /home/nicola/Documenti/OpenXcom/mods gives:

Code: [Select]
drwxrwxr-x 4 nicola nicola 4096 ago 28 11:35 .
drwxrwxr-x 4 nicola nicola 4096 ago 28 11:36 ..
drwxrwxr-x 8 nicola nicola 4096 ago 28 11:34 Hardmode_Expansion
drwx------ 7 nicola nicola 4096 ago 28 10:52 UFO REDUX v0.5.4

Al i can imagine then is a mod problems, that is supposed to work with a specific nightly, if so, only solution is to update mods :(

???

niculinux

  • Guest
Re: Using windows nightlies in linux with wine
« Reply #10 on: August 28, 2015, 01:08:07 pm »
oh guys solved...actually was totally my fault!!!!!!!!!!! >:(

I cannot see the mod because i did not scroll the mod menu, as in the screenshot! The drop down menu is intended only for xcom/ufo, tftd and/or total conversions!!

So paths that worked for me:

The main game:

Code: [Select]
/home/nicola/.wine/drive_c/openxcom(mod subfolder here won't work, unless i imagine you set a different path, but i'm too oncompetent to do  :'( )


and mods

Code: [Select]
/home/nicola/Documenti/OpenXcom/mods
in the latter case, the path has to be linked in the current wine configuration, see here.

In the end, may i humbly humbly ask to Warboy, SupSuper and other administrators here to update the installation wiki page, or at least to use a more simple language? Have mercy...ok i guees it is solved!!!!!

niculinux

  • Guest
Re: [SOLVED] Using openxcom windows nightlies in linux with wine
« Reply #11 on: August 29, 2015, 06:10:32 pm »
Lastly, if you wanna create a launcher i recommend to install the wine launcher creator, packaged in .deb, .rpm and of course avaiable in source code!!!!!!! By default, the programs create a couple of shortcuts: one on the desktop one for the DE, usually in the /home of the user (/home/nicola/.local/share/applications/wlcreator)

Edit: screenshot added!

« Last Edit: September 02, 2015, 10:47:20 pm by niculinux »

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2160
    • View Profile
Re: [SOLVED] Using openxcom windows nightlies in linux with wine
« Reply #12 on: August 31, 2015, 12:34:36 pm »
In the end, may i humbly humbly ask to Warboy, SupSuper and other administrators here to update the installation wiki page, or at least to use a more simple language? Have mercy...ok i guees it is solved!!!!!
It's a wiki, anyone can edit it. :P Though I think running OpenXcom on WINE on Linux is a special case.

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: [SOLVED] Using openxcom windows nightlies in linux with wine
« Reply #13 on: September 03, 2015, 09:35:40 pm »
I may be confused, but what is the advantage of using Windows OXC + Wine over compiling your own version of the code for Linux? The later has worked very well for me so far and it is then only a quick extra step to add features that others developed, like manufacturing profitability.

Offline 7Saturn

  • Colonel
  • ****
  • Posts: 457
    • View Profile
Re: [SOLVED] Using openxcom windows nightlies in linux with wine
« Reply #14 on: September 04, 2015, 03:13:52 am »
I may be confused, but what is the advantage of using Windows OXC + Wine over compiling your own version of the code for Linux?
I second that! Lately, I've gotten that far, that I don't even need to do anything, except for entering my credentials, when the script tries to install the newly compiled nightly. Only thing, that got broken a few days ago, was the automatic inclusion of translation files. But I already got an idea, why this is happening. So for me, there's absolutely no reason of why to use wine, instead of the native compiled nightly.