Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird, unexplained "Unable to find file" error, please help!
#3
My Hypothesis

Your game appears to be attempting an overwrite of Map001, within an encrypted archive, using the RGSS built-in function save_data.

I'm unsure the mechanics behind both a.) RM's encryption and b.) Zeriab's encryption, but assuming load_data works, save_data should also work. It is possible that, while encrypted, files might be obfuscated with different file names to further prevent tampering. While the script should know how to convert between the normal file name and the encrypted version, it is possible load_data knows this conversion but save_data doesn't.

It is also possible you don't have a Map001.rxdata, but I'm thinking you do and it's a result of said file name obfuscation as stated above^

What is Section094?

This term, Section094, represents the 94th script indexed within your scripts list. When using Ruby out in the wild, instead of Section094, it would instead be a file name, example "some_script.rb". To find out what script this is, you'll have to start at the very top (Section001) and count your way down until you reach Section094.

If you've added or removed any scripts since you posted this topic, it's possible the index number has changed too. Please keep that in mind when searching for the script in question, it'll make both our lives easier.

Notes about 'save_data' method

This function, save_data, is an RGSS built-in function (you can look it up in the Help file). It is similar to Marshal.dump with the exception that it can save within an encrypted archive (whereas Marshal.dump can't.)

The save_data function, while valid, is never actually used within the default scripts. There are two instances of read_save_data (loading) and write_save_data (saving), but save_data itself is never used. I personally haven't used it myself, nor have I ever seen anybody else use it. It's possible that, unlike load_data (which works), the save_data method actually might not work. I'd have to test this myself to confirm, but I'm not going to at this moment. *Puts on a to-do list.*

-

Okay, with all of that said, will you please find the Section script? I'd like you to paste a snippet of the code nesting that line 1013 so I can see what is going on exactly, it's important it has that save_data line in it. If you feel comfortable sending me the entire unencrypted project (via PM), all resources included, I can look further into it to see what might be going on. I agree to non-disclosure of the project as well as any and all resources, I'm just curious what the issue could be and how to fix it.

I have a large project too, I don't want distribution to be compromised by faulty encryption nonsense.
[Image: Button-BOTB.png]
[Image: Save-Point.gif][Image: Button-You-Tube2.png][Image: Button-Sound-Cloud2.png][Image: Button-Audio-Mack2.png]
[Image: LS-Banner.gif]
NEW ALBUM OUT NOW!

Reply }


Messages In This Thread
RE: Weird, unexplained "Unable to find file" error, please help! - by Kain Nobel - 03-09-2015, 11:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Heart [solved] Wierd XP error cosmickitty 0 3,376 03-09-2013, 12:26 AM
Last Post: cosmickitty
  Weird Timer Problem Ace 5 8,964 06-19-2011, 12:52 PM
Last Post: Kain Nobel
  Level up error spazfire 7 8,819 01-14-2010, 07:27 AM
Last Post: Jaberwocky



Users browsing this thread: