Jump to content


Photo

Ultima Crypt 1.0.0.0


  • Please log in to reply
32 replies to this topic

#1 X-tra Fear

X-tra Fear

    Behemoth Creator

  • GMC Member
  • 430 posts
  • Version:GM8

Posted 06 June 2007 - 05:42 PM

Ultima Crypt
Version: 1.0.0.0

Welcome, finally... an extension to encrypt/decrypt files in Game Maker. It uses my own custom encryption method, and also features a password for decryption. Protect your saves today!

Screenshots:

(It's pretty hard to take a screeny of this... oh well)

Hope you enjoy it, it took me like 2 hours to make. Even though I know you don't want to, I require credit... sorry!

Please give credit!

You can download Ultima Crypt below:

Download Ultima Crypt

Edited by X-tra Fear, 06 June 2007 - 05:42 PM.

  • 0

#2 jack1993jack

jack1993jack

    GMC Member

  • New Member
  • 231 posts

Posted 06 June 2007 - 07:30 PM

Nice extension man!
Pretty cool - and useful too :lol:
  • 0
Testing can be used to show the presence of bugs, but never to show their absence

#3 The eleventh plague of Egypt

The eleventh plague of Egypt

    GMC Member

  • GMC Member
  • 1045 posts
  • Version:Unknown

Posted 06 June 2007 - 08:26 PM

Why all these encryption systems ? I never heard of a working GM decompiler...
  • 0

#4 Kyle_Solo

Kyle_Solo

    GMC Member

  • GMC Member
  • 1071 posts
  • Version:Unknown

Posted 06 June 2007 - 08:33 PM

They are used to encrypt ini-like external files so the user can't cheat.
  • 0

#5 X-tra Fear

X-tra Fear

    Behemoth Creator

  • GMC Member
  • 430 posts
  • Version:GM8

Posted 06 June 2007 - 09:42 PM

Nice extension man!
Pretty cool - and useful too  :huh:

<{POST_SNAPBACK}>


glad to see u like it :lol:

Why all these encryption systems ? I never heard of a working GM decompiler...

<{POST_SNAPBACK}>


wtf, what now?

They are used to encrypt ini-like external files so the user can't cheat.

<{POST_SNAPBACK}>


Exactly... what he said!
  • 0

#6 Krisando

Krisando

    GMC Member

  • New Member
  • 1351 posts

Posted 06 June 2007 - 11:58 PM

Why all these encryption systems ? I never heard of a working GM decompiler...

<{POST_SNAPBACK}>


Gm Decompiler is illegal!!

But wow this is good because its a gex!! just relised lol Xtra ill use it :huh:
  • 0

Posted Image


#7 the_doominator

the_doominator

    Eight Star

  • New Member
  • 925 posts

Posted 07 June 2007 - 02:05 AM

He just keeps pumping out these useful extensions! :huh:
  • 0

#8 X-tra Fear

X-tra Fear

    Behemoth Creator

  • GMC Member
  • 430 posts
  • Version:GM8

Posted 07 June 2007 - 03:36 AM

He just keeps pumping out these useful extensions!  :(

<{POST_SNAPBACK}>


ha, I am extension dude :huh:
  • 0

#9 Bill23

Bill23

    GMC Member

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

Posted 09 September 2007 - 09:37 PM

This is really good! I'm probably going to use it.

Edited by Bill23, 09 September 2007 - 09:37 PM.

  • 0
Posted Image
Posted ImagePosted Image

#10 Krisando

Krisando

    GMC Member

  • New Member
  • 1351 posts

Posted 10 September 2007 - 09:38 AM

I hate you Xtra right now!! lol You gave up making extensionsfor Runescape.. lol ok i dont hate you but look this is the only release!! :snitch:
  • 0

Posted Image


#11 Fox USA

Fox USA

    GMC Member

  • New Member
  • 326 posts

Posted 02 October 2007 - 03:00 AM

when i even load it into my game i get this error
___________________________________________
COMPILATION ERROR in extension package Ultima Crypt
Error in code at line 1:
   if (!variable_local_exists("line")){  line=1;}if (!variable_local_exists("in")){  in=1;}input[in]=argument0;line+=1;in+=1;

at position 43: Variable name expected.
yes I did install it the right way
  • 0



#12 tristiano77

tristiano77

    GMC Member

  • GMC Member
  • 349 posts
  • Version:Unknown

Posted 04 October 2007 - 01:33 AM

i want to encrypt and decrypt entire files, what do i do?
  • 0

#13 hotshotscott

hotshotscott

    GMC Member

  • New Member
  • 3483 posts

Posted 14 October 2007 - 07:28 AM

It's made in game maker 7 :) !!!!!! Can you please make a gm6 version? I really need this for my game!

Scotty
  • 0

TEAM ODDBOX

Did I try your game or help you out with yours?? Please return the favour and try out my game! NOT just another Halo Clone!!

Posted Image


#14 the_doominator

the_doominator

    Eight Star

  • New Member
  • 925 posts

Posted 14 October 2007 - 01:27 PM

It's made in game maker 7 :) !!!!!! Can you please make a gm6 version? I really need this for my game!

Scotty

<{POST_SNAPBACK}>

You can't use extensions in GM6. :)
  • 0

#15 thegreatgaveno@mac.com

thegreatgaveno@mac.com

    GMC Member

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

Posted 29 January 2008 - 11:29 PM

I get this error every time I use it.
___________________________________________
ERROR in
action number 1
of Other Event: User Defined 2
for object obj_control:

In extension function uct_file_save:
Error in code at line 1:
   input[0]=argument1;save:=argument0;open_line:='Encrypted with Ultima Crypt - Please do not modify!';start_string:='s,OTv\!pFIujB{xz<D*/">Q+a3PVgqU#dilnM_2A1;Yw-LZ:HC'+"'$8GftR=bSWJ)}rc(56e|7E&40?h.]NKo9[k y%mX"file:=file_text_open_write(save);file_text_write_string(file,open_line);file_text_writeln(file);for(i:=0; i<line; i+=1) { new_line:=''; for(j:=1; j<=string_length(input[i]); j+=1)  {  char:=string_char_at(input[i],j);  val:=string_pos(char,start_string);  new_val:=(val+j+i-1)mod(string_length(start_string))+1;  new_char:=string_char_at(start_string,new_val);  new_line+=new_char  } file_text_write_string(file,new_line); file_text_writeln(file); }file_text_close(file);

at position 319: Cannot compare arguments.
-Gavin
  • 0

#16 Blue Leader

Blue Leader

    GMC Member

  • New Member
  • 467 posts

Posted 30 January 2008 - 02:20 AM

Can this encrypt external image and sound files as well, so other users can't steal the images and/or music and sound?
  • 0

#17 ultim8p00

ultim8p00

    GMC Member

  • GMC Member
  • 282 posts

Posted 30 January 2008 - 09:32 PM

Will this protect my game from decompilers?
  • 0

#18 Krisando

Krisando

    GMC Member

  • New Member
  • 1351 posts

Posted 31 January 2008 - 09:44 PM

Ultima has gone off making extensions really.. abit lazy lol, Umm protect Gm7 exe from Decompilers.... It is very VERY Extremely hard and this is an encryption dll if you encrypt your games exe then you can't run xD
  • 0

Posted Image


#19 Ryan-Phoenixan

Ryan-Phoenixan

    GMC Member

  • New Member
  • 211 posts

Posted 07 February 2008 - 11:26 PM

I have a small but somewhat important (to me anyway) question. This opens only 1 text file at a time, correct? :)

I'm just wondering if this is more effecient or if I'd just be better off writing my own simple encryption. I don't need much, just something that hides the values within the save game file, so I'm fine with either using this or not and doing my own thing.

Will this protect my game from decompilers?

<{POST_SNAPBACK}>

No, it's just a txt file encryptor so that you can use your own custom save/config files that can't be easily edited in notepad.

Edited by Ryan-Phoenixan, 07 February 2008 - 11:44 PM.

  • 0

#20 Mynameisonic

Mynameisonic

    GMC Member

  • New Member
  • 170 posts

Posted 07 February 2008 - 11:43 PM

It's made in game maker 7 :D !!!!!! Can you please make a gm6 version? I really need this for my game!

Scotty

<{POST_SNAPBACK}>

You can't use extensions in GM6. :)

<{POST_SNAPBACK}>

No, but you can use DDLs, which are basically they same thing.
  • 0
Posted Image

#21 Ryan-Phoenixan

Ryan-Phoenixan

    GMC Member

  • New Member
  • 211 posts

Posted 07 February 2008 - 11:43 PM

Or scripts. There's several tutorials out there on how to achieve something very similar to this. :D

*edit*

Hmmm...

Looks like I'll have to go with my own thing afterall, because this doesn't work with other language systems that well. I'm having my game translated into French and German by a few friends, and this has a problem with converting back symbols like "ΓΌ", which returns as "X".

*edit2*

Okay, I have my own system in place now. :)

