News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_remax

Converted GX4000 .cpr - The topic (repository link in first post)

Started by remax, 22:14, 04 May 15

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Phantomz

@remax

Quote from: remax on 12:00, 04 July 16
Reuploaded as it was corrupted on the wiki

Cheers   :)  No idea why that happened.  :-\

Quote from: remax on 12:00, 04 July 16
I'm gonna update the full package again, big thanks to Phantomz and dragon for uploading all your games :)

No problem  :)  I'll be uploading another game soon.  ;)

I've just uploaded " CoolBox " and a new version of " Jewel Warehouse " to the wiki page.  ;)  You can now Pause with Joypad Button 2, unpause with Button 1, Quit with console pause button.

I'll upload the next game I'm working on asap.  ;D

Phantomz

Ok here is the next game I've been working on, this time I bring you the classic....

" Crafton & Xunk / Get Dexter 8)

Joypad 1 Button 1 to pass title screen.
Language select screen options, Left = French, Joypad 1 Button 1 = English, Right = German.

Use Joypad 1 LEFT and RIGHT to Select control option 1 or 2, Joypad 1 Button 1 to Begin Game.

Option 1 = Walk in the direction you push
Option 2 = Left, Right and Down to Turn, Up to Walk

Joypad 1 Button 1 to Jump
Joypad 1 Button 2 to Pause / Unpause
Joypad 2 Button 1 to Pick Up
Joypad 2 Button 2 to Drop
Joypad 2 LEFT to Recall Xunk
Joypad 2 RIGHT to Pull
Quit game with Console Pause Button

Phantomz

The version of " Crafton & Xunk / Get Dexter " that I first uploaded above gives corrupt graphics for some reason.  :doh:

I've now done a new version which appears to be ok, grab the new version above or on the wiki page.  ;D

dragon


dragon

For the people want play galaxy force normal withouth pokes.

Game with return.

p+1 pausa p+2 abandon.

The people only want view the game with the pokes to the finsih can use the other cartridge with broken return.(with inifinite fuel  poke yo don't die and you dont return).

Tolkin

Hello, is there a "How to" for finding the used Keys in Games?
I tried converting Scramble Spirits to a CPR, but failed with the Keys in the Main Menu.
I tried finding the keys using Winape, but failed.
Maybe someone can throw me in the right direction?

Thanks so much
Tolkin

dragon

I remember this game i think i have it on tape. is a speccy port.

Not exist a guide because every game and cracker is different.

Anyway if you use the bmc version is uncompressed.

http://cpcrulez.fr/GamesDL_arc/index.php?download=dLXnzdK8jbfUv9XDk7vp38S5Y5-4mt_DkQ==&p=aLPi0diuhsXpm9i9k7PiztG_gMXl1dfDlcWj1NnH

with the winape debug breakpoing->add input/output breakpoint "keyboard read".

the breakpoint reveals in(A),c in a &08f2

folowing  A route its load to l and later its return to register a inm &08ff

The instruction in &900 bit x,a sounds familiar to comparing  the bit x of x line of the keyboard.

Programming:Keyboard scanning - CPCWiki

So go to the ret in 0904 and made step in to make the program return the direction where the call is called.

That reveals a structure tipe ld A,x call &085c from &5a31-5a56.


Taking the picture:



For example:

&5a31 ld a,26
&5a33 call &08c5

26= hexadecimal number in decimal (use windows calculator to convert it easy).=38

38 in the picture is the :



38 is the "M".

As cpcpower tells :

"* CHEAT MODE (Invulnérable) :
A l'écran du choix des contrôles pour le Player1 et Player2 enfoncer simultanément les touches O+M (Clavier QWERTY - aucun son ou message ne viendra confirmer la bonne activation du cheat mode)"

Probably is the M of the cheat code.

So to change a key to joypad

1º localize the key you want to change
2º calculate the new code of keypad from the picture.(48,49,4a,4b,4c,4d)
3º Open the dsk wth a hexadecimal editor:

HxD - Freeware Hex Editor and Disk Editor | mh-nexus

Search in the hex editor the hex code of the call and the a.

For example

Ld a,26 call &08c5= search 3e 26 cd c5 08

subtitute in the hex editor the 26 to 4c(joypad fire 1) for example.

save the dsk in the editor and try the changes.

early of that you can try the changes directly modifing the memory in the winape withouth the hex editor.


The Amstrad CPC Firmware Manual - Index
-----------------------------------------------------------------------------------------------------
In the Y/N trainer selection. Make a breakpoint in &bb00 to bb4e(in all rst 08) view the first item stack(the direction where the calls return after finished)..

Reveals the firmware call bb06 is called in &a227


&BB06

KM WAIT CHAR
ActionWaits for the next character from the keyboard buffer
EntryNo entry conditions
ExitCarry is true, A holds the character value, the other flags are corrupt, and all other registers are preserved

So when a key is pressed it return the code to a register.

The subrutine use the ascii code so using this:



For example the &a22a cp 59 is =89 in decimal= "Y".

The keypad 1 fire 1 and two are interpreted by the firmware as  "X" and "Z", so change the cp codes to these letters make the work.


-------------

In the crak intro, using the winape breakpoint keyboard.

Reveals the in(A),c is in 4cc1

Is a standalones subrutine. So.

In 4ccd looks to cp 7f=01111111 in binary.

space is in line 45 bit 7 in the keboard matrix.

Programming:Keyboard scanning - CPCWiki

The cpc interpret the keyboard presses as "0" in binary an "1" not pressed. A keyboard line is former with 8 bits. space is in bit 7 Thats the reason the space=7f

So is necesary change the cp to the pad1 fire 1 pressed. calculting it in binary and hex.

So: 11101111(bit 4 fire 1 pressed)=ef

But pad1 fire 1 is in line 9 not the line 5 where the space is .

So you need locate the 45 and change to 49.

This is located in &4cba ld bc,&f645

Tolkin

Hy Dragon,
thanks for the big explanation.
I can follow the process and it clears a few questions.
I will try to get it by myself now :)

Thanks so much!

Tolkin

Phantomz

@Tolkin

How you getting on?

I've convert the game to be GX4000 friendly, I can upload it in a bit if you want, just play testing at the moment in MESS  ;D

Phantomz

" Scramble Spirits ".

The Cheat ( Trainer ) gives infinite Lives for both Players.

Press the Console Pause Button on the screen with " Press Fire To Start " in the middle to activate the inbuilt cheat, this appears to only work with Player one though.

Enjoy.  :)


xenon

Quote from: dragon on 21:55, 07 July 16
For the people want play galaxy force normal withouth pokes.

Game with return.

p+1 pausa p+2 abandon.

The people only want view the game with the pokes to the finsih can use the other cartridge with broken return.(with inifinite fuel  poke yo don't die and you dont return).

¿Does it have the Game Over problem fixed? :)

dragon

Quote from: xenon on 10:47, 20 July 16
¿Does it have the Game Over problem fixed? :)

Yes, the no poke is another diferent crack and the game over is fixed.


Titus the fox, add password compatibility for gx4000.
pad 1 button 2 toogle on/of music. pad 2 button 2 abandon, p=pause

add to the crak a poke to have 255 lives

left to do add the up,down left right center screen in pad two if the people want  it. :).

Tolkin

Hy, i have started a week ago, but stuck now. I will try fruther, but the next few weeks i start to repair and rebuild my old Vespa Scooter. So it takes a bit, but i will be at it, when i can. (And till then i ignore your Version... not to be lazy and dont do it myself ;)
But thank you very much.

dragon

Is great have another new porter. if you need help with a stuck thing. You can ask what you need.

Phantomz

#1664
Quote from: Johnny Olsen on 08:37, 09 September 15
yes raid works, but you miss the opportunity to press ESC and go to next level if you get one or more plane out of the hangar.
There is no need to bring all plane out.

I've done some more work on " Raid Over Moscow :D

The game is Joypad only now, ESC mapped to Joypad 1 Button 2 to address the above issue.  8)

You can also press the Console Pause Button to Quit game.

dragon

Update titus more pokes.

What is more preferible, depart level works only one time and when you die you return to level one, or al ways returns to the choose depart level.?

Geo Anas

Fantastic thread ! Congratulations and thank you all for your awesome work  :)

remax

Quote from: Phantomz on 00:13, 17 July 16
The Cheat ( Trainer ) gives infinite Lives for both Players.


this appears to only work with Player one though.


I don't understand ...  :o

Quote from: dragon on 21:55, 07 July 16
For the people want play galaxy force normal withouth pokes.

Game with return.

p+1 pausa p+2 abandon.

The people only want view the game with the pokes to the finsih can use the other cartridge with broken return.(with inifinite fuel  poke yo don't die and you dont return).

i don't understand, are there two CPRs or the pokes are selectable somewhere ?


By the way, it hangs on title screen on both my GX4000 and emulators, unless i missed the way to launch the game.


---------------


Everything else (except Galaxy Force) upped to the wiki, including Barbar demo (the conversion by devilmarkus cause the grim  one is locked at launch screen).


Phantomz, you might want to add comments yourself to Scramble spirit  :P
Brain Radioactivity

Phantomz

Quote from: remax on 21:51, 28 July 16
Phantomz, you might want to add comments yourself to Scramble spirit  :P

Thanks for adding the games to the wiki page, I'll add comments to the page.  ;D

Quote from: Phantomz on 00:13, 17 July 16
Here is " Scramble Spirits ".

The Cheat ( Trainer ) gives infinite Lives for both Players.

Press the Console Pause Button on the screen with " Press Fire To Start " in the middle to activate the inbuilt cheat, this appears to only work with Player one though.

Enjoy.  :)

The Trainer cheat when you first load the cart gives infinite lives to both players, however, if you use the inbuilt cheat that gives invulnerability, then it will only work on player one.

dragon

Quote from: remax on 21:51, 28 July 16

I don't understand ...  :o

i don't understand, are there two CPRs or the pokes are selectable somewhere ?


By the way, it hangs on title screen on both my GX4000 and emulators, unless i missed the way to launch the game.


---------------


Everything else (except Galaxy Force) upped to the wiki, including Barbar demo (the conversion by devilmarkus cause the grim  one is locked at launch screen).


Phantomz, you might want to add comments yourself to Scramble spirit  :P


It works in my emulator when i try it. I chek it when temperature go dow to swith on the pc.


Is suposedly one version have pokes. With freeze if you not use pokes. And the other version not have pokes but it not freezes.

remax

Quote from: dragon on 00:56, 29 July 16
It works in my emulator when i try it. I chek it when temperature go dow to swith on the pc.

How do you launch a game.

What do you call "a return" ?

Quote
Is suposedly one version have pokes. With freeze if you not use pokes. And the other version not have pokes but it not freezes.

So, where is the other version ?

And can you explain a bit more where is the problem so i can add it to the description  ;D ...
Brain Radioactivity

dragon

Quote from: remax on 08:50, 29 July 16
How do you launch a game.

What do you call "a return" ?

So, where is the other version ?

And can you explain a bit more where is the problem so i can add it to the description  ;D ...

The urusergui is the other verIon. That in the wiki say: Need a fix - Get stuck after Game Over

Ururgi cpr only stuck when you not use pokes, because it only happend when you die.

This not stuck. It Return to main menu. And the game not have pokes.

I dont remember now how i execute it, because i try it weeks ago..

remax

Quote from: dragon on 09:24, 29 July 16
The urusergui is the other verIon. That in the wiki say: Need a fix - Get stuck after Game Over

Ururgi cpr only stuck when you not use pokes, because it only happend when you die.

This not stuck. It Return to main menu. And the game not have pokes.

I dont remember now how i execute it, because i try it weeks ago..


Ok thank you. I missed that it was in the "need a fix" section  ;)


Well, i can launch the Urusergi's version, but not yours :(


Seems like the Urusergi's version works quite ok, even without pokes. It does some strange things at the game over, but will eventually end up to reset to the screen where you select pokes or no pokes.
Brain Radioactivity

remax

That's right that sometimes you get stuck in a loop where you are sent to the next mission and immediatly you're out of fuel. I had that 1 over 5.

Do you think we should promote it working ?
Brain Radioactivity

MissionComplete

Hi, cpc comunity!!

I have a C4CPC and now I am a child again. In the converted games' page says to reporting here the problems not detected, so here I am. I'm trying to play Batman, of Ocean (1986), and I can't get any object, so I can't go very far in the game. Maybe there is no a button for this function (I think was the "enter" button in my old cpc464). I tried with both gamepads.

Thank you for all your work. It makes happy people like me.

Powered by SMFPacks Menu Editor Mod