pp256 image index maker help - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +--- Thread: pp256 image index maker help (/thread-6508.html) |
pp256 image index maker help - barok - 03-17-2005 i'm trying to port over pp256's image indexer sub to fb. (all that was needed was ptr& to be changed to something else) the program compiles fine, but during runtime the program crashes when makeimageindex is called. Code: SUB makeimageindex (imagearray(), IndexArray()) i couldn't get it working so i tried making my own routine based off of that one.. Code: sub makeindex (imagearray(), indexarray()) i get the same problem. during runtime, it tells me that memory could not be read. any help is appreciated! p.s. i also had to make another change... i couldn't save pp256 images the way they are usually stored in arrays (starting at tiles(1)... the image doesn't display right.) so it starts at tiles(0) instead. that's another change i included in the routines. pp256 image index maker help - relsoft - 03-17-2005 Mine worked fine. I just changed some integers to ushorts. ;*) Ie: change the integers to ushorts if they read from the file. ;*) Hell, you can just change everything to ushorts and it should work fine. I could send mine to you but it's in my sis' comp:*( pp256 image index maker help - barok - 03-17-2005 Thanks rel! Ushort... I shoulda known. :lol: Anyways, I'll try it out, and see what i get. edit: hmm... it doesn't seem to work for me. Yeah, if you could send me what you got, it'd be appreciated. thanks rel! I could also use some help too, Rel. ;) - Adigun A. Polack - 03-19-2005 To Richard Eric M. Lope (Relsoft): I agree with Barok. I also have been having the *exact* same problem with getting the many PP256 tiles to work ( ), just the same (or close to that) as he said from his most recent reply in this thread, even with the âUshortâ parameters set and all, too! Right now, I just started work on getting the individual map-based tiles to work for Frantic Journey on FreeBASIC, and my man, I need those PP256 tiles to work in FB indeed as they are critically essential for the getting the maps to work directly there just like they did for QB. Look, if you can indeed place your FB code to show me and Barok how to properly (and even successfully) work the PP256 sprites/tiles right through the use of a filename, then I would really appreciate it, man! You know, I could use all the help I can get for this important project here, too. I thank you again, Eric, and be seeing you. - Adigun Azikiwe Polack One of the Founders of âAura Flowâ ::: Continuing Developer of âFrantic Journeyâ Current Developer of âStar Angelic Sluggerâ ::: Webmaster of the âAAP Official Projects Squadâ Original Creator of the âThe New FreeBASIC 8-Bit Palette Machineâ pp256 image index maker help - relsoft - 03-20-2005 Sorry, I wasn't able to be on a computer lately. I might have time tomorrow. :*) pp256 image index maker help - Dr_Davenstein - 03-20-2005 You guys know about the conversion program Adosorken made, dont you? Here's the topic... http://fbtk.qbtk.com/phpBB2/viewtopic.php?t=16&start=0&postdays=0&postorder=asc&highlight= And here's the direct download link... http://fbtk.qbtk.com/phpBB2/download.php?id=8 Dr_Davenstein, yes, I have that program that Ado made. - Adigun A. Polack - 03-21-2005 To Dr_Davenstein: Oh man, thatâs right! I remember that one. It was called Advance.PUT, and I have that wonderful program already, man. You know, I might wanna think on using that very proggie indeed as an alternative in case I find out that the PP256 sprites and tiles do not work directly from the next time Rel places his PP256 loading code for FB with which to load the stuff from a file. But hey, ANYTHING is worth a shot, including that thing you just pointed out, Dr_Davenstein, you know that? As *another* alternative, I might be planning on using Allegro game lib for FB to work on the coding of Frantic Journey anew, but we shall see together now. We shall see. Thank you so much now, man, and once again, anything is worth such a shot indeed. :king: Be seeing you later. - Adigun Azikiwe Polack One of the Founders of âAura Flowâ ::: Continuing Developer of âFrantic Journeyâ Current Developer of âStar Angelic Sluggerâ ::: Webmaster of the âAAP Official Projects Squadâ Original Creator of the âThe New FreeBASIC 8-Bit Palette Machineâ pp256 image index maker help - barok - 03-21-2005 yeah, but I'd prefer not to have to load up every single tile individually. I'd prefer a single file, like how pptts does. Unfortunately, when it's loaded, it's one big chunk, kinda useless for my needs. No, my problem isn't in the format it's in, but in making an index maker, which i can't seem to fix. I can load up both .put and .bmp just fine, but my problem lies in indexing the images. |