Jump to content
IGNORED

Color converter for Batari Basic code


Recommended Posts

If there is something I really hate is when I'm coding is checking for every single color code so I can make my NTSC coded game into PAL60.

So I wrote a little window based program in Python with Tkinter that allows you to change all of them via one click, you just have to select your input file and you will have the PAL60 version in the same folder.

 

I set up my own columns, but you can change them if you think you found better matching pairs. There is a checkbox, if it's unchecked, it only searches for COLUBK, COLUPF, COLUP* and *color variables, this is the safe mode, as checked, it will change every single hexadecimal number, so if you have used a hexadecimal number anything besides the color codes, it will mess with your code, so be careful.

 

I added both the executable and the source code into to zip. The exe only works on 64bit Windows, the .py should run on every windows system if Python 3.7 is installed.

Converter.zip

post-43241-0-52031200-1544484130.png

  • Like 3
Link to comment
https://forums.atariage.com/topic/285869-color-converter-for-batari-basic-code/
Share on other sites

To be honest, I had not. :D Before this, I tried to swap them in Notepad, but it was not a good idea. :D

There was a time, before Random Terrain tips and Zoltan's converter, when I converted colors by hand...

It was the dark ages. I made it in notepad, to be honest, but after I learnt Python, I have scripts on my mind. XD

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...