Author Topic: [not a bug] r3235: FileArchiveExtractCommandParameters to be quoted on Linux?  (Read 613 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
There's a little difference in the value of the FileArchiveExtractCommandParameters option in glest.ini for Windows vs Linux:
Code: [Select]
tomreyn@atibox:~$ grep '^FileArchiveExtractCommandParameters' SCM/megaglest-trunk/data/glest_game/glest.ini SCM/megaglest-trunk/mk/linux/glest.ini
SCM/megaglest-trunk/data/glest_game/glest.ini:FileArchiveExtractCommandParameters=x -o"{outputpath}" "{archivename}"
SCM/megaglest-trunk/mk/linux/glest.ini:FileArchiveExtractCommandParameters=x -o{outputpath} {archivename}
tomreyn@atibox:~$

I assume these values should be equal, using the quoted notation on both Windows and Linux?
« Last Edit: 11 April 2012, 23:47:05 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Why do you assume this? Are you experiencing a problem?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I'm not, I'm really just assuming it may be necessary since there can be blank spaces in file or directory names on Linux, too. It's just that I became aware of this difference between the Windows and Linux glest.ini files and it seemed like this was an improvement made on the Windows one, which was forgotten to be copied to the Linux one.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
It highlights the OS specific API differences between Windows and Linux, and should only be required for Windows due to how the API works on that OS.

 

anything