Project X Forums



It is currently Sun May 05, 2024 3:35 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Sort files in pxl-file?
PostPosted: Thu Aug 22, 2013 12:10 pm 
Offline

Joined: Wed Jul 31, 2013 4:03 pm
Posts: 35
Location: Ukraine
Does anybody know how to sort files in a library? I mean not copy-pasting scripts and extracting and adding files again and again in the fine order.
I tried to edit a pxl-file in the text editor replacing two scripts but that does not work. PXLEditor doesn't see any content in it then.


Top
 Profile  
Reply with quote  
 Post subject: Re: Sort files in pxl-file?
PostPosted: Sat Aug 24, 2013 3:25 am 
Offline
User avatar

Joined: Wed Nov 14, 2012 3:58 am
Posts: 75
Location: Texas, US
I don't know but I wish I did!!! Man that would be a great ability. While speaking of cool abilities, another one would be the silly case sensitive problem with libs transferred to others while online. That REALLY annoys me. Why is it even designed that way? Is there reasoning behind it or what

_________________
"Can't you see? It's better to die on your feet than live down on your knees."


Top
 Profile  
Reply with quote  
 Post subject: Re: Sort files in pxl-file?
PostPosted: Sat Aug 24, 2013 2:09 pm 
Offline

Joined: Wed Jul 31, 2013 4:03 pm
Posts: 35
Location: Ukraine
Ok. I've just found out how to replace 2 scripts in a lib file. I used a hex editor to catch alterations PXLEditor do when you save your lib with scripts.
Results:
  1. The 6th byte in the lib represents a number of total files;
  2. The byte right after script's name represents the size of the script.
So if you want to replace 2 scripts not copy-paste-renaming, you should use an hex editor replacing the bytes wich represents script's names and the bytes of actual text. But that's actually much harder to do than copy-pasting! :D

So, if coming autumn term in the university is not hard for me, I'll write a prograame for Windows which allows easy and fast replacing of files in libs.


Top
 Profile  
Reply with quote  
 Post subject: Re: Sort files in pxl-file?
PostPosted: Sat Aug 31, 2013 7:22 pm 
Offline
User avatar

Joined: Sun Apr 08, 2012 1:09 pm
Posts: 425
Location: Ukraine, Kyiv
Danylo wrote:
Ok. I've just found out how to replace 2 scripts in a lib file. I used a hex editor to catch alterations PXLEditor do when you save your lib with scripts.
Results:
  1. The 6th byte in the lib represents a number of total files;
  2. The byte right after script's name represents the size of the script.
So if you want to replace 2 scripts not copy-paste-renaming, you should use an hex editor replacing the bytes wich represents script's names and the bytes of actual text. But that's actually much harder to do than copy-pasting! :D

So, if coming autumn term in the university is not hard for me, I'll write a prograame for Windows which allows easy and fast replacing of files in libs.


That would be awesome.

_________________
Things to impress.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane