Carcassonne Central
Carc Central Community => Online Games and Competitions => JCloisterZone FAQ, Suggestions & Bug Reports => Topic started by: Hounk on July 12, 2015, 04:45:43 AM
-
I don't know, if you, farin altered something in the code or just a result of Windows 9's "appmania" calling every program an "app" and trying to treat everything like that in hope of winning over apple with that and forgetting, that some people still use a regular computer rather than a dumb-ass-phone or similar device with touch screen.
However, before Win9 I found everything nice within the JCZ folder, now I have to make a "search for files altered today", to find it in a folder C:\Users\xxx\AppData\Roaming\JCloisterZone, which can not even be browsed in Explorer. (At least not, unless I render hidden files and folders visible.) Hopefully, this will be gone again with Win10, but can that in any way be altered?
-
Take a look here:
https://github.com/farin/JCloisterZone/blob/master/src/main/config/config.tpl
Screenshot folder can be specified. Hope that helps.
-
Thanks, but I do not get it yet. How can I alter this on my computer? I need some program to extract the jar file, yes?
-
Sorry that's the template. It used to load a resource file called config.yaml - It should load from the same directory as JCZ or:
by setting the system property when loaded: java -jar JCloisterZone.jar -Dconfig=PATHtoFILE
Older versions of JCZ used to create the file if it didn't exist. I'm not entirely sure where it loads from now; possibly that hidden directory you mentioned.
Here's a yaml file form 3.0.2:
# Feel free to edit. Mind all your own comments or white-spaces may be stripped by configuration save peformed by application.
update: http://jcloisterzone.com/version.xml
port: 37447
# keep empty for system language or fill to force locale
# supported locales are cs, de, el, en, es, fr, hu, it, pl, ro, ru, sk
locale:
score_display_duration: 7 # seconds
ai_place_tile_delay: 250 # miliseconds to wait before computer player place tile
beep_alert: false
confirm:
farm_place: false
game_close: true
ransom_payment: true
tower_place: true
# machine identification for remote games
client_name:
players:
# Colors as Java awt.Color constant or in hex-value. (third-party themes can ignore these colors)
colors:
- {font: null, meeple: RED}
- {font: null, meeple: '#008ffe'}
- {font: null, meeple: '#FFED00'}
- {font: null, meeple: '#009900'}
- {font: null, meeple: BLACK}
- {font: null, meeple: '#812EFF'}
# You can declare default player names
names:
ai_names: [Adda, Ellen, Caitlyn, Riannon, Tankred, Rigatona]
# plugins/classic.jar - Graphics from original board game
# plugins/rgg_siege.jar - RGG's Siege tiles instead of original The Cathars tiles
plugins:
- plugins/classic.jar
# possible expansions in profile definition:
# WINTER, INNS_AND_CATHEDRALS, TRADERS_AND_BUILDERS, PRINCESS_AND_DRAGON,
# TOWER, ABBEY_AND_MAYOR, BRIDGES_CASTLES_AND_BAZAARS, CATAPULT,
# KING_AND_ROBBER_BARON, RIVER, RIVER_II, CATHARS, BESIEGERS, COUNT,
# GQ11, CULT, TUNNEL, CORN_CIRCLES, PLAGUE, FESTIVAL, PHANTOM, WIND_ROSE,
# GERMAN_MONASTERIES, FLIER, CORN_CIRCLES_II
#
# possible rules:
# RANDOM_SEATING_ORDER,
# TINY_CITY_2_POINTS, PRINCESS_MUST_REMOVE_KNIGHT,
# DRAGON_MOVE_AFTER_SCORING, ESCAPE_RGG, PIG_HERD_ON_GQ_FARM,
# MULTI_BARN_ALLOWEDD, TUNNELIZE_ALL_EXPANSIONS, BAZAAR_NO_AUCTION, KEEP_CLOISTERS
presets:
connection_history:
# Specifies a folder for screenshots to be saved into. If empty the JCloisterZone runtime directory will be chosen.
screenshot_folder:
# Specifies the size of the tiles when a screenshot is taken; default is 60;
screenshot_scale: 200
-
You must change the path for the screenshots in "config.yaml" file, which is located in the same folder as the default screenshots folder.
To quickly access appdata folder you can use special environment variable: %appdata%
Just enter it into address bar and you are into C:\Users\xxx\AppData\Roaming\
BTW, where did you get Windows 9? Official latest is Windows 8.1 ;)
-
Thank you both. I will try this out.
Yes, you're right Mr.Numbers. Windows 8.x is so annoying, they jumped right to 10, to indicate, it is completely different. Hopefully, it will be.
-
I am not 100% percent sure but I guess that app folder is used only if folder where is app located is not writeable.
I haven't 8 even 10 (i am totally fine with my win 7 :-) to check default rights.
-
That's probably true. Unfortunately it does not let me change me the writing attribute. When I want to change it, it ask for my administrator password, I enter it, and it still resets the folder to write protected. Win 8 really sucks in any aspect. I envy you for having 7, unfortunately I bought my new computer, when it was not available anymore. >:(
-
That's probably true. Unfortunately it does not let me change me the writing attribute. When I want to change it, it ask for my administrator password, I enter it, and it still resets the folder to write protected. Win 8 really sucks in any aspect. I envy you for having 7, unfortunately I bought my new computer, when it was not available anymore. >:(
Let me assure you, this is not a Windows 8 issue. There's probably a very easy explanation for this. The hardest part is finding it. Especially when not having all the info.
I'm happy with my win 8.1 and think it's better than Win 7 in many aspects, but it has 2 major flaws that bugs the hell out of me.
1. External drives powers down after a few secs when not used.
2. The maintenance is tedious task to kill and runs without you realizing it when idle for a few mins.
Last but not least. Google search is your friend. :) Think of it as your personal Jeeves. Ask it and most likely it will have links to pages that can solve the issue.