geek
The Hotness
Games|People|Company
File Info Subscribe  sub options
Board Game:
Title:
Language:
Uploaded By:
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Tags:
Your Tags: Add tags
Popular Tags: Java [+] !next:play-computer-version [+] Uwe [+] computer [+] useful_file [+] todo [+] [View All]
Recommendations:
Recommend
218
Solve Captcha to get download links
Files
Sep 30, 2009
JLeHavre1.0_Patches05.zip (8 KB) (Solve captcha above to download.)
This is the official computer game of Le Havre!

This file does not work on its own! It is an additonal patch that comes with 5 corrected files. Replace the existing files in your game directory with these new ones from the archive.

This update will speed your game up to speed of light! Previously, you might have noticed that the game starts to drag after several rounds. This was caused by the Chat Window. Throughout a long game, it may hold about 200 messages that are written over and over again into the window whenever a new message is posted. This bad behaviour is caused by Java and I have no influence on it. So, now I've capped the output to 50 lines. Any older messages will be deleted. However, you'll still find the full game log in the log file directory as a file.

If you've already changed "gui.txt", you need not to replace it with the new version. I've only added one new line to that file:

chatMessageLimit 50

You can add this line anywhere in the file manually. If you don't, your game will crash after login. This is an essential line for the update. Of course, you may change the number to whatever you like. 50 is a good value, though, as it displays about two entire rounds in the Chat Window.

Please note, this patch does not replace the previous one. It is meant to be used on top of the old patch. If you're new to the game, download and install the files on this page from bottom to top.

VERSION 1.05 as of September 30st, 2009

If you like the computer game, please consider a donation via PayPal.
More details can be found in the game, or just ask me via geekmail.
Downloads:725
May 31, 2009
JLeHavre1.0_Patches04.zip (92 KB) (Solve captcha above to download.)
This is the official computer game of Le Havre!

This is a compiled set of patches for the basic executable Le Havre files. This zip archive does not work on its own. You need to replace all of the original files with their replacement files in this archive. Any files that are not included with this archive were not subject to change and must stay untouched.

There have been bugfix archives published earlier to this file that have already contained some of the files included with this archive. To be 100% sure that you have the latest files, copy all of these files here into their proper folders.

Here are the changes/bugfixed that have been made:

- The Arts Centre had a bad algorithm to calculate the amount of money you'd get. Rather than to count the amount of opponents in your buildings it has counted the amount of owners in your buildings (absolute nonsense). This ill behaviour has been fixed now.

- The Dive Bar didn't remove your pawn after you've left it. Also, if you had entered the Dive Bar any player that has already been there would have been kicked out. From now on, if you leave the Dive Bar your pawn will also leave it. Also, the Dive Bar is now capable to hold multiple players.

- The Football Stadium wasn't placed on an emptied building stack if the stack was emptied due to a building action. This has been fixed and the Football Stadium behaves like expected.

- The Haulage Firm had a bad algorithm to check if you are able to enter it. Instead of searching for pairs of filled offer fields, any two filled offer fields enabled you to enter this building. After you've entered, the correct algorithm tried to find neighbouring fields and if there weren't any the game would crash. This has been fixed now.

- The Building Menu is now capable to show all of the players that are in a building instead of just the last one who has entered. Usually, there is only one player in any one building. This is not the case with the Dive Bar or in the Final Action Phase where multiple players may occupy any one building.

- The Savegame feature was corrupt. You could only load savegames of the first round of actions. The problem was that the game didn't re-create the Ships on the Ship Stacks and has crashed immediately during setup. This has been fixed now and all previously created savegame files ARE compatible with the new version.

- The tooltips for buildings in the Settings Window weren't sized properly. The longer the text has been the longer the tooltip window was created. Now, the tooltip windows are limited to 250 pixels in width. This number cannot be changed.

- The Concurrency Bug is fixed now. If you happened to click simultaneously on the OK button of the Food Payment Window at the end of a round, two Ships would enter the game and two buildings would be built by the time (if there were any to be built). Hopefully, this won't ever happen again.

VERSION 1.04 as of May 31st, 2009.
Downloads:3781
May 19, 2009
JLeHavre1.0_Images3.zip (5.28 MB) (Solve captcha above to download.)
This is the official computer game of Le Havre!
You need to download all of the files to run the game.
This file contains part 3/3 of the images.
Downloads:5784
May 19, 2009
JLeHavre1.0_Images2.zip (5.18 MB) (Solve captcha above to download.)
This is the official computer game of Le Havre!
You need to download all of the files to run the game.
This file contains part 2/3 of the images.
Downloads:6072
May 19, 2009
JLeHavre1.0_Images1.zip (6.61 MB) (Solve captcha above to download.)
This is the official computer game of Le Havre!
You need to download all of the files to run the game.
This file contains part 1/3 of the images.
Downloads:6228
May 17, 2009
JLeHavre1.0_Executables.zip (4.43 MB) (Solve captcha above to download.)
This file contains everything you need but the image files. These are available in seperate zip files.

The game won't run without all of the images!

So, please download all of the files found here:

JLeHavre1.0_Executables.zip
JLeHavre1.0_Images1.zip
JLeHavre1.0_Images2.zip
JLeHavre1.0_Images3.zip


See the comment below to check if you got all of the files needed.
For more information and the discussion, see http://boardgamegeek.com/thread/387204


===GENERAL INFORMATION===

This is the official computer version of Le Havre. It was designed in Java by Grzegorz Kobiela with the approval of designer Uwe Rosenberg and publisher
Lookout Games. It uses the original graphics with permission from Lookout Games, the rights holder, and Klemens Franz, the artist.

ALL RIGHTS RESERVED.

