Jump to content


Photo

Xrp External Resource Dll New Version 3.3


  • This topic is locked This topic is locked
111 replies to this topic

#1 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 10:55 AM

If you have a version older than 3.3 please redownload due to a security risk to the XRP file.

--Credits--

DLL
---
IsmAvatar

Original GML
------------
Nailog
Exploding Diamond Products

Producer
--------
Exploding Diamond Products

Example and Readme
------------------
Exploding Diamond Products


<<<Made for Game Maker>>>

What is XRP?

An XRP file (.xrp) is a file that contains all of your external resources.
Normally your resources are open to modification, stealing, and other bad
things that can cause problems. With a XRP file though, you can
keep your files safe and sound inside one big file.

Also has encryption.
Now has compression.

Basically, I've have heard many complaints of how external resources are open to modification, so Nailog, IsmAvatar, and I came up with this DLL.
It is not 100% foolproof but it provides your files with much more protection.
Difficulty: Intermediate.

Uses:
-Store your resources externally, which cuts down on loading time
-Overall smaller game size
-Protect your resources
-Small patches

Crediting:
You do not have to credit us but if you want please put this image in:
--IMAGE DOWN, PLEASE USE TEXT--

Comes with:
Readme
Example
.gm6
DLL
Icon
.gml scripts
Sample data
programs to compress and decompress

Download: http://edproducts.ne...load.php?view.1
  • 0

#2 ..::Origin::..

..::Origin::..

    GMC Member

  • New Member
  • 435 posts

Posted 03 December 2005 - 11:12 AM

Links dead... Already..
  • 0

#3 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 11:13 AM

Thank you for that...
Fixing...
Fixed!

Edited by Exploding Diamond Products, 03 December 2005 - 11:18 AM.

  • 0

#4 ..::Origin::..

..::Origin::..

    GMC Member

  • New Member
  • 435 posts

Posted 03 December 2005 - 11:41 AM

Thank you for that...
Fixing...
Fixed!

<{POST_SNAPBACK}>


.zip file is damaged, possibly corrupted. lol.
  • 0

#5 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 11:43 AM

Heh. That's great :GM122:

Let me fix it... :-P

Fixed

Edited by Exploding Diamond Products, 03 December 2005 - 12:42 PM.

  • 0

#6 ..::Origin::..

..::Origin::..

    GMC Member

  • New Member
  • 435 posts

Posted 03 December 2005 - 11:49 AM

Heh.  That's great :GM122:

Let me fix it... :-P

<{POST_SNAPBACK}>


Wow, Great DLL, 9/10!
  • 0

#7 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 12:42 PM

Thank you :GM122:
  • 0

#8 tangibleLime

tangibleLime

    Lunatic

  • GMC Elder
  • 2520 posts
  • Version:GM:HTML5

Posted 03 December 2005 - 02:41 PM

Great! Useful for any future games :GM122:
  • 0
Posted ImagePosted Image

#9 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 03:02 PM

Glad you like it.

I'm working on a program called MPQmyadmin which is like PHPmyadmin except it works on MPQ files and not MYsql databases.
Posted Image
  • 0

#10 MoonGoon

MoonGoon

    GMC Member

  • Validating
  • 67 posts

Posted 03 December 2005 - 03:32 PM

Would it be possible to add sending and receiving of .MPQs between Internet connected players? Say, to transfer levels or custom items between players?

#11 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 03 December 2005 - 03:43 PM

Hmm, fairly nice, but maybe you could also add compression of the mpq file so the use of this dll has another advantage?
  • 0

#12 no one

no one

    Dont worry, I dont exists

  • New Member
  • 188 posts

Posted 03 December 2005 - 03:59 PM

wow...i accualy might be able to use this. nice job, very usefull, well impletmented,.

//except it DELETES the files!  muahaha

nice touch, i went looking for the files b4 i found that it deleted them (i woulda had them too :-p)
nice job again.
  • 0

#13 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 05:34 PM

Would it be possible to add sending and receiving of .MPQs between Internet connected players?  Say, to transfer levels or custom items between players?

<{POST_SNAPBACK}>

Yes, with GMsock you can send files, and so you can send this and on the other end have them extract it.

Hmm, fairly nice, but maybe you could also add compression of the mpq file so the use of this dll has another advantage?

<{POST_SNAPBACK}>

Yes, the function was just added.

wow...i accualy might be able to use this. nice job, very usefull, well impletmented,.

//except it DELETES the files!  muahaha

nice touch, i went looking for the files b4 i found that it deleted them (i woulda had them too :-p)
nice job again.

<{POST_SNAPBACK}>

Yes, you should delete the files after you use them so that nobody steals them, as in the example it extracts them to the temp folder, loads them, then deletes them.

It should also be noted that you should only extract the files you need.
So dont load every file at the beginning of the game.

//except it DELETES the files!  muahaha

My sugar just kicked in.

Edited by Exploding Diamond Products, 03 December 2005 - 07:52 PM.

  • 0

#14 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 07:52 PM

New version with compression!
  • 0

#15 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 03 December 2005 - 07:55 PM

I think some credit is in order for PACL, since you used their Archiving program.
  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#16 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 03 December 2005 - 07:58 PM

I did, in the readme, including a link.
  • 0

#17 Fragment

Fragment

    GMC Member

  • GMC Member
  • 326 posts
  • Version:GM:Studio

Posted 03 December 2005 - 09:50 PM

nice dll, im definitely gonna use it on my upcomming rpg (called hidden fate?). I am sure this will hugely benifit the rest of the community
  • 0

bannergmmentors5.png


#18 rup13

rup13

    GMC Member

  • New Member
  • 604 posts
  • Version:GM8.1

Posted 03 December 2005 - 10:40 PM

From the description it sounds like the perfect thing which I need for Game Maker Tycoon. However when I ran the example it gave me several errors. One said it couldn't find unrar.dll, another claimed a sound didn't exist. I may have missed something in the readme file so could you point out to me what I may be doing wrong. I would really like to use this in Game Maker Tycoon.

Edit: Slight correction, the unrar.dll error is a Windows error which happens when PAEXT.exe is executed.

Edited by rup13, 03 December 2005 - 10:42 PM.

  • 0

Old Creations: Game Maker Tycoon | The Complete Guide to Creating RPG's in GM6.x (Part 1 only) | Textbox Tutorial V3

 

I am the proud owner of a First-Class Honours Degree in Computer Science :)

Java is my speciality programming language.


#19 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 03 December 2005 - 11:51 PM

unrar3.dll should have come with the game. Appearently EDP forgot to include it in the zip.

Until EDP comes back and fixes the zip, you can download the dll from my site. <link removed>
please make sure it is in the same directory as Pacomp.exe and Paext.exe

unrar3.dll is not a windows dll. It's a dll for PACL.

Edited by IsmAvatar, 04 December 2005 - 05:54 PM.

  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#20 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 04 December 2005 - 03:13 AM

The DLL isn't on your site, ism. I'm getting 404'd.
  • 0

#21 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 04 December 2005 - 09:13 AM

Gah, let me include it!
Sorry for the trouble, and thats the reason why the example isnt working :wacko:

Fixed, sorry bout that

Edited by Exploding Diamond Products, 04 December 2005 - 09:29 AM.

  • 0

#22 rup13

rup13

    GMC Member

  • New Member
  • 604 posts
  • Version:GM8.1

Posted 04 December 2005 - 12:54 PM

I believe that the link is broken because it won't download here.

unrar3.dll is not a windows dll. It's a dll for PACL.

I guessed, and I said it was a Windows error not a Windows DLL. I said this because I said it was a GM error accidently in the original post. But anyway thanks for trying to help with the link but that one is dead too.
  • 0

Old Creations: Game Maker Tycoon | The Complete Guide to Creating RPG's in GM6.x (Part 1 only) | Textbox Tutorial V3

 

I am the proud owner of a First-Class Honours Degree in Computer Science :)

Java is my speciality programming language.


#23 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 04 December 2005 - 01:16 PM

What do you mean it's not working? It's working fine for me. I cleared my cache.
  • 0

#24 rup13

rup13

    GMC Member

  • New Member
  • 604 posts
  • Version:GM8.1

Posted 04 December 2005 - 01:28 PM

Don't worry now, I got it to download and it works fine. Excellent work. I must now learn how to use this DLL completely :wacko:. I'll have to read the help file and try a few experiments.
  • 0

Old Creations: Game Maker Tycoon | The Complete Guide to Creating RPG's in GM6.x (Part 1 only) | Textbox Tutorial V3

 

I am the proud owner of a First-Class Honours Degree in Computer Science :)

Java is my speciality programming language.


#25 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 04 December 2005 - 04:03 PM

Hmm, not what I meant when I said compression.

having the mpq files be compressed, encrypted archives in themselves would be much better than being an mpq file in a zip.
  • 0

#26 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 04 December 2005 - 04:12 PM

The filename has been changed to XRP, as MPQ is copyrighted.
Sorry about this, please download the new version.

Hmm, not what I meant when I said compression.

having the mpq files be compressed, encrypted archives in themselves would be much better than being an mpq file in a zip.


Yeah, real problems occur when you try and zip that compressed archive XD
  • 0

#27 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 04 December 2005 - 05:54 PM

I decided not to add compression to my dll because it would be far too much work. I figured it would be best if the user just used winzip, since they already have their act together. Since Winzip is too much of a monopoly to release their own free command line zipper and unzipper that can be attached to games, I decided to use PACL for a trial, since that's the closest you can really come to a free archive handler.

Also, please be aware that the Encryption scheme is rather basic. You are encouraged to use your own scheme.

Edited by IsmAvatar, 21 December 2005 - 06:57 PM.

  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#28 wolf_N32

wolf_N32

    GMC Member

  • GMC Member
  • 273 posts
  • Version:GM:Studio

Posted 05 December 2005 - 08:29 AM

I am extremely pleased with such a DLL like this.

Good work"!
  • 0

#29 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 05 December 2005 - 04:03 PM

Thank you, mind if I quote that in my signature?
  • 0

#30 arcooke

arcooke

    GMC Member

  • New Member
  • 1055 posts

Posted 05 December 2005 - 07:41 PM

Onion King has brought to my attention the fact that MPQ is copyrighted.
All MPQ names have changed to XRP.  If you find any reference of MPQ anywhere, please contact me.
Thank you.

<{POST_SNAPBACK}>


It sounds like you didn't solve the problem, just covered it up... Is this 100% legal now? Or did you just hide traces of MPQ? (I'm not even sure what the MPQ thing was all about..)

One more thing.. this is nowhere near foolproof. All someone has to do is look at the command line parameters of paext.exe to see how to extract all the data. Or simply open the file with winzip/winrar....

Good work with the script but this just seems like a dodgy way to secure/pack external resources.

Edited by adamsucks, 05 December 2005 - 07:49 PM.

  • 0

#31 Flashback

Flashback

    Lord of the Ferrets

  • New Member
  • 489 posts
  • Version:Unknown

Posted 05 December 2005 - 07:48 PM

They solved the problem by removing the offending content.

[edit] I also have sad news about xrp : http://www.xrp.com/

I sense another name change coming...

Edited by Flashback, 05 December 2005 - 07:48 PM.

  • 0

#32 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 05 December 2005 - 07:48 PM

Since the file is not built off MPQ technology, it is 100% legal. The only thing that was wrong was that the filename was copyrighted.

Edit: Didn't see Flashback's post
Well, seeing as there's a gmd.com, I'm not too worried.
And if the "Racing Plumbers" want to sue me, then fine.

Edited by Exploding Diamond Products, 05 December 2005 - 07:53 PM.

  • 0

#33 GmDude66

GmDude66

    GMC Member

  • New Member
  • 348 posts
  • Version:Unknown

Posted 05 December 2005 - 10:28 PM

71 kb? More like 707kb...

This is a really cool dll/example and many users at the GMC will find it useful.. I might just use this for my upcoming MMO.

Good Job!

~Derek~
  • 0

#34 wolf_N32

wolf_N32

    GMC Member

  • GMC Member
  • 273 posts
  • Version:GM:Studio

Posted 06 December 2005 - 07:30 AM

Thank you, mind if I quote that in my signature?


No, not at all. A little nice response might be great for your dll. :(
  • 0

#35 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 06 December 2005 - 08:18 AM

71 kb? More like 707kb...

This is a really cool dll/example and many users at the GMC will find it useful.. I might just use this for my upcoming MMO.

Good Job!

~Derek~

<{POST_SNAPBACK}>


Thanks, glad you like it. Size fixed.


Thank you, mind if I quote that in my signature?


No, not at all. A little nice response might be great for your dll. :(

<{POST_SNAPBACK}>


Great, I'm adding it now :D
  • 0

#36 wolf_N32

wolf_N32

    GMC Member

  • GMC Member
  • 273 posts
  • Version:GM:Studio

Posted 06 December 2005 - 02:57 PM

The text in your sig is a bit small... I can hardly read it.

I guess it would've been huge if you had it bigger...
  • 0

#37 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 09 December 2005 - 03:45 PM

New version 3.3! With much better encryption (see top post)
Please download to keep your files safe if you use XRP, they're at risk!
  • 0

#38 MCBR Games

MCBR Games

    GMC Member

  • New Member
  • 60 posts

Posted 19 December 2005 - 07:29 PM

Wow this DLL is very useful for my game! I have almost 100 sounds and voices for my game, without counting the musics! I couldn't put them in the game, because that would make my game loading slower (and I believe that I have one of the fastest loadings here on GM, [proverb: it comes with the job, lol] and I can't waste that.) And knowing that I will have my files externally loaded, and that they are safe gets me super-confortable. Thanks!
  • 0

#39 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 19 December 2005 - 07:33 PM

Thanks, that's what the DLL was created for -_-
  • 0

#40 MCBR Games

MCBR Games

    GMC Member

  • New Member
  • 60 posts

Posted 19 December 2005 - 07:34 PM

Just another small thing. You said that you wanted to know if any referral to MPQ was explicit. Well, the icon is. It says MPQ. Just a notice.
  • 0

#41 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 19 December 2005 - 07:46 PM

Thanks, fixed.
PLEASE REDOWNLOAD.
  • 0

#42 takua108

takua108

    GMC Member

  • GMC Member
  • 582 posts

Posted 20 December 2005 - 03:33 AM

I decided not to add compression to my dll because it would be far too much work. I figured it would be best if the user just used winzip, since they already have their act together. Since Winzip is too much of a monopoly to release their own free command line zipper and unzipper that can be attached to games, I decided to use PACL.
If you use pacl, I suggest you be nice and at least put their name in the credits. As for our dll, we don't really care, but it would be nice if you did.

Also, please be aware that the Encryption scheme is rather basic. You are encouraged to use your own scheme.

<{POST_SNAPBACK}>

I thought they did...I think I remember reading an old PC Magazine article about it...althought I'm probably wrong.

I fully intend to use this in TOPDOWN. Thanks for making such an awesome system!
  • 0

#43 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 20 December 2005 - 06:19 AM

@takau:
Yes, Winzip did release their own command-line zipper and unzipper, but the keyword is "Free" - exactly what it is not.

A problem has arisen. The example included does not demonstrate the extract function, and thus the problem went unnoticed thus far. The extract function, simply put, does not work. I am working very hard to correct this problem for XRP, but in the meantime I have a little dll out for this very purpose.

Compact DLL
http://userweb.nni.c...icj/compact.zip
includes only the _compact(file, folder) and _extract(file, folder) functions

Since my compact dll uses the same file format as XRP, you may use this with any XRP file.

Unlike XRP, I am the sole creator of Compact DLL, and EDP and Nailog had nothing to do with it. If you use Compact DLL, you must give credit to IsmAvatar.

Again, this will soon be fixed in XRP, where you are not required to give credit, but it is appreciated if you do.

Edited by IsmAvatar, 20 December 2005 - 06:21 AM.

  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#44 Smarttart62

Smarttart62

    designFUSION™

  • New Member
  • 2619 posts

Posted 20 December 2005 - 08:18 PM

So did you pay your $200?

Distribution licenses permit companies to use and distribute PACL from and/or within their own programs. All archives and files created with PACL are royalty free, and may be distributed as desired. PACL Distribution licenses are priced at $199.00.

This is of course assuming that you are using this PACL.
-Steve

Edited by Smarttart62, 20 December 2005 - 08:19 PM.

  • 0

#45 GmDude66

GmDude66

    GMC Member

  • New Member
  • 348 posts
  • Version:Unknown

Posted 20 December 2005 - 10:25 PM

I hope he did... if not he is illegaly distributing the evaluation version of PACL...

Quote From PowerArchiver.com:

PowerArchiver supports very limited features from the command line. For additional command line functionality, try PowerArchiver Command Line (PACL) available in the download area. It is an excellent, standalone command line utility with many features, and is totally free for registered users of PowerArchiver.

I would change the archiver if I were you Exploding Diamond Products, unless you have payed the $199 registration fee.

~Derek~
  • 0

#46 Thomas

Thomas

    Waffles Good!

  • New Member
  • 1026 posts

Posted 21 December 2005 - 10:09 AM

I saw that too, however Ism was telling me it was unneccessary... Ask her.
  • 0

#47 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 21 December 2005 - 07:07 PM

If you go to PowerArchiver's website, you can download their CommandLine program for free. If they wanted to make it available only for registered users, they would not have made it downloadable to just anyone by putting it on their website.

It appears that they may have changed their rules, tho, and started charging money for it. As such, please stop using PACL, as there is no longer ANY basic standalone command line compression program, nor DLL, that programmers can use for free. You're back to custom compression now.

Ism was telling me it was unneccessary

I said it was unnecessary to buy the entire program when they have a link that you can download it from. Perhaps you misinterpreted these words.

I will contact PowerArchiver and see to it that they have the link removed or restricted if the program is no longer free for anyone to download.


If anyone has any suggestions as to other standalones or dll's that may get the job done, your input is greatly appreciated - although I have looked for about a month to no avail, with the exception of PACL.
  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#48 GmDude66

GmDude66

    GMC Member

  • New Member
  • 348 posts
  • Version:Unknown

Posted 21 December 2005 - 10:38 PM

Here this might help:

7z Command Line - 7z 4.32 (303kb)
Use Right Click Save-As!

You could use that.. the type of compression wouldn't matter...

~Derek~

Edited by GmDude66, 26 December 2005 - 03:46 AM.

  • 0

#49 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 25 December 2005 - 11:39 AM

Wow! This is a dll I've been looking for a long period of time.
I am going to try it later.

Does it use the files within the compressed file or does it extract them to some kind of hidden directory?
  • 0
GM 8.1 / GM:HTML5 User

#50 David_Irving

David_Irving

    GMC Member

  • New Member
  • 100 posts

Posted 26 December 2005 - 02:13 AM

This code doesnt seem to work;

[CODE REMOVED]

any suggestions? It doesnt change the description, it doesnt change the .ico, but it changes the open with program.

EDIT: I stand corrected. You MUST restart windows after doing this.

Edited by David_Irving, 26 December 2005 - 02:25 AM.

  • 0