Page 4 of 4

Re: Cleanup old functions/variables

PostPosted: 20 May 2012, 16:15
by silly freak
about forge.properties:

the file name forge.properties is hardcoded, but in principle all of main.properties could just be moved into forge properties. My idea was to minimize the amount of data in a hardcoded location, to give the user the choice to basically move everything anywhere he wants (except for that one line of necessary code).

Of course, most users prefer to just download, unpack and play, so the gain is marginal. If you find it more comfortable to get rid of main.properties, go for it ;)

Re: Cleanup old functions/variables

PostPosted: 21 May 2012, 11:28
by Doublestrike
Chris H. wrote:Oh, it looks like the current project no longer has a /res/images/ folder. This folder has two subdirectories named /images/icons/ and /images/deckeditor/.
OK, I removed the reference in main.properties. Downloadable content is now consolidated in the 'pics/' directory.

Users may need to be alerted of this, brainstorming/expanding on your fluff line if you need it Chris:

The res/images/icons/ folder has been moved to res/pics/icons/. This folder holds the quest opponent icons, bazaar pets, and bazaar plants. If you have downloaded this content, it will still work, but the folder must be moved on your computer.

Re: Cleanup old functions/variables

PostPosted: 21 May 2012, 12:21
by Doublestrike
OK thanks sillyfreak, looks like it will stay where it is for now.

However, I have consolidated main.properties, forge.preference, and editor.preferences into one directory: res/preferences. The two .preference files should transfer no problem without losing their current values. Main.properties will need to be updated by hand.

Re: Cleanup old functions/variables

PostPosted: 21 May 2012, 12:36
by Chris H.
Doublestrike wrote:OK, I removed the reference in main.properties. Downloadable content is now consolidated in the 'pics/' directory.

Users may need to be alerted of this, brainstorming/expanding on your fluff line if you need it Chris:
 
Thank you. I updated the changes.txt and the readme.txt files and our minimal docs should be up to date.

Re: Cleanup old functions/variables

PostPosted: 23 May 2012, 01:47
by friarsol
We definitely need very explicit instructions about this preferences change. I have all of my pics in a different folder so I can share them between working builds and fresh builds. And it was definitely confusing loading in today and having 0 pictures loaded in.

Re: Cleanup old functions/variables

PostPosted: 23 May 2012, 12:11
by Doublestrike
Actually, I think I can add the same code to make the move easy for main.properties also. Let me whack it in there and see how it goes.

EDIT - Didn't go so good. Will try again later.