[C#] IMVU Data Converter - Source

DataMine
by DataMine · 16 posts
11 years ago in .Net (C#, VB, etc)
Posted 11 years ago · Author
This is a rewritten and updated version of my IMVU Converter found here: viewtopic.php?f=109&t=8062

Image

This version is written in C# and has a couple new features. The tool is meant to be use on large amounts of data (i.e. hundreds or more pids/links). It won't be real useful otherwise.

This version can do the following:
    Pid to Peer Review Link
    Pid to Shop Link
    Pid to Flag Link
    Pid to Gift Link
    Pid to Product Page Link
    Peer Review Link to Pid
    Product Page Link to Pid
    Shop Link to Pid
    Product In Scene to Pid
    Outfit Link to Pid
    Shop Link to Peer Review Link
    Peer Review Link to Shop Link
    Avatar Name to Homepage ink
    Cid to Homepage Link


New features in this version:

Treeview data selection instead of radio buttons
    Allows for new conversion options to be added in the future without a form redesign so it's easier to update and maintain the program.

Rewritten core code
    Smaller more efficient code for handling the input selection and data conversion. Easier to maintain, add to and understand.

Progress bar for status updates on large files
    Only noticeable on thousands of hundreds of thousands of lines or slow computers. Otherwise it's too fast.

Status label for large files
    Only noticeable on thousands of hundreds of thousands of lines or slow computers. Otherwise it's too fast.

File drag & drop input
    Dragging a txt/xml/py file onto the input box will load the contents of the file for you. More filetypes that can hold plain text can be added in the future.

Text drag & drop
    Highlighting text and dragging it into the input box will move the text into the input box.

Real time line counter
    The input and output labels will update in real time as lines are added and deleted. This allows the user to see how much data they are working with and whether or not they have pasted or loaded everything.

Download Source

If you just want the exe to run the program, download the file and navigate to the debug folder:
Code
IMVU Converter\IMVU Converter\bin\Debug


To open the source code for editing/compiling, install Microsoft Visual Studio and then double click "IMVU Converter.sln". From there double click on "Form 1.cs" on the right. This will pull up the form designer with all the buttons and richtextboxes. Then just hit F7 to open the code window. From there you can edit and debug/build the program.
Posted 11 years ago · Author
BloodLustD wrote:
Image

Glad you got it updated.


Honestly, I am not done with it. I am not sure I like the treeview but I had already procrastinated enough on it so I thought it was time to post it since it fully works and there isn't really anything major to do to it.

I plan to add support for more filetypes when I think of more that can hold plan text. Just in case for some reason, someone store a list of pids or urls in format other than txt. I also want to add more conversion options.
Posted 11 years ago
I like how you can put in multiple PID's and it will convert all at once.
Posted 11 years ago · Author
BloodLustD wrote:
I like how you can put in multiple PID's and it will convert all at once.


That's it's main purpose.
Posted 11 years ago
Ah, I thought the main purpose was just to Convert PID's.
Posted 11 years ago
BloodLustD wrote:
Ah, I thought the main purpose was just to Convert PID's.


Anyone with half a brain can convert a single pid.
One of the main points of programming though is to automate a boring repetitive process, so when you have to do it over and over again .... you don't.
Posted 11 years ago · Author
BloodLustD wrote:
Ah, I thought the main purpose was just to Convert PID's.


Nope, it's main purpose is to convert any IMVU data it supports in bulk.
Posted 11 years ago
Amazing...

-- Tue May 14, 2013 4:46 am --

Don Von Free Credits wrote:
BloodLustD wrote:
Ah, I thought the main purpose was just to Convert PID's.


Anyone with half a brain can convert a single pid.
One of the main points of programming though is to automate a boring repetitive process, so when you have to do it over and over again .... you don't.


Alright.
Posted 11 years ago
On line 243 use Path.GetFileExtenstion in System.IO

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT