diff --git a/views/expr/flash-nav.js b/views/expr/flash-nav.js index 1996cc92..97eef3ad 100644 --- a/views/expr/flash-nav.js +++ b/views/expr/flash-nav.js @@ -1,4 +1,4 @@ -var fgms = ['1on1soccer.swf', '3dtanks.swf', 'abobosbigadventure.swf', 'achievementunlocked.swf', 'achievementunlocked2.swf', 'achievementunlocked3.swf', 'actionturnip.swf', 'adaran.swf', 'adrenaline.swf', 'americanracing1.swf', 'americanracing2.swf', 'arkandianrevenant.swf', 'awesomecars.swf', 'awesomeplanes.swf', 'bloonsplayerpack2.swf', 'bloonsplayerpack3.swf', 'bloonsplayerpack4.swf', 'bloonsplayerpack5.swf', 'bloonstd1.swf', 'bloonstd3.swf', 'bloonstd4.swf', 'bloonstd5.swf', 'bobtherobber.swf', 'boombot2.swf', 'boxhead2play.swf', 'bubbletanks2.swf', 'bulletbill.swf', 'cactusmccoy.swf', 'cactusmccoy2.swf', 'cargobridge.swf', 'causality.swf', 'computerbashing.swf', 'crushthecastle.swf', 'cubefield.swf', 'cyclomaniacs2.swf', 'diggy.swf', 'donkeykong.swf', 'dontshootthepuppy.swf', 'doodledefender.swf', 'doom.swf', 'ducklife.swf', 'ducklife2.swf', 'ducklife3.swf', 'ducklife4.swf', 'earntodiesuperwheel.swf', 'electricman2.swf', 'elephantquest.swf', 'epicbattlefantasy3.swf', 'epiccomboredux.swf', 'exitpath.swf', 'factoryballs.swf', 'factoryballs2.swf', 'factoryballs3.swf', 'factoryballs4.swf', 'flashflightsimulator.swf', 'flight.swf', 'happywheels.swf', 'hobo.swf', 'hobo2.swf', 'hobo3.swf', 'hobo4.swf', 'hobo5.swf', 'hobo6.swf', 'hobo7.swf', 'houseofwolves.swf', 'interactivebuddy.swf', 'jacksmith.swf', 'jellytruck.swf', 'johnnyupgrade.swf', 'jumpix2.swf', 'learn2fly.swf', 'magnetface.swf', 'marioracingtournament.swf', 'megamanprojectx.swf', 'metroidelements.swf', 'mineblocks.swf', 'minesweeper.swf', 'mirrorsedge.swf', 'motherload.swf', 'multitask.swf', 'mutilateadoll2.swf', 'myangel.swf', 'nanotube.swf', 'ngame.swf', 'nucleus.swf', 'nyancatlostinspace.swf', 'onemanarmy2.swf', 'pacman.swf', 'pandemic.swf', 'pandemic2.swf', 'papalouie.swf', 'papalouie2.swf', 'papalouie3.swf', 'portal.swf', 'portal2d.swf', 'qwop.swf', 'raftwars.swf', 'raftwars2.swf', 'raze.swf', 'redshift.swf', 'revenant2.swf', 'run2.swf', 'run3.swf', 'saszombieassault3.swf', 'shoppingcarthero3.swf', 'siftheads.swf', 'siftheads2.swf', 'siftheads3.swf', 'siftheads4.swf', 'siftheads5.swf', 'sniperassassin4.swf', 'sportsheadsfootball.swf', 'stickrpg.swf', 'stickrun2.swf', 'stickwar.swf', 'strikeforceheroes2.swf', 'strikeforcekittylaststand.swf', 'sugarsugar.swf', 'sugarsugar2.swf', 'sugarsugar3.swf', 'superd.swf', 'superfighters.swf', 'supermario63.swf', 'supermarioflash.swf', 'swordsandsandals2.swf', 'tacticalassassin.swf', 'tanks.swf', 'tanktrouble.swf', 'tetris.swf', 'thebindingofisaac.swf', 'theimpossiblequiz2.swf', 'theworldshardestgame2.swf', 'thingthingarena.swf', 'tosstheturtle.swf', 'ultimateflashsonic.swf']; +var fgms = ['1on1soccer.swf', '3dtanks.swf', 'abobosbigadventure.swf', 'achievementunlocked.swf', 'achievementunlocked2.swf', 'achievementunlocked3.swf', 'actionturnip.swf', 'adaran.swf', 'adrenaline.swf', 'americanracing1.swf', 'americanracing2.swf', 'arkandianrevenant.swf', 'armyofages.swf', 'awesomecars.swf', 'awesomeplanes.swf', 'battlepanic.swf', 'bloonsplayerpack2.swf', 'bloonsplayerpack3.swf', 'bloonsplayerpack4.swf', 'bloonsplayerpack5.swf', 'bloonstd1.swf', 'bloonstd3.swf', 'bloonstd4.swf', 'bloonstd5.swf', 'bobtherobber.swf', 'boombot2.swf', 'boxhead2play.swf', 'bubbletanks2.swf', 'bulletbill.swf', 'bullettimefighting.swf', 'burritobison.swf', 'burritobisonrevenge.swf', 'cactusmccoy.swf', 'cactusmccoy2.swf', 'cannonbasketball2.swf', 'cargobridge.swf', 'causality.swf', 'chibiknight.swf', 'clickerheroes.swf', 'computerbashing.swf', 'crushthecastle.swf', 'crushthecastle2.swf', 'cubefield.swf', 'cyclomaniacs2.swf', 'diggy.swf', 'donkeykong.swf', 'dontshootthepuppy.swf', 'doodledefender.swf', 'doom.swf', 'dragracing.swf', 'ducklife.swf', 'ducklife2.swf', 'ducklife3.swf', 'ducklife4.swf', 'earntodie.swf', 'earntodie2.swf', 'earntodiesuperwheel.swf', 'electricman2.swf', 'elephantquest.swf', 'epicbattlefantasy3.swf', 'epiccomboredux.swf', 'exitpath.swf', 'factoryballs.swf', 'factoryballs2.swf', 'factoryballs3.swf', 'factoryballs4.swf', 'fancypantsadventure.swf', 'fancypantsadventure2.swf', 'fancypantsadventure3.swf', 'flashflightsimulator.swf', 'flight.swf', 'fracuum.swf', 'freerider2.swf', 'getontop.swf', 'giveuprobot.swf', 'giveuprobot2.swf', 'hanger.swf', 'hanger2.swf', 'happywheels.swf', 'hobo.swf', 'hobo2.swf', 'hobo3.swf', 'hobo4.swf', 'hobo5.swf', 'hobo6.swf', 'hobo7.swf', 'houseofwolves.swf', 'interactivebuddy.swf', 'jacksmith.swf', 'jellytruck.swf', 'johnnyupgrade.swf', 'jumpix2.swf', 'knightmaretower.swf', 'learn2fly.swf', 'learn2fly2.swf', 'learn2fly3.swf', 'magnetface.swf', 'mariocombat.swf', 'marioracingtournament.swf', 'meatboy.swf', 'megamanprojectx.swf', 'metroidelements.swf', 'mineblocks.swf', 'minesweeper.swf', 'mirrorsedge.swf', 'moneymovers.swf', 'moneymovers3.swf', 'motherload.swf', 'motox3m.swf', 'multitask.swf', 'mutilateadoll2.swf', 'myangel.swf', 'nanotube.swf', 'newgroundsrumble.swf', 'ngame.swf', 'nitromemustdie.swf', 'nucleus.swf', 'nv2.swf', 'nyancatlostinspace.swf', 'offroaders.swf', 'onemanarmy2.swf', 'outofthisworld.swf', 'pacman.swf', 'pandemic.swf', 'pandemic2.swf', 'papalouie.swf', 'papalouie2.swf', 'papalouie3.swf', 'picosschool.swf', 'picosschool2.swf', 'pirates.swf', 'polarjump.swf', 'portal.swf', 'portal2d.swf', 'quadrobarreldefence.swf', 'qubeythecube.swf', 'qwop.swf', 'raftwars.swf', 'raftwars2.swf', 'raze.swf', 'redball.swf', 'redball2.swf', 'redball4.swf', 'redball4v2.swf', 'redball4v3.swf', 'redshift.swf', 'revenant2.swf', 'riddleschool1.swf', 'riddleschool2.swf', 'riddleschool3.swf', 'riddleschool4.swf', 'riddleschool5.swf', 'riddletransfer.swf', 'riddletransfer2.swf', 'run2.swf', 'run3.swf', 'saszombieassault3.swf', 'sentryknight.swf', 'shoppingcarthero3.swf', 'siftheads.swf', 'siftheads2.swf', 'siftheads3.swf', 'siftheads4.swf', 'siftheads5.swf', 'sniperassassin4.swf', 'sportsheadsfootball.swf', 'sportsheadsracing.swf', 'sportsheadstennis.swf', 'stickrpg.swf', 'stickrun2.swf', 'stickwar.swf', 'strikeforceheroes2.swf', 'strikeforcekittylaststand.swf', 'sugarsugar.swf', 'sugarsugar2.swf', 'sugarsugar3.swf', 'superd.swf', 'superfighters.swf', 'supermario63.swf', 'supermarioflash.swf', 'supermarioflash2.swf', 'supersmashflash.swf', 'swordsandsandals2.swf', 'tacticalassassin.swf', 'tanks.swf', 'tanktrouble.swf', 'tetris.swf', 'thebindingofisaac.swf', 'thegame.swf', 'theimpossiblequiz.swf', 'theimpossiblequiz2.swf', 'theworldshardestgame2.swf', 'thingthingarena.swf', 'thisistheonlylevel.swf', 'tosstheturtle.swf', 'truckloader4.swf', 'ultimateflashsonic.swf', 'ultimatetactics.swf', 'unrealflash.swf', 'vex.swf', 'vex2.swf', 'vex3.swf', 'warp.swf', 'xenos.swf', 'xtremecliffdiving.swf', 'yearofthesnake.swf', 'yuriusshouseofspooks.swf', 'zombiealienparasites.swf']; var flinks = document.querySelectorAll(".glink"); diff --git a/views/pages/nav/fg-compiler-hu-ver.py b/views/pages/nav/fg-compiler-hu-ver.py new file mode 100644 index 00000000..acc4a38f --- /dev/null +++ b/views/pages/nav/fg-compiler-hu-ver.py @@ -0,0 +1,36 @@ +import os, random, math + +outindex = "flash-out.html" +breaker = "" +breakerFrequency = 4 # lower number = more common +alist = ''' %s''' + +# Make flash lists +# Just a premade list for now +flash_1 = ['1on1soccer.swf', '3dtanks.swf', 'abobosbigadventure.swf', 'achievementunlocked.swf', 'achievementunlocked2.swf', 'achievementunlocked3.swf', 'actionturnip.swf', 'adaran.swf', 'adrenaline.swf', 'americanracing1.swf', 'americanracing2.swf', 'arkandianrevenant.swf', 'armyofages.swf', 'awesomecars.swf', 'awesomeplanes.swf', 'battlepanic.swf', 'bloonsplayerpack2.swf', 'bloonsplayerpack3.swf', 'bloonsplayerpack4.swf', 'bloonsplayerpack5.swf', 'bloonstd1.swf', 'bloonstd3.swf', 'bloonstd4.swf', 'bloonstd5.swf', 'bobtherobber.swf', 'boombot2.swf', 'boxhead2play.swf', 'bubbletanks2.swf', 'bulletbill.swf', 'bullettimefighting.swf', 'burritobison.swf', 'burritobisonrevenge.swf', 'cactusmccoy.swf', 'cactusmccoy2.swf', 'cannonbasketball2.swf', 'cargobridge.swf', 'causality.swf', 'chibiknight.swf', 'clickerheroes.swf', 'computerbashing.swf', 'crushthecastle.swf', 'crushthecastle2.swf', 'cubefield.swf', 'cyclomaniacs2.swf', 'diggy.swf', 'donkeykong.swf', 'dontshootthepuppy.swf', 'doodledefender.swf', 'doom.swf', 'dragracing.swf', 'ducklife.swf', 'ducklife2.swf', 'ducklife3.swf', 'ducklife4.swf', 'earntodie.swf', 'earntodie2.swf', 'earntodiesuperwheel.swf', 'electricman2.swf', 'elephantquest.swf', 'epicbattlefantasy3.swf', 'epiccomboredux.swf', 'exitpath.swf', 'factoryballs.swf', 'factoryballs2.swf', 'factoryballs3.swf', 'factoryballs4.swf', 'fancypantsadventure.swf', 'fancypantsadventure2.swf', 'fancypantsadventure3.swf', 'flashflightsimulator.swf', 'flight.swf', 'fracuum.swf', 'freerider2.swf', 'getontop.swf', 'giveuprobot.swf', 'giveuprobot2.swf', 'hanger.swf', 'hanger2.swf', 'happywheels.swf', 'hobo.swf', 'hobo2.swf', 'hobo3.swf', 'hobo4.swf', 'hobo5.swf', 'hobo6.swf', 'hobo7.swf', 'houseofwolves.swf', 'interactivebuddy.swf', 'jacksmith.swf', 'jellytruck.swf', 'johnnyupgrade.swf', 'jumpix2.swf', 'knightmaretower.swf', 'learn2fly.swf', 'learn2fly2.swf', 'learn2fly3.swf', 'magnetface.swf', 'mariocombat.swf', 'marioracingtournament.swf', 'meatboy.swf', 'megamanprojectx.swf', 'metroidelements.swf', 'mineblocks.swf', 'minesweeper.swf', 'mirrorsedge.swf', 'moneymovers.swf', 'moneymovers3.swf', 'motherload.swf', 'motox3m.swf', 'multitask.swf', 'mutilateadoll2.swf', 'myangel.swf', 'nanotube.swf', 'newgroundsrumble.swf', 'ngame.swf', 'nitromemustdie.swf', 'nucleus.swf', 'nv2.swf', 'nyancatlostinspace.swf', 'offroaders.swf', 'onemanarmy2.swf', 'outofthisworld.swf', 'pacman.swf', 'pandemic.swf', 'pandemic2.swf', 'papalouie.swf', 'papalouie2.swf', 'papalouie3.swf', 'picosschool.swf', 'picosschool2.swf', 'pirates.swf', 'polarjump.swf', 'portal.swf', 'portal2d.swf', 'quadrobarreldefence.swf', 'qubeythecube.swf', 'qwop.swf', 'raftwars.swf', 'raftwars2.swf', 'raze.swf', 'redball.swf', 'redball2.swf', 'redball4.swf', 'redball4v2.swf', 'redball4v3.swf', 'redshift.swf', 'revenant2.swf', 'riddleschool1.swf', 'riddleschool2.swf', 'riddleschool3.swf', 'riddleschool4.swf', 'riddleschool5.swf', 'riddletransfer.swf', 'riddletransfer2.swf', 'run2.swf', 'run3.swf', 'saszombieassault3.swf', 'sentryknight.swf', 'shoppingcarthero3.swf', 'siftheads.swf', 'siftheads2.swf', 'siftheads3.swf', 'siftheads4.swf', 'siftheads5.swf', 'sniperassassin4.swf', 'sportsheadsfootball.swf', 'sportsheadsracing.swf', 'sportsheadstennis.swf', 'stickrpg.swf', 'stickrun2.swf', 'stickwar.swf', 'strikeforceheroes2.swf', 'strikeforcekittylaststand.swf', 'sugarsugar.swf', 'sugarsugar2.swf', 'sugarsugar3.swf', 'superd.swf', 'superfighters.swf', 'supermario63.swf', 'supermarioflash.swf', 'supermarioflash2.swf', 'supersmashflash.swf', 'swordsandsandals2.swf', 'tacticalassassin.swf', 'tanks.swf', 'tanktrouble.swf', 'tetris.swf', 'thebindingofisaac.swf', 'thegame.swf', 'theimpossiblequiz.swf', 'theimpossiblequiz2.swf', 'theworldshardestgame2.swf', 'thingthingarena.swf', 'thisistheonlylevel.swf', 'tosstheturtle.swf', 'truckloader4.swf', 'ultimateflashsonic.swf', 'ultimatetactics.swf', 'unrealflash.swf', 'vex.swf', 'vex2.swf', 'vex3.swf', 'warp.swf', 'xenos.swf', 'xtremecliffdiving.swf', 'yearofthesnake.swf', 'yuriusshouseofspooks.swf', 'zombiealienparasites.swf'] +flash_2 = [] + +def splitUpStr(s, indices): + indices.insert(0, 0) + return [s[i:j] for i, j in zip(indices, indices[1:] + [None])] + +def genRandom(count, cap): + randoms = [] + for x in range(0, count): + randoms.append(random.randint(1, cap - 1)) + randoms.sort() + return randoms + +def insertBreaks(s): + length = len(s) + return breaker.join(splitUpStr(s, genRandom(math.ceil(length / breakerFrequency), length))) + +# Generate HTML code for flash list +for x in range(0, len(flash_1)): + flash_2.append(alist % insertBreaks(os.path.splitext(flash_1[x])[0].capitalize())) + +# Write to list file +with open(outindex, "w") as file: + file.write("\n".join(flash_2)) + +print("\nDone!") \ No newline at end of file diff --git a/views/pages/nav/flash.html b/views/pages/nav/flash.html index 7f07db02..967af5ce 100644 --- a/views/pages/nav/flash.html +++ b/views/pages/nav/flash.html @@ -84,141 +84,214 @@

Flash Games

- 1on1soccer - 3dtanks - Abobosbigadventure - Achievementunlocked - Achievementunlocked2 - Achievementunlocked3 - Actionturnip - Adaran - Adrenaline - Americanracing1 - Americanracing2 - Arkandianrevenant - Awesomecars - Awesomeplanes - Bloonsplayerpack2 - Bloonsplayerpack3 - Bloonsplayerpack4 - Bloonsplayerpack5 - Bloonstd1 - Bloonstd3 - Bloonstd4 - Bloonstd5 - Bobtherobber - Boombot2 - Boxhead2play - Bubbletanks2 - Bulletbill - Cactusmccoy - Cactusmccoy2 - Cargobridge - Causality - Computerbashing - Crushthecastle - Cubefield - Cyclomaniacs2 - Diggy - Donkeykong - Dontshootthepuppy - Doodledefender - Doom - Ducklife - Ducklife2 - Ducklife3 - Ducklife4 - Earntodiesuperwheel - Electricman2 - Elephantquest - Epicbattlefantasy3 - Epiccomboredux - Exitpath - Factoryballs - Factoryballs2 - Factoryballs3 - Factoryballs4 - Flashflightsimulator - Flight - Happywheels - Hobo - Hobo2 - Hobo3 - Hobo4 - Hobo5 - Hobo6 - Hobo7 - Houseofwolves - Interactivebuddy - Jacksmith - Jellytruck - Johnnyupgrade - Jumpix2 - Learn2fly - Magnetface - Marioracingtournament - Megamanprojectx - Metroidelements - Mineblocks - Minesweeper - Mirrorsedge - Motherload - Multitask - Mutilateadoll2 - Myangel - Nanotube - Ngame - Nucleus - Nyancatlostinspace - Onemanarmy2 - Pacman - Pandemic - Pandemic2 - Papalouie - Papalouie2 - Papalouie3 - Portal - Portal2d - Qwop - Raftwars - Raftwars2 + 1on1soccer + 3dtanks + Abobosbigadventure + Achievementunlocked + Achievementunlocked2 + Achievementunlocked3 + Actionturnip + Adaran + Adrenaline + Americanracing1 + Americanracing2 + Arkandianrevenant + Armyofages + Awesomecars + Awesomeplanes + Battlepanic + Bloonsplayerpack2 + Bloonsplayerpack3 + Bloonsplayerpack4 + Bloonsplayerpack5 + Bloonstd1 + Bloonstd3 + Bloonstd4 + Bloonstd5 + Bobtherobber + Boombot2 + Boxhead2play + Bubbletanks2 + Bulletbill + Bullettimefighting + Burritobison + Burritobisonrevenge + Cactusmccoy + Cactusmccoy2 + Cannonbasketball2 + Cargobridge + Causality + Chibiknight + Clickerheroes + Computerbashing + Crushthecastle + Crushthecastle2 + Cubefield + Cyclomaniacs2 + Diggy + Donkeykong + Dontshootthepuppy + Doodledefender + Doom + Dragracing + Ducklife + Ducklife2 + Ducklife3 + Ducklife4 + Earntodie + Earntodie2 + Earntodiesuperwheel + Electricman2 + Elephantquest + Epicbattlefantasy3 + Epiccomboredux + Exitpath + Factoryballs + Factoryballs2 + Factoryballs3 + Factoryballs4 + Fancypantsadventure + Fancypantsadventure2 + Fancypantsadventure3 + Flashflightsimulator + Flight + Fracuum + Freerider2 + Getontop + Giveuprobot + Giveuprobot2 + Hanger + Hanger2 + Happywheels + Hobo + Hobo2 + Hobo3 + Hobo4 + Hobo5 + Hobo6 + Hobo7 + Houseofwolves + Interactivebuddy + Jacksmith + Jellytruck + Johnnyupgrade + Jumpix2 + Knightmaretower + Learn2fly + Learn2fly2 + Learn2fly3 + Magnetface + Mariocombat + Marioracingtournament + Meatboy + Megamanprojectx + Metroidelements + Mineblocks + Minesweeper + Mirrorsedge + Moneymovers + Moneymovers3 + Motherload + Motox3m + Multitask + Mutilateadoll2 + Myangel + Nanotube + Newgroundsrumble + Ngame + Nitromemustdie + Nucleus + Nv2 + Nyancatlostinspace + Offroaders + Onemanarmy2 + Outofthisworld + Pacman + Pandemic + Pandemic2 + Papalouie + Papalouie2 + Papalouie3 + Picosschool + Picosschool2 + Pirates + Polarjump + Portal + Portal2d + Quadrobarreldefence + Qubeythecube + Qwop + Raftwars + Raftwars2 Raze - Redshift - Revenant2 + Redball + Redball2 + Redball4 + Redball4v2 + Redball4v3 + Redshift + Revenant2 + Riddleschool1 + Riddleschool2 + Riddleschool3 + Riddleschool4 + Riddleschool5 + Riddletransfer + Riddletransfer2 Run2 - Run3 - Saszombieassault3 - Shoppingcarthero3 - Siftheads - Siftheads2 - Siftheads3 - Siftheads4 - Siftheads5 - Sniperassassin4 - Sportsheadsfootball - Stickrpg - Stickrun2 - Stickwar - Strikeforceheroes2 - Strikeforcekittylaststand - Sugarsugar - Sugarsugar2 - Sugarsugar3 - Superd - Superfighters - Supermario63 - Supermarioflash - Swordsandsandals2 - Tacticalassassin - Tanks - Tanktrouble - Tetris - Thebindingofisaac - Theimpossiblequiz2 - Theworldshardestgame2 - Thingthingarena - Tosstheturtle - Ultimateflashsonic + Run3 + Saszombieassault3 + Sentryknight + Shoppingcarthero3 + Siftheads + Siftheads2 + Siftheads3 + Siftheads4 + Siftheads5 + Sniperassassin4 + Sportsheadsfootball + Sportsheadsracing + Sportsheadstennis + Stickrpg + Stickrun2 + Stickwar + Strikeforceheroes2 + Strikeforcekittylaststand + Sugarsugar + Sugarsugar2 + Sugarsugar3 + Superd + Superfighters + Supermario63 + Supermarioflash + Supermarioflash2 + Supersmashflash + Swordsandsandals2 + Tacticalassassin + Tanks + Tanktrouble + Tetris + Thebindingofisaac + Thegame + Theimpossiblequiz + Theimpossiblequiz2 + Theworldshardestgame2 + Thingthingarena + Thisistheonlylevel + Tosstheturtle + Truckloader4 + Ultimateflashsonic + Ultimatetactics + Unrealflash + Vex + Vex2 + Vex3 + Warp + Xenos + Xtremecliffdiving + Yearofthesnake + Yuriusshouseofspooks + Zombiealienparasites @@ -265,7 +338,7 @@ - +