Author |
Message |
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Thu Aug 31, 2006 2:36 pm Post subject: [WIP] LvzViewer |
|
|
|
|
I wanted to code something in C#, so I'm trying to code a WinRAR like program for lvz.
Thanks MGB for the idea
This is what I have at the moment:
It's only able to load and display the contents of a lvz file right now.
Future Features:
- Display all files in a lvz
- Add/Remove files from a lvz
- Drag&Drop files like in WinRAR
- Open files inside the lvz
Suggestions anyone?
Especially about how to treat the object data. _________________ It's a shark! Oh my god! Unbelievable!
ClipBoard-1.png - 17.23 KB
File downloaded or viewed 42 time(s)
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Thu Aug 31, 2006 3:49 pm Post subject: |
|
|
|
|
I don't work much with LVZ, so how to handle the object part, I'm sure someone else could say. As for other features, how about renaming objects? If you double-click the file, will it extract a temporary copy for image editors? How about when the other program finishes with the file, it checks to see if the file changed. If so, prompts to the user if should update the LVZ with the new changes.
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Thu Aug 31, 2006 3:57 pm Post subject: |
|
|
|
|
That looks good, good idea and very usefull for alot of developers!
- Once you have decoded the objects part maybe you can specify if it's a screen or map object?
- Maybe also specify the dimensions of the images inside the lvz?
- Preview of the file/sound ?
Really, keep up the good work _________________
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Thu Aug 31, 2006 4:19 pm Post subject: |
|
|
|
|
I think I'll just ignore the objects part of the lvz for now.
Once all features dealing with files are done, I'll think about what to do with it.
I don't intend LvzViewer to become a second LIE, though.
I like the features MGB has mentioned, I'll definitely implement them.
|
|
Back to top |
|
|
CypherJF I gargle nitroglycerin
Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Aug 31, 2006 5:35 pm Post subject: |
|
|
|
|
I've been wondering who would finally release something like this... I know smong had worked on something similar, I think? But kudos for releasing it. _________________ Performance is often the art of cheating carefully. - James Gosling
|
|
Back to top |
|
|
D1st0rt Miss Directed Wannabe
Age:36 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Fri Sep 01, 2006 12:10 am Post subject: |
|
|
|
|
Hehe, I had actually started looking at the gtk-sharp bindings when MGB mentioned the idea _________________
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Sep 01, 2006 3:14 pm Post subject: |
|
|
|
|
Will this be open source?
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Fri Sep 01, 2006 7:31 pm Post subject: |
|
|
|
|
Quan Chi2 wrote: | Will this be open source? |
Haven't decided yet...
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Sun Sep 03, 2006 5:59 pm Post subject: |
|
|
|
|
I'm almost finished.
Things left to do:
- Drag&Drop
- Make the list sortable
- Check files for edits after they have been opened
As mentioned in another topic, I found lots of lvz where jpgs and pngs aren't compressed.
I added "Repack" functionality to the program, which recompresses all the files.
Here's a screenshot of the program on coulds.lvz used in SSCI-A Hyperspace.
Before:
After:
The size didn't change because that's the size of the file when decompressed.
Repack works great with jpgs.
Pngs are often already compressed enough, though.
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
ClipBoard-3.png - 20.22 KB
File downloaded or viewed 41 time(s)
ClipBoard-2.png - 18.85 KB
File downloaded or viewed 38 time(s)
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Mon Sep 04, 2006 2:24 am Post subject: |
|
|
|
|
Wowzers That is functionality that beats lvztoolkit by far!
Can you also make a new lvz? (I don't see a new file button.)
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Mon Sep 04, 2006 3:06 am Post subject: |
|
|
|
|
Maverick wrote: | Wowzers That is functionality that beats lvztoolkit by far!
Can you also make a new lvz? (I don't see a new file button.) |
I'll only add support for creating an empty lvz for now.
The second public release will be able to import objects from other lvz, opening ini files and mabye add/edit existing objects.
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Sep 04, 2006 11:54 am Post subject: |
|
|
|
|
By the way, you might be interested in Alt+Printscreen, which captures only the active window. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Mon Sep 04, 2006 3:51 pm Post subject: |
|
|
|
|
Cyan~Fire wrote: | By the way, you might be interested in Alt+Printscreen, which captures only the active window. |
I did.
But I'm using Lunar Element 5 Compact as my theme, so the top of the window is a bit smaller than usual. That's why you can see the window beneath.
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
|
|
Back to top |
|
|
D1st0rt Miss Directed Wannabe
Age:36 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Mon Sep 04, 2006 4:35 pm Post subject: |
|
|
|
|
When you get to editing, a right click context menu would be awesome for individual objects
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Mon Sep 04, 2006 9:34 pm Post subject: |
|
|
|
|
I sure hope its open source.
|
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Tue Sep 05, 2006 2:49 am Post subject: |
|
|
|
|
Quan Chi2 wrote: | I sure hope its open source. | Apart from that it's the developer's choice, why do you want it open source?
As long as the end program does a good job I don't see much reason to go fiddle in the source.
|
|
Back to top |
|
|
Purge Episode I > Eposide III Jar-Jar is kool
Age:34 Gender: Joined: Sep 08 2004 Posts: 2018 Offline
|
Posted: Tue Sep 05, 2006 2:51 am Post subject: |
|
|
|
|
Maverick wrote: |
As long as the end program does a good job I don't see much reason to go fiddle in the source. |
Unless it's for a learning purpose.
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Tue Sep 05, 2006 9:19 am Post subject: |
|
|
|
|
I want to use it for learning purposes and thers nothing wrong with trying to add your own features don't you think? After all, thats how a lot of software we see today improves.
|
|
Back to top |
|
|
|