Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
[WIP] LvzViewer

 
Post new topic   Reply to topic Printable version
 View previous topic  Ship Rotator enhanced ! Post :: Post WinLvz (abandoned)  View next topic  
Author Message
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Thu Aug 31, 2006 2:36 pm    Post subject: [WIP] LvzViewer Reply to topic Reply with quote

I wanted to code something in C#, so I'm trying to code a WinRAR like program for lvz.
Thanks MGB for the idea icon_wink.gif

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 41 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:40
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3614
Location: Las Vegas
Offline

PostPosted: Thu Aug 31, 2006 3:49 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
Maverick
broken record


Age:39
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Aug 31, 2006 3:57 pm    Post subject: Reply to topic Reply with quote

That looks good, good idea and very usefull for alot of developers! biggrin.gif

- 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 icon_wink.gif
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Thu Aug 31, 2006 4:19 pm    Post subject: Reply to topic Reply with quote

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. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Aug 31, 2006 5:35 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:36
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Sep 01, 2006 12:10 am    Post subject: Reply to topic Reply with quote

Hehe, I had actually started looking at the gtk-sharp bindings when MGB mentioned the idea icon_smile.gif
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:33
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Fri Sep 01, 2006 3:14 pm    Post subject: Reply to topic Reply with quote

Will this be open source?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Fri Sep 01, 2006 7:31 pm    Post subject: Reply to topic Reply with quote

Quan Chi2 wrote:
Will this be open source?


Haven't decided yet...
Back to top
View users profile Send private message Add User to Ignore List
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Sun Sep 03, 2006 5:59 pm    Post subject: Reply to topic Reply with quote

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 36 time(s)

ClipBoard-2.png - 18.85 KB
File downloaded or viewed 37 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:39
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon Sep 04, 2006 2:24 am    Post subject: Reply to topic Reply with quote

Wowzers icon_eek.gif 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
View users profile Send private message Add User to Ignore List Visit posters website
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Mon Sep 04, 2006 3:06 am    Post subject: Reply to topic Reply with quote

Maverick wrote:
Wowzers icon_eek.gif 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
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:36
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Mon Sep 04, 2006 11:54 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Mon Sep 04, 2006 3:51 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:36
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Mon Sep 04, 2006 4:35 pm    Post subject: Reply to topic Reply with quote

When you get to editing, a right click context menu would be awesome for individual objects
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:33
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Mon Sep 04, 2006 9:34 pm    Post subject: Reply to topic Reply with quote

I sure hope its open source.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Maverick
broken record


Age:39
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Tue Sep 05, 2006 2:49 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:34
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2018
Offline

PostPosted: Tue Sep 05, 2006 2:51 am    Post subject: Reply to topic Reply with quote

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. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:33
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Tue Sep 05, 2006 9:19 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Misc User Apps All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 652 page(s) served in previous 5 minutes.

phpBB Created this page in 0.565958 seconds : 45 queries executed (81.5%): GZIP compression disabled