Author Topic: [8]trouble with path names  (Read 2791 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
[8]trouble with path names
« on: 7 March 2014, 18:44:39 »
When you name a techtree with an upcase first letter you get problems in cross plattform multiplayer. When you start you get "techtree different on client and server "
 You also get trouble with other commandline options for example when you try to convert the textures with to another format.

How to reproduce:
I used the techtree Sst (starship troupers mod ) from titusgames and tried to make it work with current MG:
http://titusgames.de/news2007.html#otherswork

The first thing I did was trying to convert the textures which gave me several errors. I fixed this temporaray by renaming the techtree to "sst"  instead of "Sst" and all worked.
When this was done I renamed it back to "Sst" and I tried to play with someone using windows. This gave us "techtree different on client and server ". We renamed the techtree again to "sst" instead of "Sst" and the trouble was gone.
« Last Edit: 15 March 2017, 07:03:57 by andy_5995 »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: trouble with path names
« Reply #1 on: 7 March 2014, 19:33:49 »
My opinion: megaglest ought to insist that all names are lower-case and ascii.

I'm sure this problem regularly haunted people trying to play Mr War's mods, because he authored stuff on windows and the capitalisation on filenames was varied.

Its tricky to get content-authoring to fix itself, although an updated export script may help.  But perhaps MG could automatically lowercase and strip utf8 filenames when transferring and crcing?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: trouble with path names
« Reply #2 on: 7 March 2014, 22:06:32 »
I agree that MegaGlest should insist on names being lowercase and ASCII. When exceptions are needed, that's what the translation files are for (well, works fair enough, anyway).

However, because this could break backwards compatibility with existing mods, I think it should not be changed until a major version number increment. Speaking of which, I'd like to see semantic versioning enforced in our releases. That would make it clear when versions are backwards compatible, which is important for mod support. We can then say that a mod is compatible with MegaGlest 3.x, for example. We can't do this unless we know future versions in the 3.x branch won't break backwards compatibility. Semantic versioning is really just a contract that basically states "changes that aren't backwards compatible will result in major version number increment -- if any other number changes, the release is backwards compatible".
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: trouble with path names
« Reply #3 on: 8 March 2014, 16:55:14 »
Speaking of which, I'd like to see semantic versioning enforced in our releases.

Since this is off-topic here, I've started a separate thread about development news which also discusses semantic versioning.
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 · · ·

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 487
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: [8]trouble with path names
« Reply #4 on: 15 March 2017, 07:08:23 »
I'm bumping this thread, because, as filux noted, it's related to Case sensitivity for windows too, which titi marked with a priority of 8.

I thought about merging it but wasn't sure.

 

anything