? PTC to SB File Converter ● SmileBASIC Source

Sign In

*Usernames are case-sensitive
Forgot my password
What's going on?? See: Site Update March 2022

PTC to SB File Converter

MYCRAFTisbest, MasterR3C0RD, 12Me21
Public Key
Min. Compat.
5 votes

Note: This project is in dire need of help. If you would like to assist this project, please do not hesitate to contact somebody involved.

Credits: 12Me21 - Created PTCPREPSB file prepper and PRINT5 for accurate print screen emulation MasterR3C0RD - Creating PC version of file parser and file conversion tools MYCRAFTisbest - SB parser, function library, SNDFILE, and anything else not mentioned Takes PTC files and applies changes and custom libraries to them to allow it to run in SB. It is far from complete and doesn't even support things like BG and sprite animations yet. Included is the file converter, a library that the converter adds to the top of files, a GRP named SPUDEF that contains SPU0-7 as a single GRP using PTC palette 15, a modified version of Sendfile for emulating SENDFILE and RECVFILE, and a few demonstration tools on how some of the features work. You will need to run prg files through this program created by 12Me21 before sending it to SB. http://www.galacticspaceagency.com/uploads/6/1/4/4/61446833/ptcprepsb.zip Place PTCPREPSB in the same folder as the file you want to convert and enter the full name and extension. This will replace the converted file so make sure you have a copy if you want to keep an unconverted version. For SPUs, you must use PTC UTILS to create a PNG with RGB mask of the SPU, then use the modified version of Aseprite to save them as a GRP. Make sure they are offset by N number of SPUs depending on which SPU it is. Multiple SPUs can be stored on the same sheet, especially if the game or program being used only switches them once at the start. Second screenshot is from village after successfully being converted with PTC to SB Version 0.3.0

KNOWN BUGS (with existing features)

  1. LOAD and SAVE cause issues when loading file types that no longer exist
  2. Keyboard entry in games is somewhat broken
  3. Spanim, Spangle, Spscale, all missing proper implementation
  4. BG is not handled whatsoever
  5. MYCRAFT is bad at coding
  6. Other things i'm forgetting, check the top of the program where comments of known/presumed bugs are
Instructions Instructions are presented when running the program. Thanks to 12Me21, we can now properly convert characters from PTC You can download it here: http://www.galacticspaceagency.com/uploads/6/1/4/4/61446833/ptcprepsb.zip Palette emulation for text as well as custom character fonts are not yet supported. (Same goes for all color palettes and GRPs) ★☆☆☆☆ Broken: Does not start, syntax error ★★☆☆☆ Menu: Crashes somewhere between booting and starting ★★★☆☆ Starts: Game will start playing, but will eventually encounter an error ★★★★☆ Playable: Game is playable with only minor graphical or audio bugs ★★★★★ Perfect: No issues whatsoever ^^^^^^ (Caret6) ★★★☆☆ (Main game is playable but edit mode is broken, text on lower screen is only white) Dot Racer ★★★★☆ (minor color issues on title, sound issue when collecting dots) Just An Adventure ★★★★☆ (Movement issues, possibly other issues) Man: Hunter of Apples ★★★★☆ (Sprite of shiny red apple does not load) MCDS ★☆☆☆☆ (Not even close to working) Pinball ★★★★★ Race ★★★★★ RACEE ★★★☆☆ (Classic mode and Marathon mode work, all other game modes crash. Graphics are corrupt, requires manual modification of a few lines to boot) RUNRUN ★★★★★ Tales From the Labyrinth ★★★★☆ (Game runs at wrong speed (used VSYNC 2 in place of VSYNC 1 to help) missing custom sprites Tennis ★★★★★ Village ★★★☆☆ (River loads incorrectly, fish spawn off of river, can't fish. People in town will not talk to you.) No other games tested, if you test a game, let me know and if I see it and can confirm it with me, I will add it to the list.
4 Comment(s) Midnight Midnight Deep Sleep Hidden Website Nice concept someone is finally doing THIS yay MYCRAFTisbest MYCRAFTisbest Good Page Hidden Achievements Video Games I like to play video games! Hobbies Deep Sleep Hidden Website Yeah, except I've been far to busy with other things to work on this much. I still need to at least upload the newer version, which is far more accurate. HTV04 HTV04 Forum Leader Hidden Achievements Third Year My account is over 3 years old Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Is there a way to make a version of ptcprepsb for SmileBASIC? If you have a PTC file on SmileBASIC, it would be useful if you could convert it from there instead of sending it to your PC, converting it, then back. Super_Defaultio Super_Defaultio Video Games I like to play video games! Hobbies Day Person I like the warm sunshine and wake up early! Express Yourself Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself This is good, yes, but it doesn't support G-Zero... YET... Keep working hard, man!