Author Topic: Where to save screenshots and savegames?  (Read 3524 times)

Offline Hounk

  • Baron
  • *****
  • Posts: 965
  • Merit: 15
  • I haven't updated my profile yet!
    • View Profile
Where to save screenshots and savegames?
« 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?

Linkback: https://www.carcassonnecentral.com/community/index.php?topic=1940.0

Offline Decar

  • Owner
  • Chatelain Grand Officier
  • *
  • *
  • Posts: 6719
  • Merit: 317
  • Shut up and take my money!
    • View Profile
    • tehill.net
Re: Where to save screenshots and savegames?
« Reply #1 on: July 12, 2015, 04:50:51 AM »
Take a look here:

https://github.com/farin/JCloisterZone/blob/master/src/main/config/config.tpl


Screenshot folder can be specified. Hope that helps.

Offline Hounk

  • Baron
  • *****
  • Posts: 965
  • Merit: 15
  • I haven't updated my profile yet!
    • View Profile
Re: Where to save screenshots and savegames?
« Reply #2 on: July 12, 2015, 05:20:09 AM »
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?

Offline Decar

  • Owner
  • Chatelain Grand Officier
  • *
  • *
  • Posts: 6719
  • Merit: 317
  • Shut up and take my money!
    • View Profile
    • tehill.net
Re: Where to save screenshots and savegames?
« Reply #3 on: July 12, 2015, 09:05:40 AM »
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:

Code: [Select]
# 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
« Last Edit: July 12, 2015, 09:07:30 AM by Decar »

Offline MrNumbers

  • Duke Chevalier
  • *
  • Posts: 1830
  • Merit: 91
    • View Profile
    • Carcassonne Latvia
Re: Where to save screenshots and savegames?
« Reply #4 on: July 12, 2015, 10:41:02 PM »
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 ;)
"I never lose. Either I win or I learn." (Nelson Mandela)

Offline Hounk

  • Baron
  • *****
  • Posts: 965
  • Merit: 15
  • I haven't updated my profile yet!
    • View Profile
Re: Where to save screenshots and savegames?
« Reply #5 on: July 13, 2015, 02:17:18 PM »
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.

Offline farin

  • Duke
  • *
  • Posts: 241
  • Merit: 44
  • JCloisterZone maintainer
    • View Profile
Re: Where to save screenshots and savegames?
« Reply #6 on: July 14, 2015, 01:56:29 PM »
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.
 

Offline Hounk

  • Baron
  • *****
  • Posts: 965
  • Merit: 15
  • I haven't updated my profile yet!
    • View Profile
Re: Where to save screenshots and savegames?
« Reply #7 on: July 14, 2015, 02:20:24 PM »
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. >:(

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2491
  • Merit: 86
    • View Profile
    • sydby.com
Re: Where to save screenshots and savegames?
« Reply #8 on: July 15, 2015, 01:18:28 AM »
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.
World record holder for a single game of Carcassonne using 10 007 tiles!


Share via delicious Share via digg Share via facebook Share via furl Share via linkedin Share via myspace Share via reddit Share via stumble Share via technorati Share via twitter

  Subject / Started by Replies / Views Last post
question
A few WHAT IF questions regarding save and load and local and remote games

Started by Gerry

2 Replies
2605 Views
Last post December 20, 2014, 01:24:10 AM
by farin
xx
Save game bug

Started by MrNumbers

1 Replies
1879 Views
Last post April 03, 2015, 03:11:26 AM
by Hounk
xx
WTB: Old artwork Carcassonne Hills and Sheep and/or Count, King and Robber

Started by nblack27

15 Replies
1566 Views
Last post June 08, 2023, 02:07:33 AM
by oldbonz
xx
Besiegers and Halflings II (and New Edition and Goldrush) now available at Cundco

Started by jungleboy

29 Replies
19380 Views
Last post October 25, 2014, 05:53:56 AM
by Darwin
xx
Inns and Cathedrals and Traders and Builder Tile - Changes

Started by Decar

45 Replies
28860 Views
Last post January 05, 2016, 04:37:35 AM
by quevy