Generating a Generation 4 Calc - hzla/Pokeweb-Live GitHub Wiki
Step 1
Download and install the pokeweb prod-g4 branch from here: https://github.com/hzla/Pokeweb-Live/tree/prod-g4
This guide assumes your rom is named my_rom.nds
Step 2
Drag your rom into the pokeweb main folder and navigate to the pokeweb folder using your terminal or powershell.
Run the following commands:
python3 python/header_loader.py my_rom.nds password
python3 python/rom_loader.py my_rom.nds
Step 3
Copy paste the pokeweb/texts
into pokeweb/projects/my_rom/texts
If you have changed ability names, pokemon names, move names, trainer names, trainer classes, or location names in your rom, replace the text file with your modified text file. The text files can be obtained by copy pasting from DSPRE
Make sure your trainer class, trainer names, and locations text file are named tr_classes.txt
, tr_names.txt
, and locations.txt
Step 4
in pokeweb/routes.rb
line 29 and 30 you'll see
$rom_name = "projects/"
session[:rom_name] = "projects/"
add the name of your rom like so
$rom_name = "projects/my_rom"
session[:rom_name] = "projects/my_rom"
Start pokeweb with rackup config.ru
and visit /publish_calc
in the url. You should now have a json file you can host on npoint.io