日本語版「README」については、こちらをご覧ください。
This repository contains a historical backup of the flash version of the game "God Field" and a server emulator I wrote for it.
I did this server emulator back in 2016 when the flash version was still online, I decided to open-source it now since it was gathering dust in my HD and I really do not want this to vanish. The emulator is pretty much working, but still has some minor bugs and some lacking things. This do not mean that this project is abandoned, I still want to update this server emulator and make it more reliable and accurate to the original game, if you want to help me, fell free to open a issue or do a pull request!
This server emulator is not nearly perfect, but it works! (as shown in the video below), but here is some issues that I can remember at the moment:
This repository contains the old God Field game that was originally written in Flash. Unfortunately, Flash is no longer supported by most browsers. However, it is still possible to run God Field using the following methods:
To run the server emulator, you will need Python 3.9+. Install all dependencies using requirements.txt. Not sure how? Click here to learn more about the requirements file.
First, add the following lines to your hosts file:
127.0.0.1 www.godfield.net
127.0.0.1 static.godfield.net
127.0.0.1 training.godfield.net
127.0.0.1 enfreefight.godfield.net
127.0.0.1 freefight.godfield.net
127.0.0.1 enfreefightprivate.godfield.net
127.0.0.1 freefightprivate.godfield.net
Note: Be sure to remove these entries later; otherwise, you will be unable to reach the official God Field site.
Next, execute the script webserver.py in the client-files folder. To execute the script server.py in the server-src folder, run the command server.py --ws if you are okay with using the Ruffle emulator; otherwise, run server.py directly.
You're now ready to open the game! Simply navigate to http://www.godfield.net/en.html in your web browser, and the game should run using Ruffle. If you prefer to use Adobe Flash Player, you can navigate to http://www.godfield.net/og_en.html in a browser that still supports it. Alternatively, you can use the Flash Projector. Just run the executable and press CTRL+O; a window should appear. In this window, just input http://www.godfield.net/game/godfield.swf in the Location text field and click OK.
helpers folder, but I have modified some of them a little.