Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
150 user(s) are online (28 user(s) are browsing News)

Members: 3
Guests: 147

trixie, kas1e, imagodespira, more...

Support us!

Headlines


Recent Replied Topics
Software News : Blast from the past: Payback native for AmigaOS4.
Posted by kas1e on 2022/12/24 12:12:50 (817 reads) News by the same author
Software News

Yes, you read that right. Payback for AmigaOS 4 is available right now! Grab from os4depot while it hot!
Thanks to James Daniels from Apex-Designs, I was allowed to port it to AmigaOS4 and release it as AOS4 update.
You still need to buy the original Amiga CD and grab the latest updates from https://apex-designs.net/.

Resized Image

Resized Image Resized Image


Before you go hunting, I want to highlight what has been done and what is planned for future updates:

The original Payback was written in C and built via StormC (meaning GCC 2.95), and a large part of the code was Assembler-based: the 68K version used the 68K assembler,
whereas the PPC/WarpOS version used H&P's Power ASM assembler (this one is with Motorola syntax, so it's PPC assembler with Phxass kind syntax and is incompatible with
GCC's "as"). So I was in needs to port all the C code from old GCC to newer GCC, and then take the Power ASM assembler code used for the WarpOS version and adapt it, so
it can be compiled with self build VASMMOT_PPC (which means VASM with Motorola syntax). Then I used GCC to combine everything into a single OS4 binary. The assembler
code adaptation was minor, but I had to implement a few functions that were not available in VASM's assembler (prolog/epilog, pushgprs/popgprs, etc).

The next major issue was Payback's Warp3D rendering. The codes were once again “old GFX cards”-based and contained some bugs, so some rewriting and fixing was required.
Yeah, it is not uncommon for game developers from the past to assume that only old kinds of graphics cards will be used (as it was in Exodus: The Last War, for example).
Now, you can use hardware rendering on your RadeonHD or RadeonRX cards with no problems, be it NovaBridge or Warp3D_SI. Thanks to Hans for his help in terms of Warp3D code!

Migration from GCC 2.95 to GCC 11.3 also takes some time because of plenty of deprecated code, old-fashioned use of DOS's anchors, message ports, memory allocations, the
way of calling assembler functions, non-static structs, etc. And, as we were told, the things that were forgiven in GCC 2.95 are no longer applicable in today's GCC, so
changes must be made. On top of that, instead of newlib, I do use Afxgroup's improved CLIB2 fork (more specifically, CLIB2_beta07).

Once things start working, new video modes are added (so you can play HD modes like 1920x1080 too). At the same time, Javier starts writing a new “preference” program that
is now Reaction-based, logical, and visually appealing. Now you can control everything from the PaybackSetupOS4 binary right from the start, as well as later in the game
as before, of course. Also, Javier does help with some bits all over the place as always, so hats off for that!

The following changes are not included in this update, but are planned for future ones:

-- Support for window mode.
-- Finalizing of the FLC video player with auto-scaling. We do have a working version, but it's not good enough, so we postponed it to a later update.
-- Complete the migration from audio.device to the ahi.device. Also, it kind of works already, but not well enough.
-- Fixing hardware rendering to works on the older Warp3D classic drivers again (migration to the newer GCC required extensive rewriting, resulting in clumsy hardware mode
on real Warp3D).
-- to fix bugs that will be found in this update.

Resized Image Resized Image


Now, how to install:


To install the Payback OS4 Update, you need to do some preparation work:
- You need Payback CD Image + .CUE (for CD-Audio)
- You need PaybackUpdate7.lha (https://www.apex-designs.net/PaybackUpdate7.lha)
- You need working DiskImage device (to mount .CUE image):
http://os4depot.net/share/driver/storage/diskimage_device.lha
- To have CD-Audio you need cdplayer.library with CDDAPatch installed:
http://os4depot.net/share/library/audio/cdplayer_lib.lha
http://os4depot.net/share/audio/misc/cddapatch.lha
- You need Serial Key.
- You need this new PaybackUpdateOS4.lha
- You need "Warp3D NovaBridge" installed and working on your RadeonHD or
RadeonRX (on RadeonHD, if you do not have Nova Bridge, you may also use
the Warp3D_SI driver instead).


Now you need to install the original version first, and apply original update:
- Mount Payback's .CUE via DiskImageGUI or via command line (I use ICD0:).
- Install the Game from the CD (when ask for screenmode skip it).
- Apply the PaybackUpdate7 on top of it.
- Apply this PaybackUpdateOS4 on top of it.


After that, you launch PaybackSetupOS4, which allows you to:
- Select a screenmode for software (CPU) and/or hardware (Warp3D) rendering.
- Select the rendering method.
- Select "diskimage.device" for CDDA and the unit on which you mount PayBack's
CUE file (to find the unit, click RMB on PaybackCD's icon on the workbench
and choose "information")
- Save and exit.


Then you just start a game by running PayBackOS4, type your key, and enjoy!

Here is the video showing how to prepare, install, and what the gameplay of the OS4 version of Payback looks like:

Resized ImagePayback: native AmigaOS4 update, 1920x1080 full HD

In the end, I want to give a big Thank You:

- to James Daniels for making such a nice game: https://www.apex-designs.net/
- to Javier for creating the preference program and whole help: https://github.com/javierdlr
- to Afxgroup for creating an up-to-date fork of CLIB2 and improving it: https://github.com/afxgroup/clib2
- to Hans for 2D/3D drivers and Payback's hardware rendering solutions: https://keasigmadelta.com/
- to Salas00 for cdplayer.library, CDDA patch, diskimage.device and everything else he does for OS4: http://www.a500.org/
- to Frank Wille, who is helping me with VASM bits: http://sun.hasenbraten.de/~frank/projects/
- to OS4 community being alive and kicking!

Merry hunting XMAS!

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
walkero
Published: 2022/12/24 12:24  Updated: 2022/12/24 12:24
Site Builder
Joined: 12/02/2006
From: Athens/Dublin
Comments: 1789
 Awesome news
Awesome news Roman. Payback is for sure one of the greatest games released for the classic amigas, and it is great having it updated od OS4. It would be great if it was possible for people to buy the games CD as a download version. Maybe they would be interested to do so.
Petrol
Published: 2022/12/24 12:25  Updated: 2022/12/24 12:25
Just popping in
Joined: 05/18/2017
From: Audruicq, France
Comments: 158
 Software News : Blast from the past: Payback native for AmigaOS4.
Thank you Guys!
walkero
Published: 2022/12/24 12:29  Updated: 2022/12/24 12:29
Site Builder
Joined: 12/02/2006
From: Athens/Dublin
Comments: 1789
 Enhanced version
@kas1e I don't know if that is possible at all, but maybe someone would be interested to find HD textures that could replace the old ones and enhance the look of it. Is something like that possible and something you might consider? For me is fine as it is and I am more than glad we have it working after your exceptional work.
kas1e
Published: 2022/12/24 12:42  Updated: 2022/12/24 12:42
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 9111
Online!
 HD
@George
I think everything possible, the question is how much time it will cost :) But yeah, this idea is good to be added to maybe-todo.txt (for now there are still some issues left to fix before doing anything further).
utri007
Published: 2022/12/24 21:32  Updated: 2022/12/24 21:32
Not too shy to talk
Joined: 01/06/2007
From:
Comments: 450
 Re: HD
Does this work with Radeon 9250 and MiniGL? / ReWarp?
Rob
Published: 2022/12/24 23:29  Updated: 2022/12/24 23:29
Not too shy to talk
Joined: 11/27/2006
From:
Comments: 378
 Re: HD
It's OS4 native so rewarp isn't required The 9250 will be sufficient depending on the screen resolution. It will even be fine in software mode while kas1e fixes the rendering issues in hardware mode.
utri007
Published: 2022/12/25 0:44  Updated: 2022/12/25 0:44
Not too shy to talk
Joined: 01/06/2007
From:
Comments: 450
 Re: HD
Few years back I asked Apex Desing if they could put Payback available to buy again.

They said no.

Is it actually possible to buy some where??
kas1e
Published: 2022/12/25 7:37  Updated: 2022/12/25 7:37
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 9111
Online!
 CD
@ulti007 I wrote to James about, maybe there will be luck to have digital downloads at least. If there will be news about, I will keep everyone informed.
Reynolds
Published: 2022/12/27 7:26  Updated: 2022/12/27 7:26
Just popping in
Joined: 08/13/2007
From:
Comments: 50
 Payback original CD
I've been looking for the original CD to buy but sadly haven't found it until now. Hope this will change and I can grab it.
utri007
Published: 2022/12/27 23:30  Updated: 2022/12/28 0:08
Not too shy to talk
Joined: 01/06/2007
From:
Comments: 450
 Re: CD
Tried Payback OS4.

When game starts I need to click screen with mouse, to get it activated. When I started it first I thought it doesn't respond keyboard, but then I realized mouse pointer was visible. Mouse click made screen active and I could use keyboard.

Couldn't get game start with software renderer. Tried Board 0 RGB16, it starts to load level, but load indicator stops soon. Settings menu has also PAL 640 x 480 it doesn't work either.

With hardware renderer it behaves exactly as 68k exe, game stars and I can play few seconds before it freezes.

This is Sam 440ep Flex, 1gb ram and Radeon 9250. OS4.1fe All updates installed.
khayoz
Published: 2022/12/28 9:29  Updated: 2022/12/28 9:29
Not too shy to talk
Joined: 01/10/2007
From: Stockholm Sweden
Comments: 411
 Software News : Blast from the past: Payback native for AmigaOS4.
@kas1e Thank you for the port!
kas1e
Published: 2022/12/28 18:47  Updated: 2022/12/28 18:47
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 9111
Online!
 software mode mean 8 bit only
@ultri007 Software mode works only on 8bit, RGB16 is not go of course. And it should be not PAL 640x480, it should be real 8bit screenmode of gfx card.
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1722
Logged in last:
  24 hours, 67
  7 days, 128
  30 days, 188

Random Photo
A1222 Abstract Backdrop

New Articles List

New Members
Amigafreak02
Amigafreak02 11/15/2024
Drakken
Drakken 11/14/2024
ybbasepiw
ybbasepiw 11/11/2024
Mr_byte
Mr_byte 11/06/2024
ghettofinger
ghettofinger 10/30/2024
VaultDweller
VaultDweller 10/30/2024
Greenslade
Greenslade 10/11/2024
komyash
komyash 09/20/2024
Correine
Correine 09/16/2024
Falke_34
Falke_34 09/14/2024


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project