Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / RAR Commands V1.0 (compression and password protection for ANY files) DBPro

Author
Message
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 8th Apr 2006 06:27 Edited at: 13th Apr 2006 21:58
Quote: "
----------------------------
WHAT DO THE RAR COMMANDS DO?
----------------------------

The RAR commands allow you create\modify\extract RAR archives. A RAR file is an archive that contains a group of files that are of any type. These files can be compressed to multiple degrees, making them take up less memory. RAR archives also can be set at creation, to contain a password. This password will protect the archive from being accessed\modified. However keep in mind there is no way to stop users from deleting an archive. The password will protect everything in the archive, including file names, file extensions, file attributes, and file data. If a password is set, you won't even be able to see what’s inside the archive without providing the valid password. The RAR archives that you create are completely compatible with any other programs that use RAR archives, the most popular being WinRAR.
"


(Thats from the readme file)

I've put together a program called "RAR_Commands_Setup_v1.0" that will install a full set of help files for every RAR command. And you can access them right in DBPro from the "Commands" menu. I've also made it so all the commands have "Syntax Highlighting". Theres also a file called "RAR_Commands_Readme_v1", make sure you read this, or else you'll probably get confused.

A .zip archive is attached to this post that contains everything you need. Just be sure to read the "readme" file. If you find any bugs please let me know. Also if you have any suggestions then let me know. Enjoy

EDIT: The reason this is in the WIP board, is because I want to make sure every thing is right before I put it in the "Program Anouncements" board.

EDIT: The attachment file "RAR_Commands_Setup_v1.0" has now been upgraded to "RAR_Commands_Setup_v1.1". The bug fix is described two posts down from this one.

Attachments

Login to view attachments
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 9th Apr 2006 23:51 Edited at: 9th Apr 2006 23:59
Thanks for the hard work at free w00t nice

IMHO
This beats that zip plugin that COSTS! by miles

Theme park simulator wip

Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 11th Apr 2006 19:52 Edited at: 1st May 2006 15:59
nevermind.

The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 12th Apr 2006 01:11
I have not tried your plugin yet, but it looks real interesting. Over the weekend when I have more free time I am going to try it out and give you some reviews on it. Hopefully a help file is included and/or keyword files.

I do have a question which if you don't want to answer because its a secret thats ok. My question is what programming language was this made in and did you download a thirdparty component for this language to give you RAR functionality?

Looks good though and I will give it a shot.

The Lone Programmer

"Is The Juice Worth The Squeeze"
-The Girl Next Door
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 12th Apr 2006 01:28 Edited at: 1st May 2006 15:59
nevermind..

Attachments

Login to view attachments
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 12th Apr 2006 01:44
Hmm....

Underworld 1020
I hate to be the one to break it to you, I think there may be an issue with your project. If you are having DBPro passing stuff to the "RAR.exe" file, what if the user doesn't have WinRar or any other software that uses a RAR Compression? Is your program just meant to be a GUI type software without the GUI?

Explain what you are doing exactly in detain and inside your program. By the looks of things, it just sounds like a GUI. At first I thought it was a DLL, but I miss read. Yeah, I am curious to know whats up.

This post was not suppose to be negative. It was just suppose to be some critique.


Get back to me,
The Lone Programmer

"Is The Juice Worth The Squeeze"
-The Girl Next Door
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 12th Apr 2006 02:26 Edited at: 1st May 2006 16:00
nevermind...

Black Mesa
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location:
Posted: 12th Apr 2006 02:38
I havent downloaded this yet but I have question about it. Would this allow you to say unarchive a high score table so that a DBP program could write to it and the re-archive it with a password when the program was done so that it could not be edited?
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 12th Apr 2006 02:41 Edited at: 12th Apr 2006 20:13
yup, that was one of my main reasons for creating it, keeping data from the user . So you can keep things like 3d objects, textures, music files, sound files, highscore lists, anything, out of the reach from the user.

The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 12th Apr 2006 16:50
Ok I understand you now Underworld 1020.

I didn't realize that the RAR.exe file was freeware. It looks pretty good though, and I will still give it a try.


Thanks,
The Lone Programmer

"Is The Juice Worth The Squeeze"
-The Girl Next Door
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 16th Apr 2006 23:35
Happen to have a command ready for listing the files in a premade archive?

Like say you download an archive from the internet and you need to see the files inside of it.

I looked at the help document and found these commands:


And


I have been unsuccessful at getting them to work. I think they are suppose to output to a file, and then I just read them into my program, but its not working out. Maybe you have some idea's.

Thanks,
The Lone Programmer

"Is The Juice Worth The Squeeze"
-The Girl Next Door
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 16th Apr 2006 23:44
Its interesting I just dont think many people will find a use for it when they can use a GUI or just richt click the files and compress them. Though it would be useful for development tools such as world creators, game creators, etc. that some of the dev's here make.

Good job either way.

Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 17th Apr 2006 10:05 Edited at: 1st May 2006 16:02
@RUCCUS:

thanks . The idea of this though is to control .RAR archives right in DBPro. So you could do something like what "Black Mesa" said a few posts up. Another reason I made this was to compressprotect media files. Like make all the media, put it in a .RAR archive, then in the actual game use my RAR commands to extract those files, use them, and then put them back in the archive. That way the user won't have access to them and less space will be taken up on their computer. With a GUI you can't do that...you can't run your game, then tell the user:

"ok, now minimize this game, buy WinRAR for $30, then use it to extract the following files, then restore this game...ooh ya make sure to delete the extracted files when your done with this game"

I don't think the user would go for that, so instead my RAR commands offer a way for your programs to all that by themselves.

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 17th Apr 2006 16:22
Quote: "This beats that zip plugin that COSTS! by miles"

my ZIP plugin is able to load Objects/images, append frames etc. with inside the ZIP file. and you will be able able to compile all media inside one single .exe file (installer type) for your game.


Quote: "Well, I figured no one would buy it, and I would have wasted my time. However, it seems nobody but you even tried it anyways"

so far, 5 buyers. and after ill release the second version (wich supports all of those stuff above) there will be more buyers..


oh.. and my plugin doesnt use any activeX.. so get off from my plugin's back..

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 19th Apr 2006 18:36
GogetaX
Zip plugins do have their own special goodness, but a rar archive will always beat it compression wise. I am happy to hear that people have already signed up to buy your software.

Underworld 1020
I see how you did that code. I have not done anything towards programming on my computer for quite a while since I just did a reformat. My windows was corrupted. Almost done installing everything, so I will give it a try soon.


The Lone Programmer

"Is The Juice Worth The Squeeze"
-The Girl Next Door
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 29th Apr 2006 07:47 Edited at: 1st May 2006 16:03
nevermind....

Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 30th Apr 2006 23:55 Edited at: 2nd May 2006 07:13
I decided to work on this project last night after all. I completely rewrite all the commands and made some new ones. Although I didn't try compiling them until I had written them all. Obviously most of them have bugs and I'm going to try to fix them up today. The way that I wrote them this time is totally different and much more efficient and cleaner.

The biggest changes are: they run a little faster, way less code, and the DOS window no longer shows anything and is minimized immediately, so the user won't even notice it. And finally I'm trying to turn the commands into a .dll file or actually an .exe file. Then use the CL$() command to access the .dll file.

The commands still use .bat files because I haven't figured out the Execute File command yet. It’s really weird, but I'll get it eventually. I doubt I finish any time soon because I only have like 2 hours to work on it today and then its school again, on top of that this semester coming to a close.

EDIT: (5/2/06)
Commands - To do list:

(all commands are actually coded already, but I haven't debugged them yet. The ones that I checked off have been tested in everyway possible!)

Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 2nd May 2006 00:20
nevermind.....

[/center]
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 2nd May 2006 04:18
@Jack

hey that was going to be my next post ...(I'm trying to clear this thread out a little, when I get the new stuff up my previous posts won't be relevant anymore)

Login to post a reply

Server time is: 2024-11-23 16:53:06
Your offset time is: 2024-11-23 16:53:06