Converting Old KNP & CNC Games to MMF2 & Java
Hi - I have been away from the "Click" scene for a while. However, about 10 to 15 years ago I wrote about 40 games with KNP & CNC. Now I am converting them to MMF2Dev and Java. I thought I would keep a log here of the problems I encounter and how I solve them. And also, get some insight from other members.
The MMF2 error log is a big help, of course, since it targets the problem areas.
Re: Converting Old KNP & CNC Games to MMF2 & Java
Okay - One of the first problems I encountered was with my RTF files. My games are educational and have extensive RTF doc files in scrollable windows. I had always made my RTF files in WordPad and then copied and pasted them into CNC. The old files caused the converted programs to either lock-up or crash altogether. To solve this, I copied them into the current Wordpad (Vista 32-bit Home Premium) and saved it. Then I deleted the old Formatted Text object, created a new Formatted Text object and loaded in the RTF file at runtime. The games would then run on Vista and Windows 7 (64-bit).
I had to remove the RTF's for Java. I could probably have spread them out over 4 or 5 screens each, but that would be a little tedious and add to the game size.
Re: Converting Old KNP & CNC Games to MMF2 & Java
Second Problem - Text Push Buttons - I noticed that the text in my Push Buttons did not change size for different screen resolutions.
Since most of the games were created in 640 x 480, the text on the buttons would be really tiny at a high resolution like many of today's computers have.
First I tried bitmap buttons, using PNG images I had created online with Da-Button Factory. They wouldn't work for some reason.
So, next I tried creating Active Objects and pasting the PNG. These worked fine. Not true buttons, but they work just as good.
I'll be posting one of my games (Acid - Base Arcade) soon, so some of you can see the results and maybe try it on your own computer.
I hope this info helps some people and maybe some of you have insights into the whole conversion problem.
Re: Converting Old KNP & CNC Games to MMF2 & Java
Bitmap buttons ought to work in Java, though, I see no technical reason why it can't (bug to fix?). But it's easy enough to work around as you have discovered.
Re: Converting Old KNP & CNC Games to MMF2 & Java
Hey Chris - Thanks for the input. Converting the old games is tedious because I have to redo just about all of the graphics.
The 640 x 480, 256 colors looked a bit cheap on today's hardware.
But, I'll keep chugging along!
Re: Converting Old KNP & CNC Games to MMF2 & Java
Okay - Is there a way to post your games up on the Clickteam site? I've looked around the screens and the Download page, but can't find anything. Is there an FTP link for doing it?
Thanks to whoever can help.
Re: Converting Old KNP & CNC Games to MMF2 & Java
In the File Archive sub-forum. New Topic > File Manager.
Marv
Re: Converting Old KNP & CNC Games to MMF2 & Java
Marv - Thank you. I'll take a look at it. - Rich
Re: Converting Old KNP & CNC Games to MMF2 & Java
Marv - Hmm..m..m. Not sure it took.
Here is a web link to a site where I'm putting games.
http://www.newromansclub.com/rtcgames
Username = friend
Password = please
Re: Converting Old KNP & CNC Games to MMF2 & Java
Rich, can't download that file (US Facts).
Marv