Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - KrazyK

Pages: [1] 2 3 4 5 6 7 8 ... 13
Purebasic / ICS cracktro remakes
« on: March 21, 2018 »
Another 2 ST remakes, this time from the International Cracking Service (ICS)
I've got 2 weeks off work so i've been busy...    :carrot:

[edit] made a better sine wave for the DGeneration scrolltext.  Happy now.

I know the original music came from the game Thrust but i'm not sure which demo it was in.  Time to start delving... :)

Purebasic / Sync - Fire and Forget Cracktro remake
« on: March 19, 2018 »
Just found this group last week so I decided to do one of their cracktros.  It seemed like a simple straightforward one at first but the font took a bit of ripping along with the scrolltext as it was hidden/crypted.  Finally got the raster bars routine cracked after a little bit of head scratching too.
This one took me a day from start to finish unlike a few other s where i've been on for days and days.

Full source included here including my custom Transparent image drawing library for x86 & x64.

This code though will only work with an x86 version of PureBasic 5.x due to the x86 OSME library.


Purebasic / Re: [Retroremake] Amstrad CPC for fun
« on: March 04, 2018 »
Nice work padman.  And here's the memory loaded dll version for a single exe file.  Added and changed a few lines to keep the window on top, hide the cursor and stop the crashing when clicking outside the window.  Still only x86 as Padmans says as there's no x64 dll.

Purebasic / Re: Star Wars Scroller / Crawler
« on: January 23, 2018 »
Ah crap!. 
I'll go back through and make sure all variables are doing what they're supposed to be doing! This may take some time.  Now 3 machines i've tested all appear to work fine.  Argghhh...

Purebasic / Re: Star Wars Scroller / Crawler
« on: January 22, 2018 »
Hi ttemper, the compiled  exe should work on x64 too.  I guess not on yours though.
I've tried it on two  machines here.  x64 laptop with intel gfx, x64 pc with nvidia gfx.
What happens when you run the example code after copying the x64 library over?
Try changing the screen dimensons and post a screenshot. The screen height must be at least 200px.  Try 1600x900 as that look kinda nice.
Try installing the starwars.ttf font attached here in the zip to see if that makes any difference.

Purebasic / Re: Star Wars Scroller / Crawler
« on: January 19, 2018 »
Here's the first version of the x86 library compiled using 5.61.  Don't use it on x64 as it will not work.
I've tried to make it a simple as possible to use and only has 2 commands:

Crawler_Init & Crawler_Go
See the example for further details.

I've  included a small example which i'm sure can be added to for the full intro effect.

New version 1.01 with a few extra parameters for x86 and x64

Also included is a nearly finished intro.

Purebasic / Star Wars Scroller / Crawler
« on: December 21, 2017 »
Has anyone ever managed to do a decent Star Wars scroller/crawler in PB without using the 3D engine or any other 3rd party 3D libraries like MP3D or Epyx?
I tried ages ago and failed but having been inspired by the latest movie release i've tried again and think I may have cracked it this time.  It's still early but it's working very smoothly and without and 3D libraries, just standard PB calls.  I'll make it into library and add a piece of test code when I have a bit more time as it's just an initialization call with the text address, width and height of the screen then a call from within the main loop to keep it going.
Quick screenshot of work in progress.

I don't have the Epyx library set up on my PC anymore so I can't test your code but here's the starfield canvas library attached with you previous modified code as an example.
Just rem out the bits you want for either 2D or 3D.

Put the library in your purelibraries\userlibraries folder and restart the compiler.

It's just a case of creating a canvas gadget and specifying the number of stars and the speed.  The starfield routine runs in a thread so it never disappears when you drag the window around or open a file requester.

I do see a problem if you release our patcher though.  You will have to distribute the fmod dlls  with the exe. 
You could use the built in PB commands though to use the Modplug format files like XM.

Code: [Select]


Define szFile.s
Define Text_offsetV.i


OpenWindow(#wmain,150,50,500,360,"Single .EXE Dynamic patcher Jmg@2017 Esc to quit", #PB_Window_ScreenCentered)
SetWindowColor(#wmain,RGB(14, 10, 100))

Text_File = TextGadget(#PB_Any, 150, 15, 290, 20, "", #PB_Text_Border)
Text_f1= TextGadget(#PB_Any, 50, 20, 30, 20, "File")
SetGadgetColor(Text_f1,#PB_Gadget_FrontColor,RGB(154, 154, 154))
SetGadgetColor(Text_f1,#PB_Gadget_BackColor,RGB(14, 10, 100))

Text_offsetC= TextGadget(#PB_Any, 50, 50, 90, 20, "Decimal Offset :")
SetGadgetColor(Text_offsetC,#PB_Gadget_BackColor,RGB(14, 10, 100))
SetGadgetColor(Text_offsetC,#PB_Gadget_FrontColor,RGB(154, 154, 154))

Text_offsetV= EditorGadget(#PB_Any, 150, 45, 90, 20)

Text_valueC=TextGadget(#PB_Any, 50, 80, 90, 20, "Decimal Value :")
SetGadgetColor(Text_valueC,#PB_Gadget_BackColor,RGB(14, 10, 100))
SetGadgetColor(Text_valueC,#PB_Gadget_FrontColor,RGB(154, 154, 154))

Text_valueV =EditorGadget(#PB_Any, 150, 75, 90, 20)
Button_SelectFile = ButtonGadget(#PB_Any, 50, 320, 140, 20, "Select File")
Button_PatchFile = ButtonGadget(#PB_Any, 310, 320, 140, 20, "Patch File")

Procedure.l Patch(file.s,location.l,byte.b)
  If OpenFile(0,file)
    ProcedureReturn 1

;-=======================  Starfield Code ====================================================
Procedure Draw_Threaded(T)
   ;KK_DrawStars2D(0.05)    ;minus =left
   KK_DrawStars3D(-0.05)   ;-only use minus values for 3D


;KK_InitStars2D(250,1)                      ;-number of 2D stars
KK_InitStars3D(1000,1)                      ;-number of 3D stars, canvas number
CreateThread(@Draw_Threaded(),0)    ;-draw it inside a thread.  You can use BindEvent but it does flicker a bit.


Delay(1)          ;-give some time back to other windows.

  Select WindowEvent()
Case #PB_Event_Gadget
      Select EventGadget()
Case Button_SelectFile
          szFile = OpenFileRequester("Select file to patch", "", "*.*", 0)
          If szFile
            SetGadgetText(Text_File, szFile)
Case Button_PatchFile     
          offValue=  Val(GetGadgetText(Text_offsetV))
          byteValue = Val(GetGadgetText(Text_valueV))
          Patch(szFile, offValue, byteValue )
          MessageRequester("Info"," File patched successfully ! ...")
Until GetAsyncKeyState_(#VK_ESCAPE) 

You can probably use the graphics command (not sure on MAC ) but not the sndh replay as that windows only.  Try taking out the sndh replay bits and see what happens.

Hi waste,
What version of PB are you using as I have a custom 2D / 3D starfield library that you can draw on a canvas gadget?
You don't need to use the Epyx FX library with this library.

It's only for x86 at the moment but I can easily recompile it for x64.

Attached is your compiled code with both variations. 
I can put tegether a sample piece of code if you want to use it.


Projects / The Fingerbobs - Ripped Off 87 remake
« on: August 26, 2017 »
Here's a quick remake i've just discovered by The Fingerbobs from 1991.  Watched the little man for ages on this animation and still cant's figure out where it starts !

Projects / Re: Back once again...
« on: August 06, 2017 »
Thanks guys.  I've re-compiled it now and it doesn't lose focus and crash.  :cheers:

Projects / Re: Back once again...
« on: May 25, 2017 »
Sweet ! :updance:

Projects / Re: Back once again...
« on: May 24, 2017 »
Hi rbz,
Thanks for uploading the latest one for me.
The rest are not on RR yet......but, if you're feeling bored though......  ;D

Projects /'s been a while...
« on: April 28, 2017 »
Long time since a I coded anything so I turned on the laptop this week and found another remake to do just to keep my brain firing.
It's a relatively simple one from Lightnings consisting of the following:

3 different size scrolltexts
Info text in the top raster controllable by UP/DOWN arrows.
Raster VU bars
Rasterblinds changing main logo.

Tested on Win32/64

Purebasic / Re: PB 5.60 beta 1 on the place
« on: January 28, 2017 »
Nice, I'll take a peek at this later.

General chat / Merry Christmas 2016
« on: December 24, 2016 »
I'd like to wish everyone here a very Merry Christmas for 2016.  :xmas:  And in the true spirit of giving, here's a little Christmassy intro I knocked up in the past couple of days.  Have a great time ....and remember, never eat yellow snow !

Nice remake. Always good to see someone elses Purebasic code. 
Thanks for posting.

Projects / Re: Back once again...
« on: December 11, 2016 »
3 more this time:

A nice big scrolltext from Lemmings and a not so quite as big scrolltext from Elite/Hotline.
And one from bastards International, again, I had never head of them until last week!

Pages: [1] 2 3 4 5 6 7 8 ... 13