SMM but it's actually SMW
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
applier fix midway bugs Jul 10, 2018
baserom fix 1lvl roms deathcounter not initializing Jul 13, 2018
bot
levels update levels readme Jun 12, 2018
webserver rephrase a link, show number of voters next to rating Aug 1, 2018
.gitignore add some logging and stuff to bot wrapper Jul 21, 2018
README.txt update readmes Jul 10, 2018
checkmwl.py
db_schema.sql add moderation log Jul 21, 2018
lvl_insert_base.asm fix midway bugs Jul 10, 2018

README.txt

Building everything:
1. Go to applier/ and build it (on Linux, use make, on Windows, do whatever, probably mingw).
2. Copy flips here (and make it executable), and also libasar.so (or asar.dll) (don't put it in the applier/ folder, leave it here!).
3. Go to baserom/ and build that. There's a README there with instructions.

Setting up webserver:
1. Get MySQL and PHP.
2. Build everything.
3. In your webserver's root directory, create a symlink to the webserver folder here.
4. Make the levels/ folder writable by www-data.
5. In MySQL, create a database named smwmaker, and run db_schema.sql in there. Also, create the file webserver/instance_specific.php which defines the constants mysql_username and mysql_password. Also update bot/main.py with the MySQL username/password.
6. Make bot/run.sh run at system startup (via cron, systemd or whatever you like)