Jump to content
IGNORED

Looking for tool to unprotect BASIC program


Recommended Posts

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

Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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! :)

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...