.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Linux Case Problems (http://forum.shrapnelgames.com/showthread.php?t=35192)

Sombre June 25th, 2007 11:35 PM

Linux Case Problems
 
As many of you know, Linux users need the case of the graphics files declared in the .dm to match the case of the actual filenames. So #spr1 being "dude.tga" in the .dm and the file actually being called "Dude.tga" would cause a crash for them.

So I'm making this thread for Linux users to point out which mods have these issues and post updated or 'fixed' versions if they want. I will try to observe the Case Problem from now on, when updating and making mods, but I am no longer happy to go back and alter my mods when you guys could do it faster (having error messages actually telling you which filenames have problems) and it's you who has the problem, not me (works fine on my computer).

I don't want to be rude or confrontational - I have already go out of my way to sort the problems out for the few linux users who have given me feedback. I just want you guys to be able to sort this out amongst yourselves :]

So here's the thread.

Feel free to bash windows for being stupid too. Although given that all mods work fine under windows and only some of them work under Linux, it seems like for dom3 modding at least, windows has the upper hand (clearly a HUGE sales feature).

lch June 26th, 2007 02:39 AM

Re: Linux Case Problems
 
Okay, let me show you a little bash magic that I just used to find problems:
<font class="small">Code:</font><hr /><pre>grep "\./LAModNations" LAModNations.dm | sed 's/^[^ ]* "\(.*\)"$/\1/g' | sort -f | uniq &gt; want
find ./LAModNations -type f | sort -f &gt; have
diff want have</pre><hr />
This shows me inconsistencies between my LA mod and the actual files. Some of them are only additional or old files that can be safely removed, but some show real problems. I'll give you an update shortly.

lch June 26th, 2007 03:09 AM

Sylvania
 
Sylvania

Missing files:
sylvania/pretender_worldtree2.tga

Unused files:
sylvania/hero_warrioress1.tga
sylvania/hero_warrioress2.tga

lch June 26th, 2007 03:12 AM

Kharam Dzu
 
Kharam Dzu

Unused files:
kharamdzu/hero_cannon1.tga
kharamdzu/hero_cannon2.tga

lch June 26th, 2007 03:23 AM

Jomon Broken
 
Jomon Broken

Case trouble:
42,45c48,57
&lt; ./LAModNations/jomonbroken/buried.tga
&lt; ./LAModNations/jomonbroken/buried2.tga
&lt; ./LAModNations/jomonbroken/burned.tga
&lt; ./LAModNations/jomonbroken/burned2.tga
---
&gt; ./LAModNations/jomonbroken/Buried.tga
&gt; ./LAModNations/jomonbroken/Buried2.tga
&gt; ./LAModNations/jomonbroken/Burned.tga
&gt; ./LAModNations/jomonbroken/Burned2.tga

53c65
&lt; ./LAModNations/jomonbroken/Gaki.tga
---
&gt; ./LAModNations/jomonbroken/gaki.tga

Unused files:
jomonbroken/Copy of Buried.tga
jomonbroken/Copy of Buried2.tga
jomonbroken/Copy of Burned.tga
jomonbroken/Copy of Burned2.tga
jomonbroken/Copy of drowned.tga
jomonbroken/Copy of drowned2.tga
jomonbroken/Nekoni2 alt.tga

lch June 26th, 2007 03:36 AM

Hoburg Kingdom
 
Hoburg Kingdom

Unused files:
hoburgkingdom/hoburgcommando.tga
hoburgkingdom/hoburgcommando2.tga
hoburgkingdom/hoburgLElinesoldier.tga
hoburgkingdom/hoburgLElinesoldier2.tga
hoburgkingdom/hoburgleofficer4.tga
hoburgkingdom/hoburgleofficer4b.tga

Gandalf Parker June 26th, 2007 11:29 AM

Re: Linux Case Problems
 
Quote:

lch said:
Okay, let me show you a little bash magic that I just used to find problems:
<font class="small">Code:</font><hr /><pre>grep "\./LAModNations" LAModNations.dm | sed 's/^[^ ]* "\(.*\)"$/\1/g' | sort -f | uniq &gt; want
find ./LAModNations -type f | sort -f &gt; have
diff want have</pre><hr />
This shows me inconsistencies between my LA mod and the actual files. Some of them are only additional or old files that can be safely removed, but some show real problems. I'll give you an update shortly.

Amazing stuff LCH.

I guess my geeky level is 5. I can actually read and understand all of what you did. But I couldnt have possible whipped it out off the top of my head. http://forum.shrapnelgames.com/images/smilies/happy.gif

lch June 26th, 2007 12:19 PM

Re: Linux Case Problems
 
Ah, that's nothing against the awk stuff that somebody else here posts from time to time (DrP it is, I think?). I use gawk sometimes, too, and love it.


All times are GMT -4. The time now is 02:04 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.