Do NOT distribute this game and do NOT use any parts of it without permission. Let your friends download this file from here.

You may play this game free of charge and how often and how long you want. There are no restrictions to that. However, if you like this version, consider the purchase of the original underlying boardgame.

===INSTALLATION===

Download all the zip files and unzip them to any folder. Start the game by double-clicking the "LeHavre.jar" jar file. If this does not work on your operating system (it definitely does on Windows XP and higher), use Google to find out how to run jar files on your system. I do not offer support for any other system but Windows.

===RELEASE INFO===

The game comes with two language files: German and English. The default language is English, but you can change it easily after starting the game.

All the images are German, but in game you can get translations of them in the context menu of many game objects. If you like, you may easily replace
those image files by your own to have them in your language. Just make sure they have the same sizes as the given ones.

There are several config files that you may edit to change the view of the game. I wouldn't recommend to do so. If you do, do it on your own risk!

If you like to add another language, consult one of the language files to get some help with it.

===VERSION INFO===

This is final version 1.0. I won't continue the work on this version except you'll find the game doesn't work entirely. It was playtested by many
people and should run smoothly most of the time. However, I'm aware of an occasional memory leak bug that extremely slows down the game. I couldn't
find the reason and won't search for it.

The reason why I won't enhance this version is I've started the work on version 2.0 which I'll develop from scratch again. Take this version as a kind of appetizer for a future much enhanced version.

And now have fun and:

===ENJOY!===
Downloads:6106
Comments [Post Comment]
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Link to the discussion thread: http://boardgamegeek.com/thread/387204

Download all the zip files from here:

JLeHavre1.0_Executables.zip
JLeHavre1.0_Images1.zip
JLeHavre1.0_Images2.zip
JLeHavre1.0_Images3.zip

Unzip all four zip files into the same folder.
You'll find a detailled files list below.

Here are some tips from other users.
If you like these, please tip and thumb the original posts below this comment.

Tatsu wrote:
Just a quick note - I created a bat file to launch the application (create a text file in notepad and name it lehavre.bat).

I used:

javaw -Xmx256M -jar LeHavre.jar

After it starts, you can close the little dos like window. This gives the application a little more memory - I noticed it started to slow down a lot after playing a little while, so I upped the memory and it ran much better.


Norbert666 wrote:
For info, anyone with connection issues, one pc dropping out or lagging behind, try the following (from Hamachi Support):

After installing Hamachi you may encounter connectivity issues due to connection Metrics. Windows uses Metrics to determine the order it will attempt to acquire internet access. What is happening here is the Hamachi adapter is being auto assigned a lower Metric than the adapter that provides your internet connection.

To manually assign a Metric:
Windows XP

1. Open the Control Panel
2. Go into Network Connections
3. Right Click on the Hamachi adapter, and click Properties
4. Highlight Internet Protocol (TCP/IP), and click the Properties button
In a 64bit OS, it will be listed as Internet Protocol Version 4 (TCP/IPv4)
5. Now choose the Advanced button
6. At the bottom of this page, uncheck the box labeled Automatic Metric, and enter 9000 as the Interface Metric

Windows Vista

1. Open the Control Panel
2. Go into Network and Sharing Center
3. In the left pane, click Manage network connections
4. Right Click on the Hamachi adapter, and click Properties
5. Highlight Internet Protocol (TCP/IP), and click the Properties button
In a 64bit OS, it will be listed as Internet Protocol Version 4 (TCP/IPv4)
6. Now choose the Advanced button
7. At the bottom of this page, uncheck the box labeled Automatic Metric, and enter 9000 as the Interface Metric

Performing the above steps will assign Hamachi a very high metric, normally making it the very last thing Windows will turn to to attempt an internet connection. If that does not resolve it, perform the same steps on the adapter you want your internet connection to be on, but assign it a 100 metric.


This worked for me running two WinXP machines and a Vista machine, both hardwired and on a wireless network.



Detailled Files List

You should have these files in order to run a game of Le Havre:

./config
./gui.txt
./lang.txt
./login.txt
./fonts
./BERNHC.TTF
./Oz-Handicraft-Win95BT.ttf
./images
./bits
./shipBlue.png
./shipGreen.png
./shipPurple.png
./shipRed.png
./shipWhite.png
./workerBlue.png
./workerGreen.png
./workerPurple.png
./workerRed.png
./workerWhite.png
./cards
./buildings
./_00.png
./_00s.png
./_01.png
./_01s.png
./_02.png
./_02s.png
./_03.png
./_03s.png
./_04.png
./_04s.png
./_05.png
./_05s.png
./_06.png
./_06s.png
./_07.png
./_07s.png
./_08.png
./_08s.png
./_09.png
./_09s.png
./_10.png
./_10s.png
./_11.png
./_11s.png
./_12.png
./_12s.png
./_13.png
./_13s.png
./_14.png
./_14s.png
./_15.png
./_15s.png
./_16.png
./_16s.png
./_17.png
./_17s.png
./_18.png
./_18s.png
./_19.png
./_19s.png
./_20.png
./_20s.png
./_21.png
./_21s.png
./_22.png
./_22s.png
./_23.png
./_23s.png
./_24.png
./_24s.png
./_25.png
./_25s.png
./_26.png
./_26s.png
./_27.png
./_27s.png
./_28.png
./_28s.png
./_29.png
./_29s.png
./_30.png
./_30s.png
./_31.png
./_31s.png
./001.png
./001s.png
./002.png
./002s.png
./003.png
./003s.png
./004.png
./004s.png
./005.png
./005s.png
./006.png
./006s.png
./007.png
./007s.png
./008.png
./008s.png
./009.png
./009s.png
./010.png
./010s.png
./011.png
./011s.png
./012.png
./012s.png
./013.png
./013s.png
./014.png
./014s.png
./015.png
./015s.png
./016.png
./016s.png
./017.png
./017s.png
./018.png
./018s.png
./019.png
./019s.png
./020.png
./020s.png
./021.png
./021s.png
./022.png
./022s.png
./023.png
./023s.png
./024.png
./024s.png
./025.png
./025s.png
./026.png
./026s.png
./027.png
./027s.png
./028.png
./028s.png
./029.png
./029s.png
./030.png
./030s.png
./031.png
./031s.png
./032.png
./032s.png
./033.png
./033s.png
./034.png
./034s.png
./035.png
./035s.png
./036.png
./036s.png
./037.png
./037s.png
./038.png
./038s.png
./039.png
./039s.png
./040.png
./040s.png
./041.png
./041s.png
./042.png
./042s.png
./043.png
./043s.png
./044.png
./044s.png
./045.png
./045s.png
./046.png
./046s.png
./B1.png
./B1s.png
./B2.png
./B2s.png
./B3.png
./B3s.png
./butteries
./butteryBlue.png
./butteryGreen.png
./butteryPurple.png
./butteryRed.png
./butteryWhite.png
./overview
./long1.png
./long1s.png
./long2.png
./long2s.png
./long3.png
./long3s.png
./long4.png
./long4s.png
./long5.png
./long5s.png
./short1.png
./short1s.png
./short2.png
./short2s.png
./short3.png
./short3s.png
./short4.png
./short4s.png
./short5.png
./short5s.png
./rounds
./R01.png
./R01s.png
./R02.png
./R02s.png
./R03.png
./R03s.png
./R04.png
./R04s.png
./R05.png
./R05s.png
./R06.png
./R06s.png
./R07.png
./R07s.png
./R08.png
./R08s.png
./R09.png
./R09s.png
./R10.png
./R10s.png
./R11.png
./R11s.png
./R12.png
./R12s.png
./R13.png
./R13s.png
./R14.png
./R14s.png
./R15.png
./R15s.png
./R16.png
./R16s.png
./R17.png
./R17s.png
./R18.png
./R18s.png
./R19.png
./R19s.png
./R20.png
./R20s.png
./ships
./S01.png
./S01s.png
./S02.png
./S02s.png
./S03.png
./S03s.png
./S04.png
./S04s.png
./S05.png
./S05s.png
./S06.png
./S06s.png
./S07.png
./S07s.png
./S08.png
./S08s.png
./S09.png
./S09s.png
./S10.png
./S10s.png
./S11.png
./S11s.png
./S12.png
./S12s.png
./S13.png
./S13s.png
./S14.png
./S14s.png
./S15.png
./S15s.png
./S16.png
./S16s.png
./S17.png
./S17s.png
./S18.png
./S18s.png
./S19.png
./S19s.png
./S20.png
./S20s.png
./loan.png
./chits
./goods
./goodBread.png
./goodBreads.png
./goodBrick.png
./goodBricks.png
./goodCattle.png
./goodCattles.png
./goodCharcoal.png
./goodCharcoals.png
./goodClay.png
./goodClays.png
./goodCoal.png
./goodCoals.png
./goodCoke.png
./goodCokes.png
./goodFish.png
./goodFishs.png
./goodFranc.png
./goodFrancs.png
./goodGrain.png
./goodGrains.png
./goodHides.png
./goodHidess.png
./goodIron.png
./goodIrons.png
./goodLeather.png
./goodLeathers.png
./goodMeat.png
./goodMeats.png
./goodSmokedFish.png
./goodSmokedFishs.png
./goodSteel.png
./goodSteels.png
./goodWood.png
./goodWoods.png
./supply
./supply0.png
./supply0s.png
./supply1.png
./supply1s.png
./supply2.png
./supply2s.png
./supply3.png
./supply3s.png
./supply4.png
./supply4s.png
./supply5.png
./supply5s.png
./supply6.png
./supply6s.png
./supply7.png
./supply7s.png
./food.png
./board.png
./build.png
./buildwarn.png
./craft.png
./economic.png
./fishing.png
./foodwarn.png
./hammer.png
./industrial.png
./logo1.png
./logo2.png
./public.png
./ship.png
./special.png
./jars
./commons-logging.jar
./jgroups-all.jar
./log4j.jar
./lang
./de.txt
./en.txt
./logs
./info.txt
./main
./Dictionary.class
./LeHavre.class
./LeHavre$1.class
./Logger.class
./Order.class
./Settings.class
./model
./buildings
./special
./BaguetteShop.class
./Bakery.class
./BrickManufacturer.class
./BusinessPark.class
./CattleDrive.class
./ClothingIndustry.class
./CoalTrader.class
./ConstructionSite.class
./ConstructionSite$1$1.class
./ConstructionSite$1.class
./ConstructionSite$2.class
./ConstructionSite$3.class
./Diner.class
./DiveBar.class
./Dunny.class
./Farm.class
./Feedlot.class
./FishMarket.class
./FishpondAndWood.class
./FishRestaurant.class
./FootballStadium.class
./ForestHut.class
./FurnitureFactory.class
./Furriery.class
./GuildHouse.class
./HarbourWatch.class
./HaulageFirm.class
./HuntingLodge.class
./IronMineAndCoalSeam.class
./Junkyard.class
./Kiln.class
./LabourExchange.class
./LeatherIndustry.class
./LoggingCamp.class
./LuxuryYacht.class
./MasonsGuild.class
./MSDagmar.class
./Patisserie.class
./Pawnbrokers.class
./Pawnbrokers$1.class
./PicketLine.class
./PiratesLair.class
./PlantNursery.class
./SchnapsDistillery.class
./Smelter.class
./Steakhouse.class
./Steelworks.class
./Tavern.class
./TobaccoFactory.class
./TownSquare.class
./WindFarm.class
./WorkersCottages.class
./Zoo.class
./standard
./Abattoir.class
./ArtsCentre.class
./Bakehouse.class
./Bank.class
./BlackMarket.class
./Brickworks.class
./BridgeOverTheSeine.class
./BusinessOffice.class
./CharcoalKiln.class
./Church.class
./ClayMound.class
./Cokery.class
./Colliery.class
./Dock.class
./Fishery.class
./GroceryMarket.class
./HardwareStore.class
./Ironworks.class
./Joinery.class
./LocalCourt.class
./Marketplace.class
./Marketplace$1$1.class
./Marketplace$1.class
./Marketplace$2.class
./Marketplace$3.class
./Sawmill.class
./ShippingLine.class
./Smokehouse.class
./SteelMill.class
./Storehouse.class
./Tannery.class
./TownHall.class
./Wharf1.class
./Wharf2.class
./start
./BuildingFirm1.class
./BuildingFirm2.class
./ConstructionFirm.class
./Building.class
./Building$1.class
./Building$2.class
./Buildings.class
./Buildings$Type.class
./BuildingsBuilder.class
./ShipsBuilder.class
./Buildable.class
./GameState.class
./GameState$1.class
./Good.class
./Player.class
./PlayerColor.class
./Round.class
./Setup.class
./Setup$1.class
./Ship.class
./Ship$Type.class
./Supply.class
./Town.class
./util
./GoodsList.class
./GoodsPair.class
./Pair.class
./SavFileFilter.class
./SetFileFilter.class
./Util.class
./Util$1.class
./view
./labels
./BuildingLabel.class
./BuildingLabel$1.class
./BuildingLabel$2.class
./BuildingLabel$3.class
./BuildingLabel$4.class
./BuildingLabel$5.class
./CounterLabel.class
./GoodLabel.class
./LoanLabel.class
./OfferLabel.class
./OfferLabel$1.class
./RoundLabel.class
./ShipLabel.class
./ShipLabel$1.class
./ShipLabel$2.class
./SupplyLabel.class
./menus
./BuildingMenu.class
./BuildingMenu$1.class
./BuildingMenu$2.class
./BuildingMenu$3.class
./BuildingMenu$4.class
./BuildingMenu$5.class
./BuildingMenu$6.class
./BuildingMenu$7.class
./GoodMenu.class
./GoodMenu$1.class
./LoanMenu.class
./LoanMenu$1.class
./LoanMenu$2.class
./OfferMenu.class
./OfferMenu$1.class
./OfferMenu$2.class
./RoundMenu.class
./RoundMenu$1.class
./ShipMenu.class
./ShipMenu$1.class
./ShipMenu$2.class
./ShipMenu$3.class
./ShipMenu$4.class
./SupplyMenu.class
./SupplyMenu$1.class
./BonusWindow.class
./BonusWindow$1.class
./BonusWindow$2.class
./BonusWindow$3.class
./ChatWindow.class
./ChatWindow$1.class
./ChatWindow$2.class
./ControlledWindow.class
./DialogWindow.class
./DialogWindow$1.class
./FoodWindow.class
./FoodWindow$1.class
./FoodWindow$2.class
./FoodWindow$3.class
./GameWindow.class
./GameWindow$1.class
./GoodsDialog.class
./GoodsDialog$1$1.class
./GoodsDialog$1$2.class
./GoodsDialog$1.class
./GoodsDialog$2$1.class
./GoodsDialog$2.class
./GoodsDialog$3.class
./GoodsDialog$4.class
./GoodsDialog$5$1.class
./GoodsDialog$5.class
./GoodsDialog$6.class
./GUIHelper.class
./ImageLabel.class
./ImageLabel$1.class
./InstructionsWindow.class
./LobbyWindow.class
./LobbyWindow$1.class
./LobbyWindow$2$1.class
./LobbyWindow$2.class
./LobbyWindow$3.class
./LobbyWindow$4.class
./LobbyWindow$5.class
./LobbyWindow$6.class
./LobbyWindow$7.class
./LobbyWindow$8.class
./LobbyWindow$9.class
./LobbyWindow$10.class
./LoginWindow.class
./LoginWindow$1.class
./LoginWindow$2.class
./LoginWindow$3.class
./LoginWindow$4.class
./LoginWindow$5.class
./MainWindow.class
./MainWindow$1$1.class
./MainWindow$1$2.class
./MainWindow$1$3.class
./MainWindow$1.class
./MainWindow$2.class
./MainWindow$3.class
./MainWindow$4.class
./MainWindow$5.class
./MainWindow$6.class
./MainWindow$7$1.class
./MainWindow$7.class
./MainWindow$8.class
./MainWindow$9.class
./MainWindow$10.class
./MainWindow$11.class
./MainWindow$12.class
./MainWindow$13.class
./MainWindow$14.class
./MainWindow$15.class
./MainWindow$16.class
./MainWindow$17.class
./MainWindow$18.class
./MainWindow$19.class
./MainWindow$20.class
./MoneyWindow.class
./MoneyWindow$1.class
./PlainWindow.class
./PlainWindow$1.class
./ScoringWindow.class
./ScoringWindow$1.class
./ScoringWindow$2.class
./ScoringWindow$3.class
./ScoringWindow$4.class
./SettingsWindow.class
./SettingsWindow$1.class
./SettingsWindow$2.class
./SettingsWindow$3.class
./SettingsWindow$4.class
./SettingsWindow$5.class
./SettingsWindow$6.class
./SettingsWindow$7.class
./SettingsWindow$8.class
./SettingsWindow$9.class
./SettingsWindow$10.class
./SettingsWindow$11.class
./SettingsWindow$12.class
./SettingsWindow$13.class
./SettingsWindow$14.class
./SettingsWindow$15.class
./SettingsWindow$16.class
./SettingsWindow$17.class
./SpringUtilities.class
./LeHavre.jar
./README.txt
11
Edited Mon Aug 17, 2009 10:03 am
Charles Hasegawa
United States
Mesa
Arizona
flag msg tools
Avatar
0506070809
mbmbmbmbmb
Just a quick note - I created a bat file to launch the application (create a text file in notepad and name it lehavre.bat).

