Kyle22 Posted May 22, 2015 Share Posted May 22, 2015 Hi Guys, I'm going crazy trying to unprotect SoftPorn Adventure's main program, SPMAIN.BAS. I want to add pictures and music to basically convert it into Leisure Suit Larry. I know I have used Psycho's BASIC-XE Detokenizer program before, but no matter what I try, it locks up on this one. They have done the usual thing with replacing the variables all with $9B, so it won't list properly. Attached is an ATR containing the bootable detokenizer and the spmain.bas file. I don't have my real 800 set up right now, maybe it's an Altirra problem? If someone can try this on real hardware, I'd appreciate it. Basic_XE_Detokenizer_v1.11_1989_06_04_Psycho.atr Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 22, 2015 Share Posted May 22, 2015 The Variable Name Table has been wiped with the Escape character. ATR Tools can display the recovered basic file, but I'll have to add an option to Save it. I'll do this shortly after my daily walk 2 Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 22, 2015 Share Posted May 22, 2015 Other wise my Recover program can do the job too... MYUTIL1B.ATR 2 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 22, 2015 Author Share Posted May 22, 2015 Recover made an error. I'm thinking maybe there is some other form of protection other than wiping out the VNT. Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 23, 2015 Share Posted May 23, 2015 (edited) Deleted ... Listing was bad... Edited May 23, 2015 by AtariGeezer Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 23, 2015 Share Posted May 23, 2015 Recover made an error. I'm thinking maybe there is some other form of protection other than wiping out the VNT. Okay, that might be an early release, I'll check it out... Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 23, 2015 Author Share Posted May 23, 2015 Okay, that might be an early release, I'll check it out... Thanks. Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 23, 2015 Share Posted May 23, 2015 Okay, fixed the output from the deleted post above... NewDisk.atr 2 Quote Link to comment Share on other sites More sharing options...
dmsc Posted May 23, 2015 Share Posted May 23, 2015 Hi, Hi Guys, I'm going crazy trying to unprotect SoftPorn Adventure's main program, SPMAIN.BAS. I want to add pictures and music to basically convert it into Leisure Suit Larry. I know I have used Psycho's BASIC-XE Detokenizer program before, but no matter what I try, it locks up on this one. They have done the usual thing with replacing the variables all with $9B, so it won't list properly. Attached is an ATR containing the bootable detokenizer and the spmain.bas file. I don't have my real 800 set up right now, maybe it's an Altirra problem? If someone can try this on real hardware, I'd appreciate it. Attached is the fixed BAS file, but I doubt it will work. The original program loads the value of all variables from the file "D:INITFILE.DAT" and then saves itself with all that data appended. This is why the BAS file has many extra bytes at the end. I attached my guess at the content of the INITFILE.DAT, you can test if it work. spmain.zip 1 Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted May 23, 2015 Share Posted May 23, 2015 Well, here are some programs to unprotect Basic listings (allthough I doubt they will do the job any better than the program above)... Basic_Lister.zip 3 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 23, 2015 Author Share Posted May 23, 2015 Thanks to all for the help, and those wonderful tools. Now I am going to have a good long session with Mapping the Atari. Quote Link to comment Share on other sites More sharing options...
fujidude Posted May 23, 2015 Share Posted May 23, 2015 Also, if you haven't already, check out George Morrison's book, "Atari Software Protection Techniques." Especially chapters 2 & 6. 1 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 23, 2015 Author Share Posted May 23, 2015 This is a tough one... I'm giving up (for the day). I'm going to study the Altirra debugger commands and have a go with it later on. Thanks for all your help, at least now I have a starting point to work from. Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 24, 2015 Share Posted May 24, 2015 Okay, I did a manual repair. This is now listable and runs fine. Don't modify unless you know what you're doing... Enjoy! Softporn Adventure (1981).atr 2 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 24, 2015 Author Share Posted May 24, 2015 Thank you, Thank you, Thank you AtariGeezer It even appears to work under SDX! My goal is to (eventually) make it into LSL with sound and pictures in TurboBASIC, and compile it. The Turbo-Compiled part may be very difficult, but, thanks to you, I have something to work with. Highly Appreciated, Thanks again! Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted May 24, 2015 Share Posted May 24, 2015 LSL would be really cool, I've been toying with that same idea, but so far that's about it. Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 24, 2015 Author Share Posted May 24, 2015 Upon further inspection, it works perfectly from whatever DOS is on the .ATR, and it almost works in SDX. The description of the room you're in is a little messed up. Should be fixable. Possibly an issue with NOTE and POINT. I'll look into it more tomorrow. Thanx again Geezer! Quote Link to comment Share on other sites More sharing options...
Rybags Posted May 24, 2015 Share Posted May 24, 2015 Mapping won't be of much use. For the low-down on Basic you'd want Inside Atari Basic and The Atari Basic Source Book. Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted May 25, 2015 Author Share Posted May 25, 2015 This thing is really pissing me off... I was attempting to add startup theme music, and the damn thing bombed out just by adding 2 (TWO) files to the disk... That was before I even tried to change a single byte of existing code. I renumbered a program to lines 10000 and above, tried to merge them with SPINTRO.BAS, and the variable names got all screwed up. I know this program pokes up the VNT, but this was even before running the thing. Then I tried to chain load the music by renaming SPSND.BAS (the music prog) to SPMAIN.BAS, and using it to RUN"D:SPMAIN2.BAS" (The original SPMAIN.BAS.) It was a total failure. Even if I changed nothing, only copied 2 files, LSLSND.DAT, a 1200 byte data file containing the theme music, and a small BASIC program to read the file and play it, it still crashed... JUST BY ADDING THOSE 2 FILES TO THE DISK... No changes to any of the existing files whatsoever.... I also e-mailed Al Lowe, and got a reply. He was very nice, but couldn't help because of Licensing and Intellectual Property issues. It seems that the Company owns LSL, not Al. This whole situation Royally Sucks. I really want to do this...... OK, enough of my rant on this. This has been bugging me all day. Quote Link to comment Share on other sites More sharing options...
+slx Posted August 3 Share Posted August 3 Have you tried to run it in an emulator and check what‘s causing the crash? You might also want to check if there really isn’t any data in the sectors where you wrote your two files. The VTOC might have been modified for copy protection purposes. Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted August 3 Share Posted August 3 As an alternative to the standard *UnTokenizers* that creates a new listable file with Generic names, ATR Tools lets you recover the wiped out Variable Name Table by allowing you to apply your own Variable Names (length dependent upon the original VNT size). This method prevents important data in the Variable Value Table from being left-out as in the above Soft Porn Adventure... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.