Text to RGSS - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: Text to RGSS (/thread-3276.html) Pages:
1
2
|
Text to RGSS - DerVVulfman - 03-16-2011 Text to RGSS
Version: 1.0 Introduction Ever notice some scripts use an outside .txt file? Are you using an outside file and are worried someone will just open it up and read it before playing your game? Well, this script can take database-formatted text files and help you turn them into .rxdata or .rvdata files to be encrypted along with your game. This system is derived from Yehinde's Data Encrypter/Decrypter, so plenty of credit is do to Yeyinde and Trickster who assisted. It is a system designed for scripters to employ. But when they do, no longer will their projects be plagued with text files easily opened. Demo Text to RGSS Instructions Better watch the demo. Compatability The script works with both RPGMaker XP and RPGMaker VX. Credits and Thanks Definite thanks to Yeyinde who crafted more than 90% of the system, and to Trickster who helped on the initial development. Terms and Conditions Free for use. RE: Text to RGSS - dagarath - 03-17-2011 I have been playing around with this, its pretty awesome and may just be what I am looking for. I modified the Mindless class into this. Code: module RPG and when I try to encrypt from my text file I get this Quote:Script 'Data Encrypter/Decrypter' line 321: NoMethodError occurred.I know the error is with 'var_data = name[1].chomp', but that is as far as my knowledge goes lol. I am not certain how to actually debug in this case, can you see anything obvious and point me in the right direction? Here is the text file Code: id = 1 RE: Text to RGSS - DerVVulfman - 03-17-2011 Check the last field for both your records. Code: exp=[0,0,0,0,0,0,0,0] You forgot the space around the '=' signs for both your Koromon and Tsunomon Dragons Tested it with the spaces... works. RE: Text to RGSS - dagarath - 03-17-2011 Wow I am amazed that space was the problem lol. Now if I try to decrypt that same data, I only get the first item back in a text file, hrmm? Code: iv = [0,0,0,0,0,0,0] RE: Text to RGSS - DerVVulfman - 03-19-2011 Need an extra line space after the last record set. RE: Text to RGSS - eweeparker - 01-04-2013 hey, DerVVulfman... I was making a tutorial on another site and I have to use your database decrypter in order to make it work. Do you think that it would be okay if I either posted a link or put in the script with full creds, or both? I will add the tutorial here as well if that would please you. Anyway, thanks in advance if it works out and sorry to necropost if I did but I was having problems with PMs on here. RE: Text to RGSS - DerVVulfman - 01-05-2013 Probably best to supply a link to this topic. I had issues recently with my current FileSharing site. Though it is back online, I am in the process of making mirror links just in case. That and I hang around here more often.. If anything comes up, I hit here first. I may forget about (yet) another site. RE: Text to RGSS - MechanicalPen - 05-04-2013 I am using this to dump the databases to a text file, for use in translating. However when trying to do the Items.rxdata I got an error. Any idea on what "Script 'Data Encrypter/Decrypter' line 345 Errno::EBDAF occured. Bad file descriptor" means? RE: Text to RGSS - DerVVulfman - 05-04-2013 First off, lemme just say 'It's been over a year? Figures..." Well, I took a look at the lines involved. It begins a loop to sort through the data.... skips the lines if there IS no data... then begins a routine to get data from each item. Before line 345, I made a duplicate similar in nature ... but displays the data in question (p data_file + ' #' + i.to_s)... thus letting me see it go from Items #1 ... Items 32. Even erasing an item from the database didn't create the error you described. It still holds data, but data of empty fields. name = ""... icon_name = "" ... etc. I am wondering if it is something in the Items database itself... that may be causing the problem. Invalid data or characters it isn't compatible. RE: Text to RGSS - MechanicalPen - 05-04-2013 It is a Japanese game, so I don't doubt that some of the characters may not be supported. The script still made a text file, so it is still partially helpful. Edit: It fails on the 383rd entry. The only thing strange about it is the name; ヤクシニー* Oh one more question! For some reason, every entry alternates between staring with 'animation1_id' and 'consumable' Why would they be different? Just because? |