Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Discussions of the development process of the game.
Post Reply
twirlimp
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by twirlimp » Fri Mar 03, 2017 6:15 am

Zukero wrote:Check in the .sh file that the file names in the classpath match the actual files in lib/. I may have missed something when creating the release.
Seems I needed to be in the actual directory for the libs to load, instead of say, calling /home/user/Downloads/...../ATCS.sh

I'm too happy it worked to feel embarrassed, really.

Edit: I was trying the new Tiled button and I got this error.
http://imgur.com/T4eQRqP

It's certainly not a hassle to locate it myself, but thought bug reporting would help.
ideas plox

Zukero
Lead Developer
Posts: 1478
Joined: Thu Jul 21, 2011 9:56 am
android_version: 7.1

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by Zukero » Fri Mar 03, 2017 7:54 am

Known and fixed already. Not really a bug, but after altering an object, you need to save it for it to be saved on disk. I made a bunch of changes in the UI to make it clear.

That Shell script is a shame. I'll robustify it. It was more intended to gui-clickers than shell-wielding ninjas like us, and in that case, it works, but I ought to do much better.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

Zukero
Lead Developer
Posts: 1478
Joined: Thu Jul 21, 2011 9:56 am
android_version: 7.1

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by Zukero » Fri Mar 03, 2017 8:29 pm

v0.5.2 released!

Small changes, but really enhancing usability IMHO:
- Better integration with Tiled, or any external map editor. More on this below.
- Map creation in ATCS, either from the template or by copying one that exists in your project (game data, altered or created)
- More robust startup scripts on both Windows and Linux
- Persistent customization of app startup (memory, java binary, JVM options). More on this below.
- Sometimes requests admin rights on Windows only. More on this below.
- Bugfixes to avoid ConcurrentModificationExceptions, by using thread-safe collections.

Tiled integration
You must have installed Tiled for this to work. It's not bundled with ATCS, and never will be.
To use it, open a created or altered map. From here, click on the huge Tiled icon at the top-left. This will open the map in Tiled. It will first prompt you to save in ATCS if it's needed before opening in Tiled. Do your job in Tiled, save, close Tiled, then hit the now active "Reload" button in ATCS to refresh the map data in ATCS.
If by mistake you made some changes in ATCS after saving in Tiled, but before reloading, both the reload and the save buttons will warn you of the consequences. Your safest bet is then to use "save" in ATCS, as it will create a backup of the Tiled version in your workspace, and give you the location of the backup.

This is all good and fun, but for you, and just you :?:, the Tiled button doesn't work at all... Worry not, I thought about you. By default, ATCS uses the default operating system action to open TMX files, but using the File->Workspace settings menu, you can change that behavior. You can specify a custom command for TMX Map opening instead of using the system default.
The usual values would be "tiled" or "tiled.exe" (without quotes), but you can also use a full path if your system cannot find it, or if you have a portable install, or several versions and want to use a specific one.
If you're crazy enough, you can actually specify any command, not just tiled. Using "notepad.exe" on windows, you'll have a totally unusable way of editing maps. These settings are local to your ATCS workspace, so if you have several, you'll have to do it again.

Side note, in this settings panel, you'll also notice the same type of configuration for images. Spritesheets are read-only in ATCS, but this allows you to have a nice shortcut to your favorite image viewer to zoom on them. Just use the large button at the top-left of the spritesheet editor. Unless you say you like it a lot, I may very well remove this, as I have doubts about its usefulness.

Startup customization
From now on, upon startup, ATCS will create a file whose name starts with ATCS.env (ending is platform-dependent) in the ATCS install folder. You can modify this file to change the maximum memory usable by ATCS (set it higher if you run into OutOfMemory errors because you have tons of projects open). Using powers of two is recommended, and end with "M" to indicate that you mean MegaBytes.
You can also change the java binary used. Typically, use "javaw" or "javaw.exe" for a seamless experience, "java" or "java.exe" to also view the debug console, which prints out messages that are useful for me to correct any bugs you may encounter. You can also use a full path to specify another JVM than your system-default.
Finally, you can specify custom JVM parameters, but I'll leave that to experts who already know what I'm talking about.

If you use the windows installer, ATCS lives in C:\Program Files(x86)\ by default, and this folder requires administrative rights. In this case, the custom startup file cannot be created by ATCS' launch script. You'll have to run ATCS as Administrator once to create the file, and edit it using a text editor launched as Administrator too.

Administrative rights on Windows
For Tiled integration, ATCS uses "symbolic links" or "directory junctions" to trick Tiled into thinking that the tilesets are at in the ATCS workspace, while they actually are in the game source folder. This is prety standard on Linux and other unixes, but on Windows, this requires admin rights.
For each project, ATCS will ask show four "Do you allow..." popups, to create two links. This is needed only once per project, so you'll be nagged at the first run of the new ATCS, and at each creation of a new project.
You can avoid this by running ATCS as administrator once. You'll still be nagged four times at each new project, but that's it.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