I used:

javaw -Xmx256M -jar LeHavre.jar

After it starts, you can close the little dos like window. This gives the application a little more memory - I noticed it started to slow down a lot after playing a little while, so I upped the memory and it ran much better.

Michael Potter
United States
Edwardsville
Illinois
flag msg tools
patron09
mbmbmbmbmb
Great software! Thanks for the excellent effort.

My vote for Ver2 - add PBEM capability.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
There is a possibility to play by email:

Create a new game for every player that you plan to play with on your computer, given them their proper names and colors and start the game. Save it exactly in that moment and send the savegame file to the first player. This player opens the file and loads the game, does their move and clicks on the PROCEED button and saves again. This savegame goes to the next player and so on.
Eric Elder
United States
Inglewood
California
flag msg tools
I'm dying to play. So addicted to this game now and want to get practice. I am getting a "Could not find the main class" error.


Could you assisst, please?
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
HAWK727 wrote:
I'm dying to play. So addicted to this game now and want to get practice. I am getting a "Could not find the main class" error.


Could you assisst, please?


Most probably you didn't get all of the files in the correct folders.
Please, first check if your files structure is exactly as listed above.

Here's a work-around to start a game without the jar file: Open a terminal window and navigate to the game folder. Use the following command to start the game:

java -cp ".;./jars/commons-logging.jar;./jars/jgroups-all.jar;./jars/log4j.jar" main.LeHavre

Replace any semi-colons ( ; ) with regular colons ( : ) on any operating system other than Windows. Please google to find out how to use terminal windows. Here are some tips: On Windows, press WINDOWS and R simultaneously to open a command window. Enter CMD and press ENTER. A black terminal window should pop up. To navigate to your game folder (let's assume it's saved at "C:\JLeHavre1.0") type the following:

cd "c:\JLeHavre1.0"

After that use the command above. Note, however, that regardless of the method to start the game, the file structure needs to be exactly how described above.
Edited Wed May 27, 2009 12:47 am
Marshall Miller
United States
Medford
Massachusetts
flag msg tools
Avatar
patron07
mbmbmbmbmb
Super fantastic. I purchased the game, but my wife wasn't too keen on it. Now I can play by myself! Thanks for the great job.
Matt Musselman
Canada
Burnaby
BC
flag msg tools
Avatar
patron0809
mbmbmbmbmb
Thanks for the great work Grzegorz!
Nick Branstator
United States
Unspecified
Unspecified
flag msg tools
Very exciting! I am having trouble getting the code to run, unfortunately. Quick note/caveat: I'm using a Mac.

I downloaded the various zip files, copied everything to match the desired file structure, and fired up the .jar file, but it would not execute. So I tried the command line option you offered. Again, no joy; the error was:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)


The error is the same whether I try to run the original or the patched version.

Any thoughts? Thanks for your help in advance.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
The error message occurs when you're trying to run an old version of Java. This is the case with most Macs. You've most probably have Java version 1.5, but you need 1.6 in order to run the game. There are some workarounds for Macs, but there are other geeks who know better.

