The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Dump resources to more GNUish formats

In the same run, the old resource file is moved to the cpp-source
directory
master
Gergely Polonkai 7 years ago
parent 8806876046
commit e220835bd7
  1. 0
      cpp-source/einstein.res
  2. 2
      einsteingame/main.py
  3. 3
      einsteingame/messages.py
  4. 6
      einsteingame/resources.py
  5. 117
      po/einstein.pot
  6. BIN
      resources/A1.png
  7. BIN
      resources/A2.png
  8. BIN
      resources/A3.png
  9. BIN
      resources/A4.png
  10. BIN
      resources/A5.png
  11. BIN
      resources/A6.png
  12. BIN
      resources/B1.png
  13. BIN
      resources/B2.png
  14. BIN
      resources/B3.png
  15. BIN
      resources/B4.png
  16. BIN
      resources/B5.png
  17. BIN
      resources/B6.png
  18. BIN
      resources/C1.png
  19. BIN
      resources/C2.png
  20. BIN
      resources/C3.png
  21. BIN
      resources/C4.png
  22. BIN
      resources/C5.png
  23. BIN
      resources/C6.png
  24. BIN
      resources/D1.png
  25. BIN
      resources/D2.png
  26. BIN
      resources/D3.png
  27. BIN
      resources/D4.png
  28. BIN
      resources/D5.png
  29. BIN
      resources/D6.png
  30. BIN
      resources/E1.png
  31. BIN
      resources/E2.png
  32. BIN
      resources/E3.png
  33. BIN
      resources/E4.png
  34. BIN
      resources/E5.png
  35. BIN
      resources/E6.png
  36. BIN
      resources/F1.png
  37. BIN
      resources/F2.png
  38. BIN
      resources/F3.png
  39. BIN
      resources/F4.png
  40. BIN
      resources/F5.png
  41. BIN
      resources/F6.png
  42. BIN
      resources/a1.png
  43. BIN
      resources/a2.png
  44. BIN
      resources/a3.png
  45. BIN
      resources/a4.png
  46. BIN
      resources/a5.png
  47. BIN
      resources/a6.png
  48. BIN
      resources/applause.ogg
  49. BIN
      resources/b1.png
  50. BIN
      resources/b2.png
  51. BIN
      resources/b3.png
  52. BIN
      resources/b4.png
  53. BIN
      resources/b5.png
  54. BIN
      resources/b6.png
  55. BIN
      resources/betwarr.png
  56. BIN
      resources/blue.png
  57. BIN
      resources/btn.png
  58. BIN
      resources/c1.png
  59. BIN
      resources/c2.png
  60. BIN
      resources/c3.png
  61. BIN
      resources/c4.png
  62. BIN
      resources/c5.png
  63. BIN
      resources/c6.png
  64. BIN
      resources/click.ogg
  65. BIN
      resources/closed.png
  66. BIN
      resources/cursor.png
  67. BIN
      resources/d1.png
  68. BIN
      resources/d2.png
  69. BIN
      resources/d3.png
  70. BIN
      resources/d4.png
  71. BIN
      resources/d5.png
  72. BIN
      resources/d6.png
  73. BIN
      resources/darkpattern.png
  74. BIN
      resources/e1.png
  75. BIN
      resources/e2.png
  76. BIN
      resources/e3.png
  77. BIN
      resources/e4.png
  78. BIN
      resources/e5.png
  79. BIN
      resources/e6.png
  80. BIN
      resources/f1.png
  81. BIN
      resources/f2.png
  82. BIN
      resources/f3.png
  83. BIN
      resources/f4.png
  84. BIN
      resources/f5.png
  85. BIN
      resources/f6.png
  86. BIN
      resources/glasbk2.ogg
  87. BIN
      resources/greenpattern.png
  88. BIN
      resources/hint-near.png
  89. BIN
      resources/hint-side.png
  90. BIN
      resources/hint-tile.png
  91. BIN
      resources/horbetweenhint.png
  92. BIN
      resources/hornearhint.png
  93. BIN
      resources/horposhint.png
  94. BIN
      resources/laser.ogg
  95. BIN
      resources/laudcn2.ttf
  96. BIN
      resources/luximb.ttf
  97. BIN
      resources/marble1.png
  98. BIN
      resources/nova.png
  99. BIN
      resources/nova.ttf
  100. BIN
      resources/opensquare.png
  101. Some files were not shown because too many files have changed in this diff Show More

@ -92,5 +92,3 @@ def main(script, *args):
initAudio()
# menu()
# getStorage().flush()
resources.dump()