sdevaney
Site Admin
Posts: 1059
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 8.0
Contact:

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by sdevaney » Fri Mar 03, 2017 10:17 pm

Nice, update Zuk; but you need to slow down. Keep releasing at this pace and you will pass AT in version number :lol:

Zukero
Lead Developer
Posts: 1478
Joined: Thu Jul 21, 2011 9:56 am
android_version: 7.1

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by Zukero » Fri Mar 03, 2017 11:49 pm

Lol, I may have already surpassed the number of releases :D
I joined AT because I like coding for fun. Writing content is fine, but it doesn't give me the thrills I get with code. It will sound weird to some, but when I code, I will sometimes gain a level of concentration so deep that I have a mental image of all the interconnections the different pieces have. It's a feeling that is both hard to describe and utterly satisfying. ATCS provide just that often enough that it feels like a drug: I always want to dig back in. AT does that too when I'm hunting a bug, or coding a new feature, but I don't feel we *need* new code features in AT for now, only content, and what better way to get content than by providing good tools to create it ?
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

twirlimp
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by twirlimp » Sat Mar 04, 2017 5:38 am

Zukero wrote:Lol, I may have already surpassed the number of releases :D
I joined AT because I like coding for fun. Writing content is fine, but it doesn't give me the thrills I get with code. It will sound weird to some, but when I code, I will sometimes gain a level of concentration so deep that I have a mental image of all the interconnections the different pieces have. It's a feeling that is both hard to describe and utterly satisfying. ATCS provide just that often enough that it feels like a drug: I always want to dig back in. AT does that too when I'm hunting a bug, or coding a new feature, but I don't feel we *need* new code features in AT for now, only content, and what better way to get content than by providing good tools to create it ?
I might've gotten the hint earlier, when I was thinking "If I was doing something like ATCS I would never be able to stop."

The changes really are excellent, and thanks for the robust scripts -- I tend to use symlinks a lot for startup scripts.

"and what better way to get content than by providing good tools to create it"

I agree wholeheartedly with this, as it would make creating content easier not only for non-coders but really for anyone not familiar with the code base.

ATCS can take into account different parameters and scenarios that nobody but Oskar or you can predict, if even that!
ideas plox

User avatar
nyktos
Posts: 3399
Joined: Wed Sep 14, 2011 5:38 pm
android_version: 7.1
Location: Nor City, Dhayavar
Contact:

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by nyktos » Sat Mar 04, 2017 5:52 am

this is exciting!
excellent work Zukero. :twisted:

i need to update some stuff,
but it will be well worth it! :mrgreen:
"Embrace the Shadow"

Image

[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]

User avatar
Antison
VIP
Posts: 2905
Joined: Mon Mar 28, 2011 11:33 pm
android_version: 7.1
Location: It's a beagle's world. We're just living in it.

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by Antison » Sat Mar 04, 2017 1:55 pm

Zukero wrote:it doesn't give me the thrills I get with code. It will sound weird to some, but when I code, I will sometimes gain a level of concentration so deep that I have a mental image of all the interconnections the different pieces have. It's a feeling that is both hard to describe and utterly satisfying.
Being a software engineer myself, I couldn't agree more. Sounds perfectly natural to me.
I love the problem solving aspects and seeing the end result of some hard work and end-user feedback.

Code: Select all

Lv  AP   HP  AC  AD    BC DR CHS CM ECC
134 3/12 215 285 65-75 201 9
58  4/14 131 241 30-43 186 3
52  3/12 150 261 33-42 81  4 59  3.0 29
52  4/12 163 334 30-47 77  3
49  3/12 99  347 40-46 171 1
49  6/12 131 263 35-80 107 3
48  2/12 121 267 34-43 103 5

Zukero
Lead Developer
Posts: 1478
Joined: Thu Jul 21, 2011 9:56 am
android_version: 7.1

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by Zukero » Mon Mar 06, 2017 10:21 pm

"Emergency" release of v0.5.2b. Same code, but fixed startup script for windows.
Batch scripts are a pain when it comes to quoting and escaping strings. Well, they're a pain for everything to begin with, but that in particular killed me.
Those of you using the windows installer should find relief with this one.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

User avatar
Nick
Posts: 43
Joined: Fri Oct 09, 2015 4:34 pm
android_version: 6.0

Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor

Post by Nick » Wed Mar 29, 2017 3:06 pm

Antison wrote:
Sat Mar 04, 2017 1:55 pm
Zukero wrote:it doesn't give me the thrills I get with code. It will sound weird to some, but when I code, I will sometimes gain a level of concentration so deep that I have a mental image of all the interconnections the different pieces have. It's a feeling that is both hard to describe and utterly satisfying.
Being a software engineer myself, I couldn't agree more. Sounds perfectly natural to me.
I love the problem solving aspects and seeing the end result of some hard work and end-user feedback.
Although I don't often code outside of work, I totally agree.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest