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 are coming…


The game has now been submitted to Apple, I can only wait for their reviewing process to take place. As long as everything is ok, it will be in the App Store on the Winter Solstice, Dec 21st.
It’s been a funny few months, the last six weeks being particularly hectic. I finally played the game through on Friday and Saturday, as I did the last minute checks before the submission. It’s probably the first time I have played the game properly for a long time. I have to thank all the testers who made sure that I didn’t need to!
Anyway, I really enjoyed it! Even if I do say so myself, “It ‘aint half bad”. I am really really happy with it. I know it’s not the game that Mike and I originally set out to release, but I am pretty sure that Mike would be happy with the decision that I made, and the actual result.

The website is now live at www.thelordsofmidnight.com

Related Posts:

  • No Related Posts

The Solstice is nearly upon us…

The Solstice is nearly upon us and Doomdark is already waking from his slumber. We must reach the Tower of the Moon by tomorrow, yet our ride promises to be long and hazardous.

The last few days have seen many issues knocked off the list for Lords of Midnight, two of them were show stoppers! Right now my actual TODO: list has 3 items on it. That said, every night, before I start working, I run through the game and add all the issues that crop up to my list; it seldom stays short for long… That said, I almost have a product that I am prepared to ship, even if not 100% happy with it. But then, when are we ever 100% happy with something.

Tonight I will be finishing off the tutorial system in the game. It’s not ideal and it’s a little wordy, and to be honest at this moment in time it is so in your face that I’m tempted to remove it. But knocking off the rough edges tonight should do the trick. After that I need to finish the manual, which will be online. And that should be it.

I will make another few passes through the game trying to snag issues that annoy me more than anything else. I suspect most of those issues to be cosmetic ones that drop out of resolution changes, or physical ones raised because of small hit zones on phones. I am the least happy with 480×320, the iPhone 3gs resolution. But hopefully I can get it more acceptable over the next few days.

It’s been a long six weeks since I made the decision to continue with the project in its current form. I’m not sure how much sleep I’ve had. They have been longs days that have often finished at 2am, with the following day still starting early. Then straight from office after an hour drive and into the study to start the process again. But all that said, I am really happy with how it has come together, it looks great. Sure there are loads of things that I would change. But every-time that I write a change on a list, I have asked myself, “how much does this really matter to the person playing this version of the game? And that has been the thing I have had to keep sight of, it’s this version of the game, and this version of the game needs to ship. There are a number of things I can tweak, but I can tweak them later.

So, currently, I plan to submit the iOS version to Apple on Friday, with a scheduled release date of The Winter Solstice, That gives me nearly three weeks for it to bounce in and out of the Apple submission process if necessary.

Related Posts:

Tower of the Moon

Related Posts:

  • No Related Posts

The Lords of Midnight

Related Posts:

  • No Related Posts
%d bloggers like this: