Deprecated…

I was feeling a little depressed last night, thought I’d wallow in the understanding that I was going to end up, moving on…

I’m working away, (again), at the moment. So I left my hotel and went for a walk, then into town to get something to eat. Found a nice homely Italian restaurant, and settled on some pasta, and beer, and wine, and desert, and Limoncello, and coffee…

I got back to the hotel and decided to Kickstart the ZX Spectrum Next. I figured that I might have a play around with it when it comes out. Started to think about finishing off the OpenSourceing of the codebase that I started previsouly. I then decided that I needed to give Timbles one last chance. I’d been unable to build LoM and DDR as 64 bit, but hadn’t tried Timbles. It failed! BUT, it failed differently. Hmmm… interesting.

Marmalade uses a project file called an MKB. The cross platform nature of it means that you create the actual project from the MKB file. So if I’m developing on Mac under XCode, I don’t hand the XCode project to someone developing on Windows, just the files and the MKB. From the MKB file they will be able to create a Visual Studio project.

This would be the only thing that would affect the build process of the different Apps. I took a look through the MKB file and found a couple of odd entries, entries that looked like they pertained to processor. These entries were in the iOS section. Now, I didn’t think there was anything in the project file for processor selection, that happens as part of the build process, AND I didn’t recognise the config options, I certainly hadn’t put them there. Now, I’ve had this before when an older version of Marmalade has added some options, or the options were necessary at some stage, but the system has evolved – yet the project has not been cleaned up.

I deleted the options and rebuilt… Success!

Quickly loaded the app onto my device… fail!

Not disheartended though, the failure was a memory issue. A quick check of my memory configs and I noticed that I don’t have enough memory allocated against the new devices ( as decided by screen resolution ). I’m testing on an iPhone7. Change, compile, deploy… fail!

It got further though… This time it is complaining that the TME databse is invalid. The MagicNo that I used to identify the database and to check endianness, is wrong. I figure that this is a 64 bit issue… I check my definitions of u32 ( being an unsigned 32 bit ) and the definition is unsigned long. Longs change to 64 bit, so I’m reading 8 bytes for the MagicNo and not 4 bytes, I should have used int. I check all the type definitions, check all the places that I’m using longs in the project. Change, compile, deploy… fail!

This time no error message, just crash straight out. So I add more logging and identify the image cache sorting routine. It’s using the c++ qsort function to sort a series of pointers to objects… in the code I noticed some funky casting going on, which happens to be using *(u32*) – that should be using longs. Change, compile, deploy… fail!

Hmmm… more tracing and I find another sort routine! So I change that and then search the code for any code that is doing a similar thing. Change, compile, deploy… success!

A quick play through and everything looks ok!

I upload to app store and the upload fails. It doesn’t like the binary. The reaon – it’s because the payload has the iTunesArtwork embedded in it, and Apple stopped doing that a while ago. Change, deploy, upload… success!

Download the app and everything is ok. So I push a version to external testing. This requires Apple to review and clear it. At 1:45 the app is cleared. I’m now ready to externally test. I really need to test against all the new devices that have been released by Apple over the last few years. Resolution will be the issue…

But… we’re on. This means that I can now push a new version of LoM and DDR out and buy myself a lot more time to transition to a new system.

Related Posts:

The Lords of Midnight and Doomdark’s Revenge

DDR_LOM_advert

Related Posts:

  • No Related Posts

Are we there yet…?

lordsofmidnight_avatarI should be working, but today has been a nice day, and I’ve been a little distracted. I’m at the end of week 5 for Timbles, and on the whole, everything is coming along fine with that.

However, I can’t help myself but think about the last 7 months. During that time I have managed to release The Lords of Midnight for iOS ( iPad, iPhone, iPod touch ), Android, Blackberry Playbook, Blackberry Z10, Mac OSX, Microsoft Windows, and Kindle Fire. I find it odd, that I often berate myself for not having brought all the versions to market as quickly as I had intended, however I need to remind myself that there is only me for the majority of the time, and support from Jure for the graphics, and I am only working on it part time.

With the release today of the Windows version, I feel close to wrapping up this little chapter that started… well it’s hard to say when it started. 30 years ago with the release of the original game, 24 years ago with my work on the DOS version, 14 years ago with my Windows version, 5 years ago with the opening of the Apple App Store and approaching Mike about releasing it for iOS, 2 Years ago when Mike finally said yes, or 9 months ago upon his death.

On Monday I intend to try and build a beta Windows 8 Phone version that will allow me to get a Windows 8 Phone through a Microsoft/Marmalade promo programme. This is how I approached the Blackberry versions. With full acceptance from Microsoft after that, the Windows 8 Phone version should be available in their store later this year. Not before the end of August I suspect, mainly because I have a 3 week holiday coming up. Once that is done, I don’t think I will be looking at any other platforms, although I must admit, I would love to see it on a console in some fashion…

There is still a lot I would like to do with LoM, but that will have to wait. I intend to push out a couple of updates this year, there are some new features for the mobile versions, and no doubt some bugs in the desktop versions. But my main focus will be Doomdark’s Revenge now. Only after that is released can I really take stock of the games and come up with some major grand plan. I would like to release one major update every year, and I do have the ideas that would fit into that category.

The last seven months have been more hectic than I imagined, the next seven months I suspect will be much more so. I must remember to take more time to think…

Related Posts:

  • No Related Posts

The Lords of Midnight are moving…

With the release of the game getting ever closer, I have decided that all blog posts regarding the game will move to the dedicated site. The address for your bookmarking…

www.thelordsofmidnight.com/blog
www.thelordsofmidnight.com

I have copied historical posts for completeness and hidden them from the main home page of this site…

Related Posts:

  • No Related Posts

The Moon Ring, the last of the Great War Rings of Midnight


Both Apple and Blackberry versions have now been approved… the War of the Solstice is truly nearly upon us. Available in both stores on The Winter Solstice, Midwinter’s Day, 21st Dec 2012.

Over the next week I will be working on the Blackberry10 version ( to be ready at launch ), and the Android version. Hopefully the Android version may also hit Google Play store… something to aim for.

Related Posts:

  • No Related Posts
%d bloggers like this: