How to download a file on the middle of a game to the game folder?

● ARCHIVED · READ-ONLY
Started by Annali 12 posts View original ↗
  1. Like what DDLC did that you suddenly found files on the game folder?
    Also, on the new game of miwashiba!!! Is any script like that excist? I don't know how it called so it's hard to find
  2. It's hard to find because it doesn't exist. Attempt to connect a VXA game.exe to the internet is not an easy task. Probably impossible, but maybe it's possible, idk.

    You might get better luck if you use MV, but then again I don't use MV.

    Edit: Or were u asking about VNM? Because I see you're using VNM and mentioned DDLC, that this thread might happen to get created in the wrong room?
  3. No, I'm not making a vn!
    I didn't decide for a program yet, I thought to do it with MV or VXA because I have both, thank you for replying!
  4. Do you want the game to generate a file on the fly? Or actually download one from the internet? Because at least in VX Ace it's possible to generate (and read from) a .ini file, but as TheoAllen said it's probably nearly impossible to download something from a server (plus not having an internet connection could completely break the game).
  5. Shiro-chan said:
    Do you want the game to generate a file on the fly? Or actually download one from the internet? Because at least in VX Ace it's possible to generate (and read from) a .ini file, but as TheoAllen said it's probably nearly impossible to download something from a server (plus not having an internet connection could completely break the game).
    The first one!
  6. Ok, and what kind of file do you want to create? A text file, an image maybe?
  7. Shiro-chan said:
    Ok, and what kind of file do you want to create? A text file, an image maybe?
    A text file! Perhaps pdf!
  8. Making PDF is more complex than you thought. If you just want to create txt file
    Code:
    File.open("filename.txt", "w+") do |file|
       Marshal.dump("Write text here", file)
    end
  9. TheoAllen said:
    Making PDF is more complex than you thought. If you just want to create txt file
    Code:
    File.open("filename.txt", "w+") do |file|
       Marshal.dump("Write text here", file)
    end
    Thank you!! It's a script code for the game, correct?
  10. It's script call
  11. TheoAllen said:
    It's script call
    A little question "/n" is used for writing another line, right?
  12. Yes, but it's using \n