Well, your last idea wouldn't work since they could change the extension again...and they would be able to open the picture...
I'm going to check the link right now ^^
Thanks a lot for your help ~
@Edit:
Well, it's nothing to do with encryption XD It's just a simple code that everyone could read if they extract scripts.rxdata...
Thanks for the effort ^^
There have been a few people who created methods or scripts to help do this (even the music), but they are rare and hard to find. I will list links to what I know, but I make no promisis that they work or are exactly what you are looking for:
DRGSS: .net RPG Maker XP/VX Encrypter/Decrypter http://www.hbgames.o...pic.php?t=70525Some Ideas from other people:
@Xzygon: actually, if you put the audio files in the Data folder, they'll be encrypted as well and can be read by calling Marshal.load before playing them.
More generally, if the built-in encryption is not enough for you (which is understandable considering its weakness), you can encrypt and decrypt the files with an external routine like a DLL.
QUOTE (ZeroManArmy @ May 6 2010, 01:44 AM) *Cool about this debate on debugging but can anyone help me under stand how to Marshal.load to encrypt my music files?
A little snippet for that.
#==============================================================================
# Kread-EX' Music encrypter
#==============================================================================
DoEncryption = true # Set this to false when the serialization is done.
if DoEncryption && $TEST
dirname = File.expand_path('./Game.exe')
dirname.slice!('Game.exe')
Dir.mkdir(dirname + 'Data/Audio') unless File.exist?(dirname + 'Data/Audio')
Dir.mkdir(dirname + 'Data/Audio/BGM') unless File.exist?(dirname + 'Data/Audio/BGM')
dirname += 'Audio/BGM/'
Dir.entries(dirname).each do |filename|
next if ['.', '..'].include?(filename)
ext = File.extname(dirname + filename)
base_f = filename.dup
base_f.slice!(ext)
File.open(dirname + filename, 'rb') {|file| save_data(file.readlines.join, 'Data/Audio/BGM/' + base_f)}
Graphics.update
end
end
class RPG::BGM < RPG::AudioFile
def play
if @name.empty?
Audio.bgm_stop
@@last = BGM.new
else
sdata = load_data('Data/Audio/BGM/' + @name)
File.open(@name + '.tmp', 'wb') {|file| file.write(sdata)}
Audio.bgm_play(@name + '.tmp', @volume, @pitch)
File.delete(@name + '.tmp')
@@last = self
end
end
end
That is simple. You put that script in the editor, and it will pack the music files into the Data folder, allowing them to be encrypted with the game.
Once the conversion is done, you set the flag to false.
HELP: http://www.rpgrevolu...pic=39547&st=40
This one above is for MUSIC, but perhaps you can contact
Kread-EX at the link above and if they are still around ask about an IMAGES one.
v/Respectfully,
Kage Kazumi