![]() |
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). |
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 > want find ./LAModNations -type f | sort -f > 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. |
Sylvania
Sylvania
Missing files: sylvania/pretender_worldtree2.tga Unused files: sylvania/hero_warrioress1.tga sylvania/hero_warrioress2.tga |
Kharam Dzu
Kharam Dzu
Unused files: kharamdzu/hero_cannon1.tga kharamdzu/hero_cannon2.tga |
Jomon Broken
Jomon Broken
Case trouble: 42,45c48,57 < ./LAModNations/jomonbroken/buried.tga < ./LAModNations/jomonbroken/buried2.tga < ./LAModNations/jomonbroken/burned.tga < ./LAModNations/jomonbroken/burned2.tga --- > ./LAModNations/jomonbroken/Buried.tga > ./LAModNations/jomonbroken/Buried2.tga > ./LAModNations/jomonbroken/Burned.tga > ./LAModNations/jomonbroken/Burned2.tga 53c65 < ./LAModNations/jomonbroken/Gaki.tga --- > ./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 |
Hoburg Kingdom
Hoburg Kingdom
Unused files: hoburgkingdom/hoburgcommando.tga hoburgkingdom/hoburgcommando2.tga hoburgkingdom/hoburgLElinesoldier.tga hoburgkingdom/hoburgLElinesoldier2.tga hoburgkingdom/hoburgleofficer4.tga hoburgkingdom/hoburgleofficer4b.tga |
Re: Linux Case Problems
Quote:
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 |
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.