Should I stop making my RPG?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Should I stop making my RPG?

Post by coma8coma1 » Sun Aug 09, 2009 5:14 pm

I started making an graphical turn-based RPG about 11 years ago in QB45 on Win95. I've dabbled with it on and off over the years and I've put alot of sweat and tears into it and it's finally starting to look like something, but I've noticed that it doesn't seem to run on anyone's computer with Vista.

Last fall I just plain gave up. I figured what's the point in finishing the project if it's not going to run on anyone's computers. My compiled code gives errors when run. I forget what it complains of, specifically, off the top of my head.

I'd love to share my game with the world, but is there any chance that my compiled QB games will run on the computers of tomorrow? Is it possible to simply port my game to a more modenr language, or will I have to recode everything from the ground up? (not somethni I'm looking forward to doing)

What is everyone's opinions and experiences with QuickBASIC and Vista, etc?

User avatar
burger2227
Veteran
Posts: 2373
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Sun Aug 09, 2009 6:06 pm

Check out QB64. It is a Qbasic to C compiler that has almost all of the QB commands. The only major things missing have to do with multiple module commands like CHAIN and COMMON SHARED. They should be done later this year.

It can load most kinds of image files such as BMP, JPEG and GIF straight to the screen without extra code. See the link below.

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Sun Aug 09, 2009 11:07 pm

downloading it now from http://www.qb64.net/qb64v0840-win.zip

thanks bro. i hope my code doesn't choke on it :) The though of no size limit gives me that tingly feeling i get when i get the itch to program :OD :O D:OD :OD

User avatar
burger2227
Veteran
Posts: 2373
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Sun Aug 09, 2009 11:30 pm

Hope you can get your code to run on it. You can use Print Screen with QB64.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Aug 10, 2009 12:14 am

that so true!

i haven't installed QB64 yet, but I bet I could even run just the display engine code if any other parts of the program give me any trouble

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Aug 10, 2009 2:37 am

Well, I'm playing my game now and it looks like the only glitch is in the DRAW command (which i understand won't be fully functional until v0.841) as it seems to draw everything in a bright yellow, almost white, making my on-screen text and menu selections that use my custom text routines unintelligible. no big deal.

my program size is maxed out (BAS file is about 140kB) and loads up TONS of files containing graphics and other information, and i'm literaly at the edge of how much memory I can use, both in the code itself and for variables. and i thought for sure I'd be spending weeks picking thru the code and fixing various incompatibilities.

nope!

soon as it compiled my program popped up all tiny and windowed and i just hit Alt-Enter and began hacking and slashing monsters!

this is very promising. I can't wait to give out the new compiled EXE to people who couldn't get it going on their machines.

User avatar
burger2227
Veteran
Posts: 2373
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Mon Aug 10, 2009 1:03 pm

The new update should be out soon as he is promising a new Linux version too. That is running late. DRAW is already available in the latest version, but it may have a problem.

Do you want the program to be fullscreen at start? I've mentioned that option to Galleon before.

Report any problems to the Discussion forum!

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Aug 10, 2009 2:47 pm

burger2227 wrote:...Do you want the program to be fullscreen at start?...
I do. I use SCREEN 13 almost exclusively and my games look like ass until you Alt-Enter them lol. If it's an easy fix then it would be a useful feature to have some kind of switch at compilation or a meta command.

I recognize that maximum compatibility with QBASIC code is Galleon's number one priority right now, and until that is finished I don't expect any favors or special requests, but thanks for petitioning. I plan on joining the forums over there soon; I spent an hour or two late last night digging through them trying to get familiar with the project, and I must say I'm terribly impresed. I'll join the forums at qb64.net if only to thank Galleon and everyone involved for doing more for the QB community that anyone else in probably a decade! lol

As for the DRAW command, i noticed that one character in my custom font which utilizes it doesn't get mangled. This one character, which happens to be the uppercase "B" is the only character which doesn't begin with a PSET STEP(x,y), color, as the B just starts drawing. They way my 'Text' routine works is an x,y coord is defined when it's called and the position is PSETted before DRAWing begins. There's a few other places where DRAW command works fine too. So I'm guessing it's the PSET command that's not implemented yet, not DRAW as I'd previously thought. It just seems to be changing the color of my DRAWings to offwhite for some reason.

In the meantime I'll continue to work on levels and graphics, mosnters and items and junk, using my existing QB71 compiled editors (I've got 3 separate editors) which still work fine for now.

I'm stoked. I hope this means I can continue my project. :thumbsup:

angros47
Veteran
Posts: 72
Joined: Mon Sep 08, 2008 12:52 pm
Contact:

Post by angros47 » Mon Aug 10, 2009 2:58 pm

If you need a better dos emulator than the one included in winXP, use dosbox http://www.dosbox.com, it allow you to run your old programs in the original qb (so even external libraries can be used).
Should work even in vista (even 64), and emulates 16-bit modes even if the os doesn't support them. Of course, there is even a linux and a mac version.

Be careful: it's an emulator, so if you make exe files, they will have to be run in the emulator, too, otherwise all the problems you experienced will come back. Don't use it to develop programs/games for masses, because many peopla don't know how to use dosbox.

There is also another dos emulator, called JPC, written in java and working as a browser app: you can use it to embed your final game in a web page (altough a bit heavy, java+dos emulator+dos+game)

Dosbox is free and open source.

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Aug 10, 2009 3:25 pm

angros47 wrote:If you need a better dos emulator than the one included in winXP, use dosbox http://www.dosbox.com,..
Dragon Stone Quest never ran in DosBox. Somethign to do with it being required to CHAIN from module to module, which was nessecary due to memory limitations on QuickBASIC. It couldn't recognized certain folders that weren't mounted or something, I forget. But, now that I plan to continue development in QB64 this apparently fix both problems. :)

+1 for DosBox though. We used it to play some old AD&D DOS games recently on a Vista machine.

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Mon Aug 10, 2009 5:19 pm

So if there's no forum for QB64 here at Pete's, and I'm not allowed to ask support questions about QB64 over at QB64.net, then where do I ask about the PSET problem I'm having?

User avatar
burger2227
Veteran
Posts: 2373
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Mon Aug 10, 2009 7:09 pm

Please don't tell me that Harry Potter is keeping this place alive! You are doing a DAM good job yourself! :P

You CAN ask ANY questions at the QB64 Forum, but.......

The number 1 Forum is: http://www.network54.com/Index/10167

But please mention QB64 and PSET in your post title, like you would do here.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Tue Aug 11, 2009 12:06 am

i've posted my question over at qb64, but the more i think about it I don't know if it's the PSET command causing it because I have plenty of PSET graphics in that game, and *only* the Text routine is boogered up.

I'll probably be up all night experimenting with it to see if i can help get to the bottom of it.

User avatar
burger2227
Veteran
Posts: 2373
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Tue Aug 11, 2009 1:29 am

You should post some of your code there for Galleon to try.

He may have missed something!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Tue Aug 11, 2009 3:16 am

burger2227 wrote:You should post some of your code...
I've posted a snippet of code here http://www.qb64.net/forum/index.php?topic=345.0

Please ignore the first two posts. it's just me blathering about trying to figure out what's wrong.

in the 3rd post i quote a few lines of code i was playing with that generate three red lines with PSETs and DRAWs. In QB64 the last line is white. I think I understand why.

bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm » Wed Aug 12, 2009 3:26 am

burger2227 wrote:The new update should be out soon as he is promising a new Linux version too. That is running late. DRAW is already available in the latest version, but it may have a problem.

Do you want the program to be fullscreen at start? I've mentioned that option to Galleon before.

Report any problems to the Discussion forum!

Ted
You happen to know does next *nix version provide compile.exe too, or does the code need to be load/compiled throught to IDE? I think i di dread somewhere that it should be in next version, but not sure.

Post Reply