Re: Tablesmith using appimage
I understand where you¡¯re coming from. But linux has come a very long way over the last decade or so.
Matt
toggle quoted message
Show quoted text
On Sep 27, 2020, at 18:30, ErolB1 via groups.io <ErolB1@...> wrote:
?I'm one of the people for whom the lack of an acceptable GUI would be a Norwegian Blue Parrot deal-killer.
(Running Windows. I'm also an old-time unix-hater, due to having imprinted on VMS DCL, back in the day.)
Erol K. Bayburt ErolB1@...
On 9/26/2020 4:57 PM, Matthew Lynn wrote: I'd also be interested in a Linux solution, as 5.2 won't work with Crossover. 5.1 does, but 5.2 doesn't... Matt On Fri, Sep 25, 2020 at 4:52 PM Pieter Van Dyck <vandyck.pieter@... <mailto:vandyck.pieter@...>> wrote: In order to avoid the chicken/egg situation, let's hash out what a minimally acceptable gui solution would look like. I'm limited to linux these days, but I'm definitely willing to pitch in. On Sat, 19 Sep 2020 at 08:39, Bruce Gulke <brucegulke@... <mailto:brucegulke@...>> wrote: You're not wrong, but lacking a GUI would be a non-starter for lots of people. Though if other people got ambitious enough to create a graphical front-end on the various platforms that used the CLI app as an engine... :)
|
Re: Tablesmith using appimage
I'm one of the people for whom the lack of an acceptable GUI would be a Norwegian Blue Parrot deal-killer.
(Running Windows. I'm also an old-time unix-hater, due to having imprinted on VMS DCL, back in the day.)
Erol K. Bayburt ErolB1@...
toggle quoted message
Show quoted text
On 9/26/2020 4:57 PM, Matthew Lynn wrote: I'd also be interested in a Linux solution, as 5.2 won't work with Crossover. 5.1 does, but 5.2 doesn't... Matt On Fri, Sep 25, 2020 at 4:52 PM Pieter Van Dyck <vandyck.pieter@... <mailto:vandyck.pieter@...>> wrote: In order to avoid the chicken/egg situation, let's hash out what a minimally acceptable gui solution would look like. I'm limited to linux these days, but I'm definitely willing to pitch in. On Sat, 19 Sep 2020 at 08:39, Bruce Gulke <brucegulke@... <mailto:brucegulke@...>> wrote: You're not wrong, but lacking a GUI would be a non-starter for lots of people. Though if other people got ambitious enough to create a graphical front-end on the various platforms that used the CLI app as an engine... :)
|
Re: Tablesmith using appimage
|
Re: Tablesmith using appimage
I would be good with text base.? Using in linux.? I am sure we can develop a gui
|
Nevermind. Yes, more code would have been helpful. The error was in some previous code. Thank you for the help and the mental nudge.
|
Well, there is a lot of code, so I was trying to reduce the clutter. Everything else worked without those lines, so I figured the problem was there. But here is the output line:
_<b>Weight:</b> %pWeight% pounds (Scrawny Weakness %pWeightS%, Fat Weakness %pWeightF%){CR~}
|
As a minor point, the first line should be _|pWeightS={Calc~(%DieHolder%-32)}| {if~%pWeightS% < 1 ? |pWeightS = 1|}
because you should have a minimum value of 1 on the [WeightMultA=%pWeightS%] lookup, but that shouldn't throw this error.
More context is needed. It looks like the error is somewhere other than in the calc~ code you posted. What does the line that does the actual output look like?
Erol K. Bayburt ErolB1@...
toggle quoted message
Show quoted text
On 9/27/2020 2:16 AM, wooterslw@... wrote: Ok. Here is the code: _|pWeightS={Calc~(%DieHolder%-32)}| {if~%pWeightS% < 0 ? |pWeightS = 0|} _|pWeightF={Calc~(%DieHolder%+32)}| {if~%pWeightF% > 54 ? |pWeightF = 54|} _|pWeightS=[WeightMultA=%pWeightS%]| |pWeightS={Calc~(%pHeight%*%pWeightS%)}| _|pWeightF=[WeightMultA=%pWeightF%]| |pWeightF={Calc~(%pHeight%*%pWeightF%)}| Here is the output: Weight: 122.4 pounds (Scrawny Weakness 102, Fat Weakness ***ERROR on line 157 of table 'Age of Ambition Background' - : 'Input string was not in a correct format.'. *** ) So it looks like it's doing the scrawny value correctly, but it's burping on the fat value. I've looked at the code and they seem identical. Not sure why it's erroring out.
|
Well, it's weird that it would work on one and not the other, but here is that group.
:WeightMultA
1-8,2.0
9-16,2.2
17-24,2.4
25-32,2.7
33-40,2.9
41-48,3.2
49-54,3.4
|
What does the group [WeightMultiA] look like? You might be getting an error due to that group returning a non-number to pWeightF, and then when you try to use pWeightF in a Calc~ it throws the error.
Erol K. Bayburt ErolB1@...
toggle quoted message
Show quoted text
On 9/27/2020 2:16 AM, wooterslw@... wrote: Ok. Here is the code: _|pWeightS={Calc~(%DieHolder%-32)}| {if~%pWeightS% < 0 ? |pWeightS = 0|} _|pWeightF={Calc~(%DieHolder%+32)}| {if~%pWeightF% > 54 ? |pWeightF = 54|} _|pWeightS=[WeightMultA=%pWeightS%]| |pWeightS={Calc~(%pHeight%*%pWeightS%)}| _|pWeightF=[WeightMultA=%pWeightF%]| |pWeightF={Calc~(%pHeight%*%pWeightF%)}| Here is the output: Weight: 122.4 pounds (Scrawny Weakness 102, Fat Weakness ***ERROR on line 157 of table 'Age of Ambition Background' - : 'Input string was not in a correct format.'. *** ) So it looks like it's doing the scrawny value correctly, but it's burping on the fat value. I've looked at the code and they seem identical. Not sure why it's erroring out.
|
Ok. Here is the code:
_|pWeightS={Calc~(%DieHolder%-32)}| {if~%pWeightS% < 0 ? |pWeightS = 0|}
_|pWeightF={Calc~(%DieHolder%+32)}| {if~%pWeightF% > 54 ? |pWeightF = 54|}?
_|pWeightS=[WeightMultA=%pWeightS%]| |pWeightS={Calc~(%pHeight%*%pWeightS%)}|?
_|pWeightF=[WeightMultA=%pWeightF%]| |pWeightF={Calc~(%pHeight%*%pWeightF%)}| Here is the output:
Weight: 122.4 pounds (Scrawny Weakness 102, Fat Weakness?
***ERROR on line 157 of table 'Age of Ambition Background' - : 'Input string was not in a correct format.'. ***
?
)
So it looks like it's doing the scrawny value correctly, but it's burping on the fat value. I've looked at the code and they seem identical. Not sure why it's erroring out.
|
Re: Editing Central Casting table for later versions
I do have a table I created some time ago. It's not everything from Heroes of Legend, but it's a helpful jumping off point. Uploaded it to the Misc Tables section.
|
Re: Tablesmith using appimage
I'd also be interested in a Linux solution, as 5.2 won't work with Crossover. 5.1 does, but 5.2 doesn't...
Matt
toggle quoted message
Show quoted text
In order to avoid the chicken/egg situation, let's hash out what a minimally acceptable gui solution would look like. I'm limited to linux these days, but I'm definitely willing to pitch in.
You're not wrong, but lacking a GUI would be a non-starter for lots of people. Though if other people got ambitious enough to create a graphical front-end on the various platforms that used the CLI app as an engine... :)
Late to the party
A? cross platform commandline version would be great as far as I'm concerned. It may look scary to non-technical people but in the end it could be made to generate html, which can be opened with a normal browser so it would provide 90% of the UI funcitionality.
just my 2c, Pieter Van Dyck
If I converted TS to .NET Core (which would be trivial), I could run the engine pretty much anywhere - Linux, iOS, Windows, Android, or Mac. I can't create a universal UI, though. Deployment would also be platform-specific.
For desktop, I've been pondering a command-line version but I'm guessing most people would be turned off if there wasn't a graphical frontend. On Fri, Jul 3, 2020 at 2:03 PM Matthew Lynn < lynnm@...> wrote: I've had good luck with CrossOver supporting Windows applications,?in general. It can be a bit hit and miss sometimes, but it has gotten better in the last 10 years or so. MUCH better. Especially with a lot of developing starting to become OS-agnostic. Build once, use it everywhere...
Matt
On Fri, Jul 3, 2020 at 2:52 PM David Anderson < factus10@...> wrote: Sigh. At least I have an old Windows machine for things like this. On Jul 3, 2020, at 1:16 PM, Matthew Lynn <lynnm@...> wrote:
? If you're looking to run TS on Linux...
I've had very good results using Codeweavers CrossOver to run TS5.1 on Linux. Very stable on CrossOver.
TS5.2 WON'T run on CrossOver, the .Net requirement is not able to be gotten around, and .Net3.0, which is built into Windows, is a requirement for all leter versions on .Net.
You may have similar?results on Mac, but I haven't tried it.
Matt Lynn I'd never heard of AppImage until now, but from what I can see I'd have to rewrite TS to run on Linux before using this. It's not multi-platform in the "Windows/Mac/Linux" sense but cross-platform for Linux distributions.
Multi-platform desktop is something I've considered but mobile has priority?over that. Has anyone tried to build an appimage version.? I am not a programmer, but it looks promising from a working on different platforms perspective.
|
Re: Tablesmith using appimage
In order to avoid the chicken/egg situation, let's hash out what a minimally acceptable gui solution would look like. I'm limited to linux these days, but I'm definitely willing to pitch in.
toggle quoted message
Show quoted text
You're not wrong, but lacking a GUI would be a non-starter for lots of people. Though if other people got ambitious enough to create a graphical front-end on the various platforms that used the CLI app as an engine... :)
Late to the party
A? cross platform commandline version would be great as far as I'm concerned. It may look scary to non-technical people but in the end it could be made to generate html, which can be opened with a normal browser so it would provide 90% of the UI funcitionality.
just my 2c, Pieter Van Dyck
If I converted TS to .NET Core (which would be trivial), I could run the engine pretty much anywhere - Linux, iOS, Windows, Android, or Mac. I can't create a universal UI, though. Deployment would also be platform-specific.
For desktop, I've been pondering a command-line version but I'm guessing most people would be turned off if there wasn't a graphical frontend. On Fri, Jul 3, 2020 at 2:03 PM Matthew Lynn < lynnm@...> wrote: I've had good luck with CrossOver supporting Windows applications,?in general. It can be a bit hit and miss sometimes, but it has gotten better in the last 10 years or so. MUCH better. Especially with a lot of developing starting to become OS-agnostic. Build once, use it everywhere...
Matt
On Fri, Jul 3, 2020 at 2:52 PM David Anderson < factus10@...> wrote: Sigh. At least I have an old Windows machine for things like this. On Jul 3, 2020, at 1:16 PM, Matthew Lynn <lynnm@...> wrote:
? If you're looking to run TS on Linux...
I've had very good results using Codeweavers CrossOver to run TS5.1 on Linux. Very stable on CrossOver.
TS5.2 WON'T run on CrossOver, the .Net requirement is not able to be gotten around, and .Net3.0, which is built into Windows, is a requirement for all leter versions on .Net.
You may have similar?results on Mac, but I haven't tried it.
Matt Lynn I'd never heard of AppImage until now, but from what I can see I'd have to rewrite TS to run on Linux before using this. It's not multi-platform in the "Windows/Mac/Linux" sense but cross-platform for Linux distributions.
Multi-platform desktop is something I've considered but mobile has priority?over that. Has anyone tried to build an appimage version.? I am not a programmer, but it looks promising from a working on different platforms perspective.
|
The help file says that TableSmith is case sensitive when it comes to variable names and group names & calls. But it apparently isn't case sensitive when it comes to function names. E.g. Calc, calc, and CALC all seem to work, likewise If, if, and IF.
Comparisons ignore spaces, but seem to be case sensitive. three = Three evaluates as false, in an If function, while three = three evaluates as true.
Erol K. Bayburt ErolB1@...
toggle quoted message
Show quoted text
On 9/23/2020 9:30 AM, sdavies2720 via groups.io wrote: I also thought the "if" needed to be capitalized, e.g. _{If~%pRaceNum% ... instead of _{if~%pRaceNum% ...
|
I also thought the "if" needed to be capitalized, e.g. _{If~%pRaceNum% ... instead of _{if~%pRaceNum% ...
|
Well, I feel stupid. Thanks!
|
You need to use * instead of x for multiplication.
_{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+ (10*15))}|}
Erol K. Bayburt ErolB1@...
toggle quoted message
Show quoted text
On 9/22/2020 1:25 AM, wooterslw@... wrote: So I am trying to create an if statement with a calc inside. It keeps kicking an error. ***ERROR on line 12 of table 'Age of Ambition Background' - : 'Input string was not in a correct format.'. *** This is the line from the table: _{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+(10 x 15))}|} Originally it said this: _{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+(%DieHolder% x 15))}|} They both give the same error. So what am I missing?
|
So I am trying to create an if statement with a calc inside. It keeps kicking an error.
***ERROR on line 12 of table 'Age of Ambition Background' - : 'Input string was not in a correct format.'. ***
This is the line from the table:
_{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+(10 x 15))}|}
Originally it said this:
_{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+(%DieHolder% x 15))}|}
They both give the same error. So what am I missing?
|
Re: Tablesmith using appimage
You're not wrong, but lacking a GUI would be a non-starter for lots of people. Though if other people got ambitious enough to create a graphical front-end on the various platforms that used the CLI app as an engine... :)
toggle quoted message
Show quoted text
Late to the party
A? cross platform commandline version would be great as far as I'm concerned. It may look scary to non-technical people but in the end it could be made to generate html, which can be opened with a normal browser so it would provide 90% of the UI funcitionality.
just my 2c, Pieter Van Dyck
If I converted TS to .NET Core (which would be trivial), I could run the engine pretty much anywhere - Linux, iOS, Windows, Android, or Mac. I can't create a universal UI, though. Deployment would also be platform-specific.
For desktop, I've been pondering a command-line version but I'm guessing most people would be turned off if there wasn't a graphical frontend. On Fri, Jul 3, 2020 at 2:03 PM Matthew Lynn < lynnm@...> wrote: I've had good luck with CrossOver supporting Windows applications,?in general. It can be a bit hit and miss sometimes, but it has gotten better in the last 10 years or so. MUCH better. Especially with a lot of developing starting to become OS-agnostic. Build once, use it everywhere...
Matt
On Fri, Jul 3, 2020 at 2:52 PM David Anderson < factus10@...> wrote: Sigh. At least I have an old Windows machine for things like this. On Jul 3, 2020, at 1:16 PM, Matthew Lynn <lynnm@...> wrote:
? If you're looking to run TS on Linux...
I've had very good results using Codeweavers CrossOver to run TS5.1 on Linux. Very stable on CrossOver.
TS5.2 WON'T run on CrossOver, the .Net requirement is not able to be gotten around, and .Net3.0, which is built into Windows, is a requirement for all leter versions on .Net.
You may have similar?results on Mac, but I haven't tried it.
Matt Lynn I'd never heard of AppImage until now, but from what I can see I'd have to rewrite TS to run on Linux before using this. It's not multi-platform in the "Windows/Mac/Linux" sense but cross-platform for Linux distributions.
Multi-platform desktop is something I've considered but mobile has priority?over that. Has anyone tried to build an appimage version.? I am not a programmer, but it looks promising from a working on different platforms perspective.
|
Re: Tablesmith using appimage
Late to the party
A? cross platform commandline version would be great as far as I'm concerned. It may look scary to non-technical people but in the end it could be made to generate html, which can be opened with a normal browser so it would provide 90% of the UI funcitionality.
just my 2c, Pieter Van Dyck
toggle quoted message
Show quoted text
If I converted TS to .NET Core (which would be trivial), I could run the engine pretty much anywhere - Linux, iOS, Windows, Android, or Mac. I can't create a universal UI, though. Deployment would also be platform-specific.
For desktop, I've been pondering a command-line version but I'm guessing most people would be turned off if there wasn't a graphical frontend. On Fri, Jul 3, 2020 at 2:03 PM Matthew Lynn < lynnm@...> wrote: I've had good luck with CrossOver supporting Windows applications,?in general. It can be a bit hit and miss sometimes, but it has gotten better in the last 10 years or so. MUCH better. Especially with a lot of developing starting to become OS-agnostic. Build once, use it everywhere...
Matt
On Fri, Jul 3, 2020 at 2:52 PM David Anderson < factus10@...> wrote: Sigh. At least I have an old Windows machine for things like this. On Jul 3, 2020, at 1:16 PM, Matthew Lynn <lynnm@...> wrote:
? If you're looking to run TS on Linux...
I've had very good results using Codeweavers CrossOver to run TS5.1 on Linux. Very stable on CrossOver.
TS5.2 WON'T run on CrossOver, the .Net requirement is not able to be gotten around, and .Net3.0, which is built into Windows, is a requirement for all leter versions on .Net.
You may have similar?results on Mac, but I haven't tried it.
Matt Lynn I'd never heard of AppImage until now, but from what I can see I'd have to rewrite TS to run on Linux before using this. It's not multi-platform in the "Windows/Mac/Linux" sense but cross-platform for Linux distributions.
Multi-platform desktop is something I've considered but mobile has priority?over that. Has anyone tried to build an appimage version.? I am not a programmer, but it looks promising from a working on different platforms perspective.
|