Distributing casual java games on portals

I’m currently developing a game in Java which I would like to be able to distribute on the casual game portals (big fish, real, reflexive, etc…). Nearing completion, I’m starting to worry about what Java needs to maximize profit on portals.

For example, the portals’ DRM solutions. How can we (java games developers in general) make use of all the tips provided in this thread?: http://forums.indiegamer.com/showthread.php?t=7647

What we would need is a way to wrap java games with the most common DRM solutions, and access their APIs from within java to implement effective nagging techniques.

Just to be clear: I am not worried about people stealing my stuff, I’m worried about not being able to use nagging in my games when distributed on portals (like those developing in C++ are able to).

Any thoughts?

You’ll need to write JNI DLLs to access the DRM APIs. (4 TLAs in one sentence! nice)

Cas :slight_smile:

My understanding of DLL’s is limited, please help :wink:

So if I have a starter.exe that starts the included JVM and my game, can starter.exe then be wrapped and I can still make calls from Java to the JNI DLL’s which in turn call the DRM API? In other words: Any DLL on the machine could potentially call the DRM’s API, or would that DLL also have to be wrapped?

Your starter.exe can easily just call the DRM dlls as normal, but Java will require you to write a little wrapper DLL to access the DRM features.

Cas :slight_smile: