Enterprise Forever

:UK => Enterprise DevCompo => Enterprise DevCompo #2 => Topic started by: geco on 2016.December.14. 22:21:38

Title: [Conversion] Wolf2004
Post by: geco on 2016.December.14. 22:21:38
Conversion of ZX Spectrum game Wolf2004 (https://enterpriseforever.com/letoltesek-downloads/egyeb-misc/?action=dlattach;attach=16889) ,the program is EXOS compatible, plays Digi and Dave sounds on the same frequency on turbo machine also, there is no music on EP with 128KB RAM inside game, but there is on expanded machines.
F1 can be used to skip intro on Tape configs.
Return from parts which plays digi music is possible by pressing space only, otherwise ESC can be used also

ingame controls:
move: Int/Ext1/2/mouse
S: save state (0-9 select slot, enter finish)
L: load state (0-9 select slot, enter finish)
H: moving head on/off
V: screen size small/big
M: Music on/off
R: set ray precision
F: show fps
C: show elapsed time
F2: spectrum screen
F3: 4 colour screen
F4: mouse mode: fire: left button, turn
F5: mouse mode: move forward: left button, move backward: middle button, fire: right button, turn
F6: mouse mode: fire: left button, turn and move
F7: cheat on
F8: cheat off

Game menu
[attach=1]

Ingame
[attach=2]

Picture before level
[attach=3]
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.15. 09:51:51
Great!

I have put it on the EnterMice wiki's list of games.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.15. 10:03:41
Great!

I have put it on the EnterMice wiki's list of games.
Is it working Correctly?
I could not test medium mouse button, and I did not test it on real ep :oops:
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.15. 10:24:36
This evening I will test it on the real machine.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.15. 10:36:39
This evening I will test it on the real machine.
Thank you very much :)
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.15. 11:04:16
By the way.... what does the middle button? On the emulator I don't see its effect.

The game would have better gameplay with mouse if forward and backwards where made with the wheel.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.15. 13:04:15
By the way.... what does the middle button? On the emulator I don't see its effect.

The game would have better gameplay with mouse if forward and backwards where made with the wheel.
Theoretically middle button goes back, I do not think it is a good idea to turn the wheel so much times ;)
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.15. 15:16:28
Then, use the vertical axis to do forward and backwards, like with the joystick. You can save time not reading the middle button.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.15. 16:03:24
Then, use the vertical axis to do forward and backwards, like with the joystick. You can save time not reading the middle button.
I do not read vertical Axis :D
I tried to play once a game in this mode, it was horrible, continuous mouse move forward lift up take back, move forward.
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.15. 16:58:17
But you can implement a retard, if Up or Down are "pressed" less time than a limit, there isn't movement.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.15. 17:45:26
But you can implement a retard, if Up or Down are "pressed" less time than a limit, there isn't movement.
Possibly I do not understand what you explain above, I do not like the movement forward/backward by mouse move forward/backward, it becomes horrible after a certain time.
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.16. 01:57:57
I have tested the game on the real EP, and it behaves exactly like on the emulator, i.e. the middle button click has no effect.

You said "I do not read vertical Axis :D", but you must read it and discard immediately, because the other three "software" buttons and wheel are read on the subsequent received nibbles.
Title: Re: [Conversion] Wolf2004
Post by: pear on 2016.December.16. 06:38:50
The buttons 3..5 are on the second byte, two wheels are next on the third.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.16. 08:53:20
I have tested the game on the real EP, and it behaves exactly like on the emulator, i.e. the middle button click has no effect.

You said "I do not read vertical Axis :D", but you must read it and discard immediately, because the other three "software" buttons and wheel are read on the subsequent received nibbles.
Thank you very much, I misunderstood the doc and the shortest mouse routine, I thought that the middle mouse button are biven by bit0 of the ext joy reading, I was stupid, and mixed the direct port reading with the readed values by mouse routine read byte values, this is the reason why it worked without reading V axis, and middle mouse does not work.

        xor     a
        out     (0B5h),a
        in      a,(0B6h)

Thank you very much your help Gflorez , I will fox the issue.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.18. 14:59:50
Some modification and error correction happened:
attribute of levels were not converted
3 mouse mode has been inserted (F6 for Gflorez ;) )
Display can be changed from speccy screen to 4 colour screen, but in this mode 3 icons will not displayed correctly, and display will reset to speccy at each level.
Link below updated.

F2: spectrum screen
F3: 4 colour screen
F4: mouse mode: fire: left button, turn
F5: mouse mode: move forward: left button, move backward: middle button, fire: right button, turn
F6: mouse mode: fire: left button, turn and move
F7: cheat on
F8: cheat off
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.18. 17:12:16
Thank you, it is a wonderful gift.

Updated the link to your game on the EnterMice wiki.
Title: Re: [Conversion] Wolf2004
Post by: geco on 2016.December.18. 17:54:34
I found another bug, the program hang on 4MB machine, because it overwrote memory based on the last paged page, corrected, original link updated.
Title: Re: [Conversion] Wolf2004
Post by: gflorez on 2016.December.18. 19:10:09
Updated again.
Title: Re: [Conversion] Wolf2004
Post by: SlashNet on 2017.January.24. 21:05:55
https://youtu.be/OWWBQ7Kfs6c
Title: Re: [Conversion] Wolf2004
Post by: geco on 2017.January.25. 08:52:39
Great, thank you very much :)