Need some help please?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
XBMCG33K Offline
Skilled Skinner
Posts: 1,252
Joined: Dec 2008
Reputation: 4
Location: 4 8 15 16 23 42
Question  Need some help please?
Post: #1
Message from TheUni:

Quote:Sorry, I'm of little help for windows, best I can do is provide some
reading material: http://en.wikipedia.org/wiki/Newline

We use Unix EOLs in the repo. Maybe some of the other skin devs can
shed some light on how they've converted?

After a batch conversion, you can tell your skin editor to use Unix style.

Cory

Apparently this needs to be none with Xperience, anyone know what he's talking about?
find quote
phil65 Offline
Skilled Skinner
Posts: 4,477
Joined: Mar 2009
Reputation: 60
Location: Cologne, Germany
Post: #2
What text editor are you using?
if you're workin with notepad++, set format in settings to UNIX.
(or completely migrate to linux, i did that last week Smile )
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,733
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #3
I used this (http://www.bestfreewaredownload.com/free...fnksg.html) to initially do it in bulk.
find quote
XBMCG33K Offline
Skilled Skinner
Posts: 1,252
Joined: Dec 2008
Reputation: 4
Location: 4 8 15 16 23 42
Post: #4
And what exactly needs 'converted'? xml files?
find quote
prae5 Offline
Team-XBMC Forum Moderator
Posts: 2,064
Joined: Jan 2009
Reputation: 34
Location: Cambridge, UK
Post: #5
or if you have a linux box just run dos2unix on them and it will do it.

Yes its the xml files that need changed - the linefeeds/eol's need converting to linux format.
find quote
XBMCG33K Offline
Skilled Skinner
Posts: 1,252
Joined: Dec 2008
Reputation: 4
Location: 4 8 15 16 23 42
Post: #6
Why does this need to be done? This wont prevent anyone else from using the skin correct? And does this include ALL .xml files in the skin?
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #7
this include all xml file yes !
that does not change skin behaviours, but allow a better valid xml search.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
XBMCG33K Offline
Skilled Skinner
Posts: 1,252
Joined: Dec 2008
Reputation: 4
Location: 4 8 15 16 23 42
Post: #8
Yeah got it all done thankfully Smile Now the problem is I have to move animations, which i have a feeling is going to be REALLY hard to do since the skin uses so many file for animations...

Can anyone tell me an easy (fast way) to move the animations folder from here:

[Image: de4kdz.jpg]

To here:

[Image: 2qwouo2.jpg]
find quote
htpc guy Offline
Posting Freak
Posts: 1,182
Joined: Oct 2010
Reputation: 7
Location: Near St. Louis Mo
Post: #9
I use dreaweaver to edit .xml files. It has a nice feature that lets you search for text and then replace it automatically with new text. I think notepad++ can do the same thing. That way you could update the paths to your animation files quickly. You would still have to open all the xml files and run the find/replace text option. It might also be possible to run a batch script to search all the xml files and update the paths.

How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony One Remote| 52" Sharp Aquos LED TV | Demon AVR-X1000 |
find quote
XBMCG33K Offline
Skilled Skinner
Posts: 1,252
Joined: Dec 2008
Reputation: 4
Location: 4 8 15 16 23 42
Post: #10
I'm hoping for something like that, however all xml's that point towards the animations folder are like this animations\ripples\*.png. I'm assuming I'd have to change the code to something related to special right?

Problem with that is I have no idea (Rocky5 did most of the coding) how the special path stuff works...
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,733
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #11
Open up all your XMLs in Notepad++
CRTL+F and select Replace
Find >animations/
Replace >special://skin/
Replace All in All opened documents
Save all.
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #12
Notepad++

Press ctrl+f
3rd tab is "Find in Files"
Option for Directory - Navigate to your 720p folder

Find what: animations/

That'll will look in all files in the 720p folder for the phrase "animations/"

Now do a "find and replace"

Find what: animations/
Replace with: special://skin/animations/

Short answer you need to put special://skin/ before the path

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,733
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #13
lol
find quote
XBMCG33K Offline
Skilled Skinner
Posts: 1,252
Joined: Dec 2008
Reputation: 4
Location: 4 8 15 16 23 42
Post: #14
Thanks for the help guys! you guys are freaking geniuses!
find quote