-
Notifications
You must be signed in to change notification settings - Fork 1
New Banners
Stu Baker edited this page Jul 17, 2021
·
5 revisions
- Link to official rates page
- open the game, Menu > Dreams, then put your phone in airplane mode; click on 'More details here' and you should get an error popup with the link for that particular banner
- Images from game files
- Base path on a rooted emulator:
Root/data/data/games.wfs.anothereden - Banner art path:
/files/contents/2/files/i18n/en/files/ui/lottery/bg - Banner selector images path:
/files/contents/2/files/i18n/en/ui/lottery/lottery_top_cell- Note: Devs seem to occasionally move these to a different parent folder; if you don't find images at the above path(s), try
files/contents/3/...,files/contents/4/..., etc.
- Note: Devs seem to occasionally move these to a different parent folder; if you don't find images at the above path(s), try
- Base path on a rooted emulator:
- Python scraper
- Update
getbanner.pywith new banner details and run script to create new file in the banners folder- Variable values to update in
main(i.e.url,banner_name,rate_up) can all be found on the official rates page
- Variable values to update in
- Update
- JSON files
- Add banner details to
encounter-banners.json;banner_short_nameis used in CSS,banner_fileis name of the rates file in banners folder,banner_imageis banner art (not to be confused with banner selector image)
- Add banner details to
- Images
- Besides the raw image files mentioned above, you'll need:
- a cropped version of the banner art to remove some of the fade to black/white on each side; make sure to shrink on tinypng as it's still very large after cropping
- create a sprite for the banner selector; see 91003.combo for an example, but it'll just be the
.normalversion on top and the.highlightedversion below
- Besides the raw image files mentioned above, you'll need:
- CSS
- Add new
a.banner-select.NEWBANNERusing the same format as the others;NEWBANNERshould be whatever short name you decide to use in encounter-banners.json
- Add new
- HTML
- Update version on CSS and
encounter-banners.jsonto trigger updates for cached files- Ex:
css/encounter-sim.css?v=wX32u9pSLzchanged tocss/encounter-sim.css?v=Vt70FaP4Ov
- Ex:
- Update version on CSS and