@ -60,9 +60,6 @@ class Messages(object):
"message": Formatter(data, msgOffset),
}
print("{}: {}".format(name, self.__messages[name]['message'].getMessage()))
offset += sz + 4
msg = Messages()

@ -216,10 +216,4 @@ class ResourcesCollection:
for resource in self.__groups[group]:
func(resource)
def dump(self):
for name, resource in self.__resources.items():
for variant in resource.variants:
with open('resources/' + name, 'wb') as f:
f.write(variant.getData())
resources = None

@ -0,0 +1,117 @@
msgid "rulesText"
msgstr ""\n\nThe game goal is to open all cards in square of 6x6 cards. When\nevery card is open, field looks like this:\n\n$opensquare.bmp$\n\nEvery row of square contains cards of one type only. For example,\nfirst row contains arabic digits, second - letters, third - rome digits,\nfouths - dices, fifth - geometric figures, sixs - mathematic symbols.\n\nUse logic and open cards with method of exclusion. If card doesn't\nopened, cell contains every possible cards. For example, \n\n$closed.bmp$\n\nmeans that this cell may contain every rome digit with exception of \nIII (because card with III image is absent). To open card click on\nsmall image with left mouse button. To exclude card click with right\nmouse button.\n\nUse tips to solve this puzzle. There is two types of tips:\nhorizontal and vertical. Vertical tips located at screen bottom.\nFor example, vertical tip\n\n$verthint.bmp$\n\nmeans that letter 'B' and '+' sign located in the same column.\n\nHorizontal tips located at the right side of the puzzle square.\nThere is few type of horizontal tips. First type of horizontal\ntip says that two cards located at neighbour columns, but it is\nunknown, which one is at the right side and thich is at the left:\n\n$hornearhint.bmp$\n\nSecond tip type means that one cards is at the left of another.\nIt says nothing about distance between that cards. They may be\nneighbour columns or at the opposite sides of puzzle field:\n\n$horposhint.bmp$\n\nThe last type of tip means that one card is located between\ntwo another cards:\n\n$horbetweenhint.bmp$\n\nAll three cards must be located in neighbour columns, central\ncard is always between other two, but it is unknown, which card is located\nat the right side and which at the left.\n\nIf you no longer need some tip, remove it by right mouse button click.\nYou can always see removed tips by pressing 'Switch' button.\n\n\n""
msgid "about"
msgstr "'About'"
msgid "anonymous"
msgstr "'Anonymous'"
msgid "cancel"
msgstr "'Cancel'"
msgid "close"
msgstr "'Close'"
msgid "copyright"
msgstr "'Copyright (c) 2003-2005 Flowix Games'"
msgid "einsteinFlowix"
msgstr "'Einstein puzzle by Flowix Games'"
msgid "einsteinPuzzle"
msgstr "'Einstein Puzzle'"
msgid "empty"
msgstr "'-- Empty Slot --'"
msgid "enableSound"
msgstr "'Enable sound'"
msgid "enterGame"
msgstr "'Enter game name:'"
msgid "enterName"
msgstr "'Enter your name:'"
msgid "exit"
msgstr "'Exit'"
msgid "expired"
msgstr "'This beta is expired. Please download update from http://games.flowix.com'"
msgid "fullscreen"
msgstr "'Run in fullscreen mode'"
msgid "help"
msgstr "'Help'"
msgid "iddqd"
msgstr "'IT IS NOT DOOM, LUKE!'"
msgid "loadGame"
msgstr "'Load Game'"
msgid "loading"
msgstr "'Loading.... Please wait....'"
msgid "loose"
msgstr "'YOU HAVE LOST'"
msgid "newGame"
msgstr "'Start New Game'"
msgid "next"
msgstr "'Next'"
msgid "niceCursor"
msgstr "'Nice cursor'"
msgid "ok"
msgstr "'OK'"
msgid "options"
msgstr "'Options'"
msgid "pause"
msgstr "'Pause'"
msgid "paused"
msgstr "'GAME PAUSED'"
msgid "prev"
msgstr "'Prev'"
msgid "rules"
msgstr "'Game Rules'"
msgid "save"
msgstr "'Save'"
msgid "saveError"
msgstr "'Error saving game'"
msgid "saveGame"
msgstr "'Save Game'"
msgid "startNew"
msgstr "'New game'"
msgid "switch"
msgstr "'Switch'"
msgid "topScores"
msgstr "'Hall Of Fame'"
msgid "tryAgain"
msgstr "'Try again'"
msgid "version"
msgstr "'version 2.0'"
msgid "volume"
msgstr "'Volume:'"
msgid "won"
msgstr "'CONGRATULATIONS, YOU HAVE WON!'"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save