Battle for wesnoth.... ascii terminal
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Battle for wesnoth.... ascii terminal
Hi,
I love playing games in my terminal like the good old nethack and so on ... i was thinking that maybe there is someone out there that has it done allredy...
So the question is ... is there any terminal ascii based client for battle for wesnoth
?
I love playing games in my terminal like the good old nethack and so on ... i was thinking that maybe there is someone out there that has it done allredy...
So the question is ... is there any terminal ascii based client for battle for wesnoth
?
Re: Battle for wesnoth.... ascii terminal
It is possible to implement, but I doubt it has been done in playable format.
Re: Battle for wesnoth.... ascii terminal
The problem is that Wesnoth has hexagonal tiles, while the terminal has square (or rectangular) tiles.
So this would not be easy to render nicely in the terminal like other roguelike game are.
But, I agree that would be nice to play the game in a terminal.
So this would not be easy to render nicely in the terminal like other roguelike game are.
But, I agree that would be nice to play the game in a terminal.
Re: Battle for wesnoth.... ascii terminal
I guess one could do something like one of these:
(Of course, I'm using unicode instead of ASCII here – nowadays most terminals support Unicode. Though #4 could be replicated similarly in ASCII.)
Code: Select all
┤ ├───┤ F ├───┤ ├───┤ ├───┤
├───┤ G ├───┤ ├───┤ ├───┤ ├
┤ ├───┤ G ├───┤ ├───┤ ├───┤
├───┤ ├───┤ ├───┤ ├───┤ ├
┤ ├───┤ ├───┤ ├───┤ ├───┤
Code: Select all
❬ ❭─❬ F ❭─❬ ❭─❬ ❭─❬
❭─❬ G ❭─❬ ❭─❬ ❭─❬ ❭
❬ ❭─❬ G ❭─❬ ❭─❬ ❭─❬
❭─❬ ❭─❬ ❭─❬ ❭─❬ ❭
❬ ❭─❬ ❭─❬ ❭─❬ ❭─❬
Code: Select all
╱ ╲ ╱ ╲ ╱ ╲ ╱ ╲ ╱
❬ ❭─❬ F ❭─❬ ❭─❬ ❭─❬
╲ ╱ ╲ ╱ ╲ ╱ ╲ ╱ ╲
❭─❬ G ❭─❬ ❭─❬ ❭─❬ ❭
╱ ╲ ╱ ╲ ╱ ╲ ╱ ╲ ╱
❬ ❭─❬ G ❭─❬ ❭─❬ ❭─❬
╲ ╱ ╲ ╱ ╲ ╱ ╲ ╱ ╲
❭─❬ ❭─❬ ❭─❬ ❭─❬ ❭
╱ ╲ ╱ ╲ ╱ ╲ ╱ ╲ ╱
❬ ❭─❬ ❭─❬ ❭─❬ ❭─❬
Code: Select all
_╱ ╲___╱ F ╲___╱ ╲___╱ ╲___╱
╲___╱ G ╲___╱ ╲___╱ ╲___╱ ╲
_╱ ╲___╱ G ╲___╱ ╲___╱ ╲___╱
╲___╱ ╲___╱ ╲___╱ ╲___╱ ╲
_╱ ╲___╱ ╲___╱ ╲___╱ ╲___╱
Code: Select all
⟨ ⟩─⟨ F ⟩─⟨ ⟩─⟨ ⟩─⟨
⟩─⟨ G ⟩─⟨ ⟩─⟨ ⟩─⟨ ⟩
⟨ ⟩─⟨ G ⟩─⟨ ⟩─⟨ ⟩─⟨
⟩─⟨ ⟩─⟨ ⟩─⟨ ⟩─⟨ ⟩
⟨ ⟩─⟨ ⟩─⟨ ⟩─⟨ ⟩─⟨
Code: Select all
⎨ ⎬───⎨ F ⎬───⎨ ⎬───⎨ ⎬───⎨
⎬───⎨ G ⎬───⎨ ⎬───⎨ ⎬───⎨ ⎬
⎨ ⎬───⎨ G ⎬───⎨ ⎬───⎨ ⎬───⎨
⎬───⎨ ⎬───⎨ ⎬───⎨ ⎬───⎨ ⎬
⎨ ⎬───⎨ ⎬───⎨ ⎬───⎨ ⎬───⎨
-
- Inactive Developer
- Posts: 503
- Joined: April 24th, 2016, 4:18 pm
Re: Battle for wesnoth.... ascii terminal
I was bad enough waiting for the KSR-33 to type out the Star Trek local quadrant. The thought of all that clattering and clanking printing out a Wesnoth map after every turn ... no, just no.
I forked real life and now I'm getting merge conflicts.
Re: Battle for wesnoth.... ascii terminal
Side number would likely be the foreground color (background color is for terrain). If you want the other stuff, you likely need one of the bigger hex variants (some can be scaled easily using ╱, ╲, ─). For HP/XP bars, you can use block elements. And if you select a unit, you can show details in some other part of the screen.
(Of course, all of this is hypothetical. Unless there is an easy way of decoupling Wesnoth's logic from the display engine, noone is going to bother with implementing something like this.)
Re: Battle for wesnoth.... ascii terminal
I don't know how easy it would be to decouple the GUI and the engine but I suspect that if someone were on the case they'd find a solution.
Regarding background color for terrain, that's an interesting question because apart from the 16 basic types, there are also combinations of 2 or 3 types (Mm^Fma is frozen,forest,mountain), and there are some terrains that have a different time of day (like lava, or any terrain when it has a campfire or a [time_area]). What's more, even the type of villages can sometimes be a hint, for example, I think there are scenarios where you see elvish or drakish villages a few turns before you see elvish or drakish units?
time_areas are usually used when some part of a map is caves, but they can also be used without caves:
Regarding background color for terrain, that's an interesting question because apart from the 16 basic types, there are also combinations of 2 or 3 types (Mm^Fma is frozen,forest,mountain), and there are some terrains that have a different time of day (like lava, or any terrain when it has a campfire or a [time_area]). What's more, even the type of villages can sometimes be a hint, for example, I think there are scenarios where you see elvish or drakish villages a few turns before you see elvish or drakish units?
time_areas are usually used when some part of a map is caves, but they can also be used without caves:
Re: Battle for wesnoth.... ascii terminal
Note that you may already be able to run wesnoth in a terminal since SDL has an ASCII art video driver: https://wiki.libsdl.org/FAQUsingSDL (Not that I'd expect that to be a fun experience. )
"If gameplay requires it, they can be made to live on Venus." -- scott
Re: Battle for wesnoth.... ascii terminal
That works for me in 1.12 but not in 1.14. In 1.12 I can actually enter the tutorial but the resolution is too low to be playable. I wasn't able to get framebuffer to work.