Skip to content

Commit

Permalink
Update to v 2.048
Browse files Browse the repository at this point in the history
  • Loading branch information
ozh committed Jun 3, 2022
1 parent b1964c4 commit f579d3b
Show file tree
Hide file tree
Showing 74 changed files with 47,994 additions and 3,385 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,35 @@ From the root,

* `cd img/`
* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/img/`
* `grep -v PARENTDIR index.html | grep -o '<a href=".*">' | sed 's/<a href="//' | sed 's/">//' > list.txt`
* `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/img/`
* `grep -v PARENTDIR index.html | grep '\[IMG' | grep -Po 'a href="\K.*?(?=")' | sed 's/\?.*//' > _imglist.txt`
* `wget -N -i _imglist.txt -B http://orteil.dashnet.org/cookieclicker/img/`

#### 2. Fetch all new sounds :

Similarly, from the root :

* `cd snd/`
* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/`
* `grep -v PARENTDIR index.html | grep -o '<a href=".*">' | sed 's/<a href="//' | sed 's/">//' > list.txt`
* `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/snd/`
* `grep -v PARENTDIR index.html | grep '\[SND' | grep -Po 'a href="\K.*?(?=")' | sed 's/\?.*//' > _sndlist.txt`
* `wget -N -i _sndlist.txt -B http://orteil.dashnet.org/cookieclicker/snd/`

#### 3. Fetch all new translations :

Similarly, from the root :

* `cd loc/`
* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/loc/`
* `grep -v PARENTDIR index.html | grep '\[ ' | grep -Po 'a href="\K.*?(?=")' | sed 's/\?.*//' > _loclist.txt`
* `wget -N -i _loclist.txt -B http://orteil.dashnet.org/cookieclicker/loc/`

#### 3. Update `js` and `html` files :

From the root directory :

* Fetch the updated `index.html` file: `wget -O index.html http://orteil.dashnet.org/cookieclicker/`
* Fetch the updated `style.css` file: `wget -O style.css http://orteil.dashnet.org/cookieclicker/style.css`
* Fetch updated `js` files : `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/`
* Scan `index.html` for any new `<script src` and also `main.js` for any new local javascript (eg `Game.last.minigameUrl`). If there are new scripts, update the `list.txt` accordingly.
* Fetch updated `js` files : `wget -N -i _jslist.txt -B http://orteil.dashnet.org/cookieclicker/`
* Scan `index.html` for any new `<script src` and also `main.js` for any new local javascript (eg `Game.last.minigameUrl`). If there are new scripts, update the `_jslist.txt` accordingly.
* In `main.js` there is a call to a remote script we need to modify:
* Look for `ajax('/patreon/grab.php'` and replace it with `ajax('grab.txt'`
* In the root: `wget -O grab.txt http://orteil.dashnet.org/patreon/grab.php`
Expand Down
File renamed without changes.
38 changes: 37 additions & 1 deletion img/list.txt → img/_imglist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ BGgarden.jpg
BGgrimoire.jpg
BGmarket.jpg
BGpantheon.jpg
Thumbs.db
alchemylab.png
alchemylabBackground.png
alteredGrandma.png
Expand All @@ -19,18 +18,35 @@ ascendedBakingPod.png
bank.png
bankBackground.png
bankGrandma.png
bgBW.jpg
bgBlack.jpg
bgBlue.jpg
bgCandy.jpg
bgChoco.jpg
bgChocoDark.jpg
bgCoarse.jpg
bgFoil.jpg
bgGold.jpg
bgMint.jpg
bgMoney.jpg
bgMoneyChart.jpg
bgPaint.jpg
bgPink.jpg
bgPurple.jpg
bgRed.jpg
bgSilver.jpg
bgSky.jpg
bgSnowy.jpg
bgSpectrum.jpg
bgStars.jpg
bgWhite.jpg
bgYellowBlue.jpg
blackGradient.png
blackGradientLeft.png
blackGradientSmallTop.png
bracketPanelLeftS.png
bracketPanelRightS.png
brainyGrandma.png
brokenCookie.png
brokenCookieHalo.png
brownStripes.png
Expand All @@ -46,14 +62,18 @@ chocolateMilkWave.png
clayBG.jpg
contract.png
control.png
cookieShadow.png
cookieShower1.png
cookieShower2.png
cookieShower3.png
cortex.png
cortexBackground.png
cosmicGrandma.png
cursor.png
darkNoise.jpg
darkNoise.png
darkNoiseTopBar.jpg
dashnetLogo.png
discord.png
dragon.png
dragonBG.png
Expand Down Expand Up @@ -107,6 +127,8 @@ heavenRing1.jpg
heavenRing2.jpg
heavenlyMoney.png
heraldFlag.png
icon.ico
icon.png
icons.png
idleverse.png
idleverseBackground.png
Expand All @@ -130,6 +152,7 @@ metaGrandma.png
milk.png
milkBanana.png
milkBlack.png
milkBlackcurrant.png
milkBlood.png
milkBlueFire.png
milkBlueberry.png
Expand All @@ -146,6 +169,7 @@ milkHoney.png
milkLicorice.png
milkLime.png
milkMaple.png
milkMelon.png
milkMint.png
milkOrange.png
milkPlain.png
Expand Down Expand Up @@ -180,6 +204,8 @@ pantheonBG.png
patreon.png
perfectCookie.png
pieFill.png
playsaurusLogo.png
pointGlow.gif
pointyLad.png
portal.png
portalBackground.png
Expand All @@ -202,6 +228,7 @@ roundedPanelRight.png
roundedPanelRightS.png
santa.png
scriptGrandma.png
selectTarget.png
sentientFurnace.png
shadedBorders.png
shadedBordersGold.png
Expand All @@ -211,6 +238,7 @@ shine.png
shineGold.png
shineRed.png
shineSpoke.png
shinyWinkler.png
shinyWrinkler.png
shinyWrinklerBits.png
shipment.png
Expand All @@ -233,6 +261,9 @@ templeGrandma.png
timemachine.png
timemachineBackground.png
timerBars.png
tinyEyeEmpty.png
tinyEyeOff.png
tinyEyeOn.png
transmutedGrandma.png
turnInto.png
upgradeFrame.png
Expand All @@ -243,7 +274,9 @@ upgradeHighlight.jpg
upgradeHighlight.png
upgradeSelector.png
weeHoodie.png
winkler.png
winterFrame.png
winterWinkler.png
winterWrinkler.png
witchGrandma.png
wizardtower.png
Expand All @@ -254,3 +287,6 @@ wrathCookie.png
wrinkler.png
wrinklerBits.png
wrinklerBitsOld.png
wrinklerBlink.png
wrinklerGooglies.png
wrinklerShadow.png
Binary file added img/bgBW.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/bgBlack.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/bgBlue.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgCandy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgChoco.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgChocoDark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgCoarse.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgFoil.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/bgGold.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgMint.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgPaint.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgPink.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgPurple.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/bgRed.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgSilver.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgSky.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgSnowy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgSpectrum.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgStars.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/bgWhite.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bgYellowBlue.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/brainyGrandma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cookieShadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cortex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cortexBackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/dashnetLogo.png
Binary file added img/icon.ico
Binary file not shown.
Binary file added img/icon.png
Binary file modified img/icons.png
Loading

0 comments on commit f579d3b

Please sign in to comment.