Maybe ask user dreadpirate ( http://boardgamegeek.com/user/dreadpirate). He got the game to work on a Mac.
Mark Bestley
United Kingdom

flag msg tools
I got the program running on MacOSX

You need the java 1.6 version from Apple - which I think is only for Intel machines and for Leopard ie version 10.5

I ran this in the terminal

First cd to the directory the LeHavre.jar file is in

Then I used the command line
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -cp ".:./jars/commons-logging.jar:./jars/jgroups-all.jar:./jars/log4j.jar" main.LeHavre

If you had chosen java 1.6 to be your default then you do not need the full path to java


Mark
Tony Cotterill
United Kingdom

Greater London
flag msg tools
mb
Hmm.
This sounds very cool. I wish it would run.
All I get is a split second flash of the black command box and then - nothing.
I guess it's something to do with me not understanding the first thing about Java.
Ho-hum
Martin W.
Germany

flag msg tools
We have some trouble with the game.

1. Some players have no visual game window. (Other players confirm that they are in the game.)
2. One player joined twice and couldn't be kicked.
3. After a while we got an error "maximum 5 players something" while testing it with 4 players.

Any idea what went wrong? Most log files are empty.

I've got 9 log files 6 empty,
twice:
Quote:
[2009/06/23, 19:54.37] Event logging started.
[2009/06/23, 19:55.07] Login data saved: [Game=Le Havre] [Name=marwar]
[2009/06/23, 19:55.17] Event loggin stopped.

and once
Quote:
[2009/06/23, 19:41.31] Event logging started.
[2009/06/23, 19:41.41] Event loggin stopped.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Log files are closed when you close the game - they stay empty as long as the game is running. So, don't wonder why they were all empty.

Could you please describe how you were attending to play the game? Online via Hamachi or locally via LAN? Do all players have the latest version (including the patches)? Did you try to log in all at once (maybe a concurrency problem I haven't thought of)? Do you play via WLAN or if playing online do some of the players connect with Hamachi via WLAN (this has caused problems in the past - due to Hamachi!)?

I've never had a similar problem, yet, so I currently can't think of the reason for this failure.
Martin W.
Germany

flag msg tools
Quote:
Could you please describe how you were attending to play the game? Online via Hamachi or locally via LAN?
Hamachi with mixed OS (some Linux and some Windows clients).
Quote:

Do all players have the latest version (including the patches)?
Some players tested it last week. So if there were no changes during the last week, it should be the same version.
Quote:
Did you try to log in all at once (maybe a concurrency problem I haven't thought of)?
I don't think so. There was no join 3... 2... 1... now command. How long does the log in take?
Quote:
Do you play via WLAN or if playing online do some of the players connect with Hamachi via WLAN (this has caused problems in the past - due to Hamachi!)?
I don't use any WLAN equipment, but I have to ask the others. Still Hamachi seemed to be running fine and smooth.
Quote:

I've never had a similar problem, yet, so I currently can't think of the reason for this failure.
Thanks for the quick reply! I was one of those who never saw the game window, so I can't tell you if I'd like your work or not. Still those who tested it last week seemed pleased.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Let all players start the game from a terminal window:

java -jar JLeHavre.jar

(You need to change to the installation directory first.)

Maybe there are some exceptions during log in.
The log in usually takes some seconds, but I never had any problems with it.
Jeff Au
Malaysia
Kuala Lumpur
flag msg tools
Avatar
patron06070809
mbmbmbmbmb
I can't seem to download Image File #1. Seems to just hang after downloading 2MB. Is there a direct link or another site where I can pull the file down?

Thnks
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Write me an email and I'll give you another way to access the files.
Ricardo Luiz Angelotti
Brazil
Criciuma
SC
flag msg tools
Hey, I just dowloaded the game and I can't wait to play. Today I'll lunch at the office to enjoy the game while I eatDD
Lindsay Scholle
Australia
St Ives
NSW
flag msg tools
Avatar
patron04050607
mbmbmb
bestlem wrote:
I got the program running on MacOSX

You need the java 1.6 version from Apple - which I think is only for Intel machines and for Leopard ie version 10.5

I ran this in the terminal

First cd to the directory the LeHavre.jar file is in

Then I used the command line
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -cp ".:./jars/commons-logging.jar:./jars/jgroups-all.jar:./jars/log4j.jar" main.LeHavre

If you had chosen java 1.6 to be your default then you do not need the full path to java


Mark


Tried starting from the jar file and from the terminal and can't get it going.:(

Got the latest version of Java (This release updates Java SE 6 to version 1.6.0_13, J2SE 5.0 to version 1.5.0_19, and J2SE 1.4.2 to 1.4.2_21.), and have set it as first preference in the Java Preferences program (for applications).

This is the only Java application I'm having trouble with (am a Kingsburg and BSW user - among other Java applications). So I think I must be missing something in the instructions. I take it that other Mac users have had success with the instructions above? Looking for some further tips.
Edited Mon Jul 6, 2009 9:17 pm
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
From your post I didn't get which java version you exactly have. You definitely need 1.6 to run the game. Get your terminal window running and type

java -version

If it tells you anything below 1.6, that's bad. As far as I know you need to do some manual updates to get 1.6 as Apple doesn't support 1.6 right away. That's at least what I've understood from other users telling me.
Lindsay Scholle
Australia
St Ives
NSW
flag msg tools
Avatar
patron04050607
mbmbmb
The latest Java version on OS 10.5.7 is 1.6.0_13. That's the one I'm running.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
This is so weird. Any error messages in the terminal? Does at least any one of the Windows show up? Did you try to enter an IP adress?
Erin Sparks
United States
Livonia
Michigan
flag msg tools
Avatar
mbmbmbmb
Is this online-only or are there any AI players?
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Hot Seat, Online, LAN, PBEM - whatever you like. But no AI.
brian laing
United States
san carlos
California
flag msg tools
patron0608
I got it running on the mac using the line supplied above for the mac. I do get an issue where hovering over a card does not give me the correct image.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
arpst0rm wrote:
I got it running on the mac using the line supplied above for the mac. I do get an issue where hovering over a card does not give me the correct image.


This has been reported already, I think. It's a Mac-only issue.
Thom Needs People to Buy His Games
United States
Boston
Massachusetts
flag msg tools
patron0809
mbmbmbmbmb
Ponton wrote:
Hot Seat, Online, LAN, PBEM - whatever you like. But no AI.


How do you get Hot Seat to work? The only way I could accomplish this is to open several instances of JLeHavre.jar and use one as a "server". If there is a less convoluted way of doing this, please let me know.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Solarinus wrote:
Ponton wrote:
Hot Seat, Online, LAN, PBEM - whatever you like. But no AI.


How do you get Hot Seat to work? The only way I could accomplish this is to open several instances of JLeHavre.jar and use one as a "server". If there is a less convoluted way of doing this, please let me know.


You're right, this is the only way. Le Havre was meant to be played via network from the beginning. My next version will allow single instance hot seat. But I haven't even started programming, yet.
Eric Miller
Australia
Upwey
Melbourne
flag msg tools
mbmbmbmbmb
Brilliant program. I have just recently purchased the Board game. I can now leave it set up on the table for 2 player with my wife and get my solo hit on the computer. Look forward to version 2.
D R
Australia

flag msg tools
Agree, a wonderful program.

Just a quick question with all Java apps - can you increase the size of the text? I play on a projector and the text is so small i have to squint.

Thanks again.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
You can't increase the font - it is hardcoded. I'm sorry.
James & Sharon Derbyshire
United Kingdom
Upminster
Essex
flag msg tools
Thanks for the very cool program.

My wife and I (in UK) are trying to play with my brother-in-law in US. My wife and I are obviously both on the same network at home and I can't seem to get this working with our two pcs.

I've tried wired and wireless.

The software works fine, until we try to use Hamachi. All latest Java and patches.

We can't play 2p (my wife and I on the same network, despite different ip addresses). We can play 2p with one of us in UK and the USA player. SO it's clearly an issue with us both being on the same network, and I'm assuming it's Hamachi and not the JLeHavre software.

Has anyone come up with or know of an workaround? (I'm not hugely savvy with software and networking stuff)

Thanks in anticipation.

James & Sharon
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Yeah, sometimes Hamachi doesn't work like intended. It has especially problems with wireless networks (don't ask me why - I don't know!). The only thing I can say is I cross my fingers that you get the game going.

@all: Apropos, I finally started planning version 2. This time I'll put some work into planning the design before programming. :)
James & Sharon Derbyshire
United Kingdom
Upminster
Essex
flag msg tools
I managed to get it working.

For info, anyone with connection issues, one pc dropping out or lagging behind, try the following (from Hamachi Support):

After installing Hamachi you may encounter connectivity issues due to connection Metrics. Windows uses Metrics to determine the order it will attempt to acquire internet access. What is happening here is the Hamachi adapter is being auto assigned a lower Metric than the adapter that provides your internet connection.

To manually assign a Metric:
Windows XP

1. Open the Control Panel
2. Go into Network Connections
3. Right Click on the Hamachi adapter, and click Properties
4. Highlight Internet Protocol (TCP/IP), and click the Properties button
In a 64bit OS, it will be listed as Internet Protocol Version 4 (TCP/IPv4)
5. Now choose the Advanced button
6. At the bottom of this page, uncheck the box labeled Automatic Metric, and enter 9000 as the Interface Metric

Windows Vista

1. Open the Control Panel
2. Go into Network and Sharing Center
3. In the left pane, click Manage network connections
4. Right Click on the Hamachi adapter, and click Properties
5. Highlight Internet Protocol (TCP/IP), and click the Properties button
In a 64bit OS, it will be listed as Internet Protocol Version 4 (TCP/IPv4)
6. Now choose the Advanced button
7. At the bottom of this page, uncheck the box labeled Automatic Metric, and enter 9000 as the Interface Metric

Performing the above steps will assign Hamachi a very high metric, normally making it the very last thing Windows will turn to to attempt an internet connection. If that does not resolve it, perform the same steps on the adapter you want your internet connection to be on, but assign it a 100 metric.


This worked for me running two WinXP machines and a Vista machine, both hardwired and on a wireless network.

Hope this helps someone else :)

James
1
Edited Mon Aug 17, 2009 8:05 am
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Thanks! I've added your tip to the first comment of this page.
Brett de Jesus
United States

Minnesota
flag msg tools
My Marketplace caps at 2+2 resources, even if I have 3+ craft symbols. Hope this gets fixed in 2.0. Maybe I can top 260 then.

Love the game, thanks for programming.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
The Marketplace works absolutely correct. The solo rules have been corrected after realease: In SOLO games (only), the Marketplace is limited at 4 goods. If you like, change this in the Settings Window.
ERIC TAN
Canada
Burnaby
British Columbia
flag msg tools
Are there anyone on the Hamachi network willing to play Le Havre. So far I have joined all 4 of the BGGLeHavre network and no one shows up for the game at all. Ponton really did a great job creating this program. I love it. It is way faster than actual real game. Anyway, please join Hamachi network and please chat/ping me to play Le Havre.

cheers,
LHaddict:meeple:


edit: correction...Le Havre Java 1.0
Edited Sat Sep 26, 2009 6:26 am
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
LHaddict wrote:
Are there anyone on the Hamachi network willing to play Le Havre 2.0 So far I have joined all 4 of the BGGLeHavre network and no one shows up for the game at all. Ponton really did a great job creating this program. I love it. It is way faster than actual real game. Anyway, please join Hamachi network and please chat/ping me to play Le Havre.


In case somebody gets confused: I think Eric was talking about JLeHavre 1.0 - there is no 2nd version (not yet). I'm always willing to play. However, the difference in time between Germany and Canada might be a problem, Eric. What's your time zone? I'm GMT+1 (until End of October we've got summer time here, so effectively we're GMT+2).
henning mortensen
Canada

flag msg tools
Sorry I feel like an idiot. I can't find the town's buildings. I am playing a solo game. I see the buildings that get built during the game but not the construction type buildings. What am I missing?

Henning

ps. Thanks for the program, you did a great job on it.
henning mortensen
Canada

flag msg tools
Tried a short game and the construction buildings show up fine. It is only in the solo long game that they seem to be missing.
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
That's weird. They do show up on my computer...
Mike Lin
United States
Portland
Oregon
flag msg tools
Avatar
mbmbmb
Just got it to work on my Mac. As I understand it, Java 1.6 only works on Intel based Mac, not PPC. If you have Intel based Mac, go to application, utilities, Java preference, then drag Java 1.6 to the top to run it as default. Hope that helps.

Nice program!
Eric Saumier
Canada
Quebec
Canada
flag msg tools
On my Mac ( 10.5.6 )

It stops working as soon as I start copying the .04 and .05 updates.
pictures updates are working fine.

I tried all the tricks on this thread... anyone who got it working can help me out?

thanks
- Eric
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Maybe just redo the copying.

1. Get the main files in Executables.zip
2. Overwrite the necessary files with those from the Patch04.zip
3. Finally, overwrite again with the files in Patch05.zip
Thomas Anderson
Germany
Unspecified
Unspecified
flag msg tools
Hello.. thx for putting so much wrok into this, im really looking forward to use this game, but I had trouble getting it to work. Maybe this will help others:

I use linux (Kubunt 9.04), with java version "1.6.0_16"

When i start the jar, I can choose "Join Game", but if i leave Bind Adress blank, i get "One player has lost connection".
If i use 127.0.0.1 i get this text:

muellert@schattenspiel:/crypto5/home/muellert/Desktop/JLeHavre$ java -Xmx256M -jar LeHavre.jar
[2009/10/14, 21:59.03] Ereignislog gestartet.
[2009/10/14, 21:59.06] Login-Daten gespeichert: [Spiel=Le Havre] [Name=Player 1]
log4j:WARN No appenders could be found for logger (org.jgroups.JChannel).
log4j:WARN Please initialize the log4j system properly.

---------------------------------------------------------
GMS: address is 127.0.0.1:35808 (cluster=Le Havre)
---------------------------------------------------------
** view: [127.0.0.1:35808|0] [127.0.0.1:35808]


If I use a non-assigned IP in my network, it crashes.
I used ifconfig to find my real IP adress (192.168.2.100 in my case), and then the game stars. Works like a charm, thank you so much :)

Cheers,
Thomas
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Maybe some Linux issues, I don't know. This behaviour never happened before. Sounds like you got it up and running. Have a lot of fun! :)

BTW @all: There is a bug with steel. Don't use it as iron. I'll need to fix it. Oh, and somehow in my last game the Town has built the Steel Mill, but the game somehow didn't set it as built and it couldn't be entered unless bought...
Thomas Anderson
Germany
Unspecified
Unspecified
flag msg tools
Yes, i got it figured out, but a fried on mine cant run it. He has the same problem, bun unlike me, he doesnt have a local area network adress (because he uses static IP "dialup"). He has the same problem like me, when we want to connect to online games, we get:

[quote]org.jgroups.ChannelException: unable to setup the protocol stack: Property assignment of bind_addr in UDP with original property value null and converted to null could not be assigned. Exception is java.net.UnknownHostException: Invalid bind address /192.168.2.101 [/quote]

Can someone confirm, if this game is working in linux and with network?
So far I can only play the solo version..
Cheers,
Thomas
.. ..


msg tools
mb
hello,

i have found but i don't find anyway the english image for this great job ?
do you know where is it ?
and french you have ?

thanx !
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
The English images ca be downloaded seperately. You'll find them in the files section.
Eric Saumier
Canada
Quebec
Canada
flag msg tools
I have found the solution to my problem....

As far as I know ( and tried )

OS X DOES NOT work like windows

... let me explain...

I've unpacked the main executables and images separatly.. then time to merge them together : so I drag the folder and drop it onto it's parent ( the "images 1" renamed to "images" and drop onto the "JLeHavre" folder)

-On a windows machine : New files in folder images within JLeHavre gets copied existing files gets overwritten...

-On my mac (all mac???) : the whole sub folder "images" gets deleted and replaced with the one I am trying to copy... so I end up with only the updated files.. and nothing else in folder

So I had to go file by file (or batches of), folder by folder and copy newer files in proper folder for it to work....

I hope this will help anyone having the same problem I had... please feel free to correct me if I'm wrong about OSx.. and how to fix this annoying behavior..


- Eric

******
confirmed by this article
http://www.xvsxp.com/files/copying.php
Edited Fri Oct 23, 2009 4:53 pm
.. ..


msg tools
mb
hello,
i post today the french buildinds for your software in good size ( y test it),
there is the most important cards (with the more text in it)

tell me if there is no problem


i would like to tell you about a bug, when we use the market, we can see the two forst special building, and in this windows the cards are in german even if in the game there is in english

see you soon

thank you for your work!
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
Hi Ravachol, yes, please, post the French files - I'm totally OK with this. There's no bug with Marketplace - check if you've got the bigger images in English, too. ;)
George Hollerman
Netherlands

flag msg tools
new user
Ponton wrote:
The English images ca be downloaded seperately. You'll find them in the files section.


Thanks for creating this great game Ponton.
But could you explain a bit more about the English images (I can't find them in the files section) ?

Or are the English images already included in the files (JLeHavre1.0_Images1.zip, JLeHavre1.0_Images2.zip, JLeHavre1.0_Images3.zip), so I only need to make a configuration change ?

THNX
Grzegorz Kobiela
Germany
Hannover
flag msg tools
Avatar
patron0708
mbmbmbmbmb
No, the English images aren't included with these files here. Other geeks have provided them in the files section. Here are the links to these files:

http://boardgamegeek.com/filepage/43027
http://boardgamegeek.com/filepage/43172
Sebastien Gerum
France

flag msg tools
Here is the game I made in French, many cards are in French (not totally) in good size. Board is in French and I traduct main title and others. It's not complete but if somebody wants to finish it.. enjoy..



http://rapidshare.com/files/281011426/Le_Havre.zip.html
Coen Velden
Germany
Geldern
NRW
flag msg tools
Swap10 wrote:
Here is the game I made in French, many cards are in French (not totally) in good size. Board is in French and I traduct main title and others. It's not complete but if somebody wants to finish it.. enjoy..



http://rapidshare.com/files/281011426/Le_Havre.zip.html


You should upload it on the BGG,or get a rapidshare collector account.
Because this file has been downloaded ten times, (the maximum).
Front Page | Welcome | Contact | Privacy Policy | Advertise | Support BGG | Feeds RSS
BoardGameGeek and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.