Comments (9)
Both of those changes are fine with me! I can make the renderer automatically default to SDL if it detects as Linux OS.
from armcom2.
Great - I'll try to get enough work done to send you a pull request over the weekend.
Thanks
from armcom2.
I've added the default to SDL for linux OS to the master branch:
from armcom2.
Tried this on my archlinux machine this evening. python armcom2.py loads the main screen. I can adjust options. But when I hit 'N' it bails with:
Starting Armoured Commander II version 0.4.0
Current keyboard layout: QWERTY
Traceback (most recent call last):
File "armcom2.py", line 9673, in
result = campaign.CampaignSelectionMenu()
File "armcom2.py", line 581, in CampaignSelectionMenu
campaign_list = sorted(campaign_list, key = lambda x : (x['start_date']['year'],
File "armcom2.py", line 581, in
campaign_list = sorted(campaign_list, key = lambda x : (x['start_date']['year'],
TypeError: string indices must be integers
Will be able to look closer tomorrow...
from armcom2.
Great stuff!
Managed to get the very latest version (pulled today) to work. I had to do a few things to get it to work under linux (archlinux).
(1) I had to install precisely libtcod 1.6.5 --- newer versions throw errors.
(2) I had to copy /usr/lib/libtcod*.so.* into libtcodpy_local/
(3) I had to modify xp_loader.py per the diff below (basically, add an if check for 'linux').
from sys import platform
if platform == 'darwin':
import tcod as libtcod
elif platform == 'linux':
import libtcodpy_local as libtcod
else:
import libtcodpy as libtcod
import binascii
from armcom2.
Thanks for the info; I can modify xploader but I don't have access to the /usr/lib/libtcod*.so.* files; can you submit a pull request to add them to libtcodpy_local/ ?
from armcom2.
I'd just add to README (which was in the README for libtcodpy anyway) to cp the libtcod so files to that directory, since those are linked files.
from armcom2.
Sounds good!
from armcom2.
I've added these instructions to readme.md, so I'm going to mark this issue as closed for now.
from armcom2.
Related Issues (20)
- crash on new day HOT 2
- Crash on air support HOT 1
- anti-tank gun 105 K/13 protected from Close Combat ;) HOT 1
- Sight Range after taking Light or Serious wounds HOT 3
- Crash on close combat HOT 2
- Day not changing HOT 1
- Date issues in the Liberation campaign. HOT 2
- Add "no ammo" warning with auto-fill at the start of the day. HOT 2
- Clarify the rules around Close Combat. HOT 5
- T-28 main gun incapable of Maintaining Fire? HOT 1
- Ammo Loading Screen Broken HOT 2
- General unit/mechanics suggestion megathread HOT 9
- VP values after moving to a new map screen HOT 1
- Problem with Battle of France (Germany) HOT 5
- Ambush at start of battle seems to happen more frequently HOT 3
- Need a check to prevent using Advancing Fire and Call arty support when using the Wait command HOT 5
- Line of sight blocked units still use normal spotting HOT 2
- September Campaign gets stuck on Semptember 25 HOT 1
- OSX No such file or directory: 'saved_campaigns/'
- Attempting to Access Crewman Menu When No Crewman in Hospital Causes Game Crash HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armcom2.