I have to say, if you're reading this seriously, it's truly amazing that the universe has set our fates to collide by you reading this, essentially a log of how I used about a week of my time for something completely not useful.
Anyways, I know you have your own fun little project to get to, so I'll just give you the details as best I can, okay?
Basically skip the first stamp if you just want to get to how to rip the game.
This strategy was developed hastily, and although it does its job perfectly, its difficulty scales to the length of the game. See chapter 3 of the rip process for more info.
I once woke up one day and just said: "Hmm, what if I did a gamerip of MANONNIKKI?" Okay, so first question, "what the heck is manonnikki." MANONNIKKI is a silly little EasyRPG game that (was) only available on itch.io. You couldn't download it, there are no links. You can only play it in-browser. You're already seeing what I was going to do here, but why? Look man I was piloting a 14 year old ASUS laptop with an AMD vision and dedicated graphics held together by Linux and 16GB of RAM expansions from ewaste centers. And yes, that was my best PC. It could run GMod at about 20 fps and would dip below frequently, often to about 2 fps.
Lets move on. Basically, the PC was trash, and running a game in-browser was not ideal. The latest Firefox only took about 70% of the CPU, but it still was idling 10 FPS. So I thought if I was running the game locally, I wouldn't suffer as many issues! In the end, this was true, as once I put the files together and put in the Linux executable, the game was at a stable 60 FPS. Finally, something that looks and plays well.
Time to do what I said I would, rip the game!
This started off harder than expected, as I didn't really know where to start. Luckly, you don't have that problem. You have my experience.
The first thing you are going to do is open your browser of choice, mine is Firefox, and I'll be using the Firefox dev tools / inspect element. If you use something Chromium based, (you poor soul) you likely have Chromium equivelents that will work about the same, just try and figure it out.
First you are going to navigate to the tab where you have the game open, and open up your inspect element. Select the networking tools. If you're on Firefox, you're going to have to reload. Just go with it.
With the networking tools still open, start the web game. (if it hasn't already been started)
Now you should see the assets coming in. I would specifically target index.html
, as it is always loaded for EasyRPG games. With the networking tools, you should see the source URL of where that file comes from. You should also see the file location / name.
Put together the URL and then the filename/location. Ex. example.net/path/to/index.html/
You're getting close. Now should be a good time to mention this is where the difficulty scales depending on the size of the game. MANONNIKKI was easy, fully completed within 2 minutes of speedrunning. Basically, to get access to all of the assets the normal way, you'll have to LOAD EVERY ASSET INTO MEMORY. This means every map, audio, texture, dialog, everything, must be loaded over the course of ONE SITTING. This is the part where I recommend you weigh how long this would take, and how draining it could become. If you're still in this, lets continue.
Here comes the fun part! Y'know, depending on the length of the game and all... Open the link you put together in a new tab, and open your dev tools. With your dev tools still open, play through the game to its fullest capacity. Every interaction you can have, have it. Every room you can load, load it. Do anything it takes to get this game done 100%.
Are you done playing? Or done grinding? Either way, more grinding! Now you're going to go down the line and open every asset in a new tab that was logged. This will download each asset in its fullest. Yes, you have to do this for every asset. If you find another way and it works, good job! You're quite lucky, as I developed this method due to constantly getting 403 forbidden errors.
You're almost done! This is basically the last step. Now all you must do is take every file that you downloaded, and put it in its correct position in an EasyRPG file tree. Use something like SOFTMARE or Yume Nikki's file trees for reference on how to do this.
If you've done it, it's time to test. Go to easyrpg.org/player/downloads and put the player at the root of the file tree. (outside folders such as Music and Pictures) Run the game and test it out! If you put it together right, everything should load and work perfectly! If it doesn't look or sound right yet, keep trying! My first draft lacked all audio and the system tilesets, so yours likely won't be perfect either. Trial and error has no concequences here, so just do as you will.
Once you're done, congrats! You've done it! This EasyRPG game is finally ripped thanks to you!
You likely right clicked and downloaded straight away. Browsers usually rush the process of loading audio, so they load it into RAM, but the log only will contain a certain amount of the actual audio you downloaded. You must go back and download the audios again by right clicking and selecting "Open in New Tab."
Like I said before, trial and error is key here. Try putting things in different folders, see how they work. A hint is that most files will start their name with what folder they belong in. If you're looking for where to put the maps, put them at the base of the file tree with your player.
You might have missed some assets, like I said before, this process isn't easy, and it will scale in difficulty based on how long or large in scale your game is.
I hope this guide was of use to you, as my internet ventures sometimes feel in vain. Hope this helps you on your RPG ripping adventures!
A link to my repo where I did this, by the way. [a href="github.com/SnivySquid65/manonnikki"]github.com/SnivySquid65/manonnikki[/a]