You know, you should have the encrypted characters wrap around the number 255 instead so it can take these extra characters into account. It might come in handy for more people. Especially those who's primary language might not be English. I know there are those like that floating around here on the forums.

Edited by Ryan-Phoenixan, 08 February 2008 - 02:49 AM.

  • 0

#22 Jay Da Master

Jay Da Master

    Block: Coming Soon...

  • New Member
  • 242 posts

Posted 23 February 2008 - 05:51 AM

Great! Exactly what I need for the save files in my game!
  • 0

#23 Krisando

Krisando

    GMC Member

  • New Member
  • 1351 posts

Posted 23 February 2008 - 07:45 AM

This extension is as dead as the Dodo.
  • 0

Posted Image


#24 X-tra Fear

X-tra Fear

    Behemoth Creator

  • GMC Member
  • 430 posts
  • Version:GM8

Posted 28 March 2008 - 02:06 AM

no, it was just never updated cause i couldnt think of anything else.
  • 0

#25 Kano yugoro

Kano yugoro

    GMC Member

  • New Member
  • 167 posts

Posted 06 April 2008 - 08:34 PM

This encryption cannot encrypt anything but strings.


I told it to encrypt digits and it didn't do anything.

EDIT: Nevermind, I found away around this.

write it useing string(value)

then read it using real(value).

Edited by Kano yugoro, 06 April 2008 - 11:06 PM.

  • 0

#26 Relinquished

Relinquished

    GMC Member

  • New Member
  • 265 posts

Posted 22 April 2008 - 02:50 PM

Try winrar type encryption. Tell me if I'm wrong but this is a guess, you could make it where the user can provide a key in which the bytes in the target file encrypted with the key. The bytes in the target file would be aligned with the key and you could do saturated adding where suppose the letter 'Z' was accompanied with the byte 254, the value would than loop around and get uh...well whatever. Then you could append the end of the file with a special signature that if the user supplies the correct key, the signature should turn out alright, and if not, then the key is incorrect. This is useful if the hacker had a brute force program or something. Go ahead and take my idea, I already wrote a library module for this but you can go ahead my idea. Oh and, as an added feature, use compression, have a header file in the beginning of the enrypted file specifying what byte offsets are compressed and such, and then when uncompresses the decryption can commence.

If you like the idea and need help I give you some code if you want.

Edited by Relinquished, 22 April 2008 - 02:51 PM.

  • 0

#27 wurdup

wurdup

    GMC Member

  • GMC Member
  • 863 posts

Posted 04 June 2008 - 11:28 AM

This program doesnt work properly when using the same object. If you load an encrypted file first then try saving again after it returns errors.

** solved by changing rooms or instances.

Edited by wurdup, 04 June 2008 - 11:38 AM.

  • 0

#28 ThrawnMBG

ThrawnMBG

    GMC Member

  • New Member
  • 15 posts

Posted 13 October 2008 - 03:39 PM

The Ultima Crypt extension is very interesting.. but I need a way to "walk" in the file, like going to the begining to overwrite data, detect the eof, etc...
How can I do this ?

Thanks!
  • 0

#29 SLarouche

SLarouche

    GMC Member

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

Posted 01 December 2008 - 11:30 AM

This program doesnt work properly when using the same object. If you load an encrypted file first then try saving again after it returns errors.

** solved by changing rooms or instances.


I seem to have the same problem. AKA if I try to write two different files back to back, UCT will output to the first file I've opened AND the second one (??). Is there a way to close the file to make sure?

thanks!
  • 0

#30 bennikniet

bennikniet

    GMC Member

  • GMC Member
  • 14 posts

Posted 17 March 2010 - 10:05 AM

Why all these encryption systems ? I never heard of a working GM decompiler...


I had a GM Decompiler for gm6 and .gmk's made with GM7. And it really worked! ( Dont get mad at me, I only used it at my own games 0.o )

Although there is a DLL which makes it impossible for the decompiler to decompile ;P


Bye :)
  • 0

#31 pserafi

pserafi

    GMC Member

  • New Member
  • 43 posts

Posted 20 June 2010 - 08:27 PM

___________________________________________
COMPILATION ERROR in extension package Ultima Crypt
Error in code at line 1:
var max_char, load, start_string, reading, input, char, val, new_val, new_char;max_char:=10000;load:=argument0;pass:=argument1;failed=false;start_string:='s,OTv\!pFIujB{xz<D*/">Q+a3PVgqU#dilnM_2A1;Yw-LZ:HC'+"'$8GftR=bSWJ)}rc(56e|7E&40?h.]NKo9[k y%mX"reading:=file_text_open_read(load);file_text_readln(reading);line:=0;while !file_text_eof(reading) { input[line]:=file_text_read_string(reading); input[line]:=string_replace_all(input[line],'€','_'); file_text_readln(reading); line+=1; }file_text_close(reading);for(i:=0; i<line; i+=1) { output[i]:=''; for(j:=1; j<=string_length(input[i]); j+=1) { char:=string_char_at(input[i],j); val:=string_pos(char,start_string); new_val:=(val-j-i+string_length(start_string)*max_char-1)mod(string_length(start_string))+1; new_char:=string_char_at(start_string,new_val); output[i]+=new_char global.readamount=line; } } pass2=output[0];if (pass!=pass2){ show_message("Failed to decrypt file!"); failed=true; exit;}
^
at position 19: Variable name expected.
wut?
  • 0

#32 ze1

ze1

    GMC Member

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

Posted 06 November 2010 - 07:01 AM

Is this secure?
I mean, is this encryption hard to crack?
  • 0

#33 Himanshu

Himanshu

    GMC Member

  • GMC Member
  • 37 posts
  • Version:GM8.1

Posted 15 July 2012 - 03:28 AM

i want to load from the encrypted files can you make it that plz.............. :biggrin: :thumbsup: . so that when encrypt only reading from the encrypted file when done reply :happy: :GM8:

Edited by Himanshu, 15 July 2012 - 03:30 AM.

  • 0