Blades of Exile Source Code Released
Pages
Author | Topic: Blades of Exile Source Code Released |
---|---|
Master
Member # 5977
|
written Sunday, May 27 2007 12:05
Profile
Homepage
No diagonals isn't such an enormous hassle. I haven't ever used diagonal movement with the keypad (I always used the mouse) and I'm still here, running along through scenarios. Still though, not having to use the mouse, diagonals or not, would be a blessing. -------------------- Play and rate my scenarios: Where the rivers meet View my upcoming scenario: The Nephil Search: Escape. Give us your drek! Posts: 3029 | Registered: Saturday, June 18 2005 07:00 |
Post Navel Trauma ^_^
Member # 67
|
written Sunday, May 27 2007 14:29
Profile
Homepage
It seems that the putting-resources-in-datafiles thing didn't go as well as I'd hoped, and the program isn't opening them properly. It's fine for the binary releases, since they have the resource forks too because of a quirk of how the resource forks were turned to data forks, but it will mess you up if you try to build. My BoE page now links to an archive of resource files that actually work. Also, release 4 has been put up, which adds the scenario editor. -------------------- Barcoorah: I even did it to a big dorset ram. New Mac BoE Posts: 1798 | Registered: Thursday, October 4 2001 07:00 |
Warrior
Member # 7633
|
written Sunday, May 27 2007 16:02
Profile
r4 is acting stranger than r1 did with regard to windowing. Now it starts up normally but sometimes adds a title bar to the fullscreen window during the startup process, right after the second splash image shows up. I can't figure out what's triggering it, exactly. I'll grab the source after I make this post and take a look at what might be going on. Also, "never show instant help" is completely broken. I'm getting instant help every single time I open the preferences window, whether I've checked the option or not. Rather annoying. Probably want to get rid of the shareware window, too. Replace it with "license info", perhaps? There's certainly no point in telling users that they can send in $30 to get the program on three 3.5" floppies anymore. Posts: 66 | Registered: Saturday, November 4 2006 08:00 |
Law Bringer
Member # 6489
|
written Sunday, May 27 2007 17:22
Profile
Homepage
Any chance of a carbonized character editor? -------------------- "You're drinking liquor because you're thirsty? How nasty is your freaking water?" —Lazarus Spiderweb Chat Room Avernum RP • Summaries • OoC • Roster Shadow Vale - My site, home of the Spiderweb Chat Database, BoA Scenario Database, & the A1 Quest List, among other things. Posts: 1556 | Registered: Sunday, November 20 2005 08:00 |
Law Bringer
Member # 6785
|
written Sunday, May 27 2007 19:52
Profile
Khoth - I did a quick test of save and load files between OS9 and your release 4 versions of BoE on iBook G4 using 10.3.9. Using the default party, enter VoDT scenario and move a square or two before saving, then I quit and start the other version. I appear in a weird spot where the images don't make sense, and if I move I now appear outside the starting fort even though I haven't moved that far. I get the problem no matter which one I start with for creation and then switch to for playing. There is something definitely wrong with the way the versions are reading the player's location in the save files Edit- fixed the typo for version number. Must not let you know about time travel. [ Sunday, May 27, 2007 20:18: Message edited by: Randomizer ] Posts: 4643 | Registered: Friday, February 10 2006 08:00 |
Off With Their Heads
Member # 4045
|
written Sunday, May 27 2007 20:04
Profile
Homepage
quote:Really? :P -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Post Navel Trauma ^_^
Member # 67
|
written Monday, May 28 2007 00:07
Profile
Homepage
Ah, I can't run the old BoE so I wasn't able to check savefile compatability beyond the savefiles people provide for some scenarios, which are generally out of a scenario. I can guess the sort of thing that will be causing the problem (end-of-struct padding is most likely, I think), but I'll find it hard to fix without access to both versions. -------------------- Barcoorah: I even did it to a big dorset ram. New Mac BoE Posts: 1798 | Registered: Thursday, October 4 2001 07:00 |
Babelicious
Member # 39
|
written Monday, May 28 2007 15:28
Profile
Homepage
As for documenting the internals, I'm currently not that interested in digging through looking at game mechanics, although documentation of file formats would help with universalisation and making a more compiler-independent file-loading mechanism. Same thing, really -- the EXS file format is pretty much just the in-memory data structures ejected right onto the disk. Speaking of which, it would probably be a very good idea to change that. One of the first things I'm doing is working on an EXS-to-XML converter -- I'm no great booster of XML, but it makes a very reasonable file format for things like this, especially if you gzip it. EDIT: Hey, Khoth, will you accept documentation patches? [ Monday, May 28, 2007 17:40: Message edited by: Andrea ] -------------------- Pygmalion | Desperance | Djur Posts: 1074 | Registered: Wednesday, October 3 2001 07:00 |
Post Navel Trauma ^_^
Member # 67
|
written Monday, May 28 2007 22:32
Profile
Homepage
Yeah, I'll accept documentation patches. Although since you have a repo online, it would probably be easier for you to push them there and let me pull them than to send them to me. (I'm picturing this as stuff like adding comments. More standalone documentation would probably be better as a wiki or something). [ Monday, May 28, 2007 22:34: Message edited by: Khoth ] -------------------- Barcoorah: I even did it to a big dorset ram. New Mac BoE Posts: 1798 | Registered: Thursday, October 4 2001 07:00 |
Board Administrator
Member # 1
|
written Wednesday, May 30 2007 13:25
Profile
Homepage
I am responding to one of Andrea's comments from another threas. I didn't want to sully that thread with chit chat. "My early examinations tend to support my belief that most of the game's mechanics are completely free of direct references to Mac or Windows-specific code." By the time I wrote Blades of Exile, I was wise enough to try to isolate the system-dependent stuff. I was also doing what I can to make porting much faster (which explains the dialog engine, which might appear insane at first glance but was INCREDIBLY helpful to me over the years). But yes, in the process of cleaning the code, sorting out the game mechanics stuff and isolating it from the platform stuff would be wise. I have already done this in my more modern engines. I apologize for coming so late to the wisdom of this. :( - Jeff Vogel -------------------- Official Board Admin spidweb@spiderwebsoftware.com Posts: 960 | Registered: Tuesday, September 18 2001 07:00 |
Board Administrator
Member # 1
|
written Wednesday, May 30 2007 13:29
Profile
Homepage
By the way, I am having a note added to the Blades of Exile source page directing interested parties to these forums so they can see what is happening. As centralized code repositories pop up, I can add links to those. - Jeff Vogel -------------------- Official Board Admin spidweb@spiderwebsoftware.com Posts: 960 | Registered: Tuesday, September 18 2001 07:00 |
Babelicious
Member # 39
|
written Wednesday, May 30 2007 14:40
Profile
Homepage
Yeah, I can see there was a conscious effort in BoE to separate business logic from display logic. The main issue I'm running into, honestly, is a lack of named constants. Monster special skills, statuses, etc. All told, though, the BoE code isn't too imposing to sort through. I just wish there were more, smaller, and more logically organized files. -------------------- Pygmalion | Desperance | Djur Posts: 1074 | Registered: Wednesday, October 3 2001 07:00 |
Board Administrator
Member # 1
|
written Wednesday, May 30 2007 14:44
Profile
Homepage
"I just wish there were more, smaller, and more logically organized files." I did too. So I just gave up and started over from scratch. My leaving that engine and starting a new one was similar to the process of the Millenium Falcon flying out of the Death Star 2 while it was exploding. Different structures and calls for player characters and monsters. Jesus. I wish I'd been doing drugs so I'd have something to blame that on. - Jeff Vogel -------------------- Official Board Admin spidweb@spiderwebsoftware.com Posts: 960 | Registered: Tuesday, September 18 2001 07:00 |
The Establishment
Member # 6
|
written Wednesday, May 30 2007 15:24
Profile
I'm finding grep to be a very good friend in this endeavor. -------------------- Your flower power is no match for my glower power! Posts: 3726 | Registered: Tuesday, September 18 2001 07:00 |
Babelicious
Member # 39
|
written Wednesday, May 30 2007 16:23
Profile
Homepage
Yes, very. ctags is also invaluable. Posts: 1074 | Registered: Wednesday, October 3 2001 07:00 |
Apprentice
Member # 8704
|
written Friday, June 1 2007 01:24
Profile
quote:Uh, yeah... I got it to the point of almost working (just not opening the external resource files properly AFAICT), and then promptly lost access to my computer for two weeks. I'll send the patch to Khoth soon. Posts: 5 | Registered: Saturday, May 12 2007 07:00 |
Warrior
Member # 7633
|
written Friday, June 8 2007 14:23
Profile
Incidentally, I just built BoE on OS 9 using CodeWarrior, and the windowed mode looked kind of weird there too. I think I figured out what was causing the menu-hiding weirdness, though. BoE defines "HideMenuBar" and "ShowMenuBar", but these were later defined in the Toolbox. Changing these to "DoHideMenuBar" and "DoShowMenuBar" solved a link error on OS 9, and would probably fix some of the startup weirdness under Carbon. Posts: 66 | Registered: Saturday, November 4 2006 08:00 |
Warrior
Member # 6096
|
written Thursday, June 28 2007 01:43
Profile
Homepage
I tried a couple of scenarios on Khoth's BoE release 4 with my iBook G4 using 10.3.9. It seems that the font in talking dialogue box and main menu buttons is different than what it used to be. Not that this is necessarily a bad thing. Otherwise, it seems to work fine (except that I also got an extra title bar after the second splash screen). Posts: 77 | Registered: Sunday, July 10 2005 07:00 |
Off With Their Heads
Member # 4045
|
written Thursday, June 28 2007 06:17
Profile
Homepage
Oh, hey, speaking of the font being different, could we now fix the Mac-Windows font size difference issue? A few scenarios created by Windows designers have text that over-runs the screen on a Mac because of the size difference, and it seems like that would be an easy problem to fix now. Um, unless someone already fixed it while I wasn't looking. -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Apprentice
Member # 4231
|
written Saturday, June 30 2007 16:40
Profile
quote:Release 4's editor doesn't want to create a scenario on my Core Duo MacBookPro. I'm not nearly sure what's at fault but it gives that lovely error code 40 - something bad happened in loading/saving/creating so try again and see if that fixes it. Which it doesn't. It also asks for more memory, but I don't think you can even do that on OS X. Edit: Upon closer inspection I suspect that this has something to do with the total absence of any bladbase.exs. Pasting in the one from the source release 3 is ineffective, though. [ Saturday, June 30, 2007 17:06: Message edited by: Octavo ] -------------------- Lifetime Spiderweb Gamer and Fan of Classic Style Graphics Posts: 42 | Registered: Saturday, April 10 2004 07:00 |
Warrior
Member # 6096
|
written Tuesday, July 10 2007 14:33
Profile
Homepage
A couple little bugs more (not very serious problems): 1. In the main menu, when I click "custom scenario" and then click "cancel", I get a strange message: "this scenario was created by BoE v2.0 or later and can't be run using this copy..." 2. When I open a save file by dragging it on top of the BoE icon, it does the same thing as clicking "load game", except that it doesn't open anything that I choose. [ Tuesday, July 10, 2007 14:34: Message edited by: *Milu* ] Posts: 77 | Registered: Sunday, July 10 2005 07:00 |
Shock Trooper
Member # 5181
|
written Tuesday, August 21 2007 16:23
Profile
Homepage
I'm ripping apart the source code in an attempt to port it to C# (using Mono, for cross-platform winfulness). I have a few questions that someone might be able to help with (possibly JV, possibly someone else): In the structure item_record_type, there are two fields that I am unfamiliar with: is_special and one termed, rather oddly, a. is_special is only used in two places, and from this I cannot figure out its purose. a--no idea there. Can anyone assist? (And for anyone who is interested, what I'm doing is copying over all of the data structures into C# equivalents--and doing minor changes as well to make it easier--before trying to parse the .EXS file. There are enough errors in the Windows codebase that I don't foresee ever getting the thing to really work--better to start over.) Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Shock Trooper
Member # 5181
|
written Thursday, August 23 2007 10:18
Profile
Homepage
I found the use if is_special -- it differentiates node/party/monster item drops from preplaced items. Thanks to TM for the insight. As far as I can tell, a is just a spacer variable... Also, I'm trying to hunt up an old compiler and setup to work on this in its native environment, so to speak. If JV happens to look at this forum--could you tell me exactly what compiler you used? I recall you saying you used CodeWarrior, but which version? Any makefiles? That sort of thing. Posts: 262 | Registered: Thursday, November 11 2004 08:00 |
Apprentice
Member # 9965
|
written Thursday, August 23 2007 16:01
Profile
Is there any compiled registed version for windows? 16 bit will do Posts: 2 | Registered: Thursday, August 23 2007 07:00 |
Shock Trooper
Member # 10488
|
written Sunday, September 16 2007 16:22
Profile
quote:Please, no C#! This is originally a Macintosh game, and C# is basically a Windows programming language. It needs to run on both platforms. quote:Ormus had a Win32 release. Check out this thread. Posts: 334 | Registered: Friday, September 14 2007 07:00 |