Who's Online |
46 user(s) are online ( 34 user(s) are browsing Forums)
Members: 1
Guests: 45
mailman,
more...
|
|
Headlines |
-
arabic_console_devicepro2.lha - driver/input
Aug 10, 2022
-
kittymusicraft.library.lha - development/library
Aug 8, 2022
-
amiarcadia.lha - emulation/gamesystem
Aug 8, 2022
-
amosextension.library.lha - library/misc
Aug 8, 2022
-
luettjebookholler.lha - office/misc
Aug 6, 2022
-
mce.lha - game/utility
Aug 5, 2022
-
ign-addon-ods.lha - office/spreadsheet
Aug 5, 2022
-
avalanche_deu.lha - utility/archive
Aug 4, 2022
-
mednafen.lha - emulation/gamesystem
Aug 3, 2022
-
avalanche.lha - utility/archive
Aug 3, 2022
|
|
|
|
Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
Hello,
Has anyone managed to run Red Mars on AmigaOS 4.1? It seems there is a problem with destracker.library that comes with the game.
I can see with Snoopy that the library is loaded in memory but OpenLibrary() call fails.
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/2/1 13:02 Last Login
: 7/19 16:21
Group:
Registered Users
|
@jap
Have you link of this game ?
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
@sinisrus Here you are: Red MarsIt's a commercial game so I won't put my copy online. Library's developer release can be downloaded from here: DES-TRACKER.LHAIt contains test programs for the library. I tried one of the test programs and it suffers from the same problem as the game: the library won't open.
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/2/1 13:02 Last Login
: 7/19 16:21
Group:
Registered Users
|
@jap
This game is for Amiga 68k You test with E-uae or direcly on OS4 ?
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Home away from home 
Joined: 2006/11/20 16:26 Last Login
: Today 18:00
From Norway
Group:
Registered Users
|
@jap
Well documentation does not say anything about ahi, so we can safely assume its not compatible, its likely fails to allocate cia timers, or something like that.
You can try to make a skeleton library, to fool the game. A skeleton library might be used to forward calls to ptreplayer.library or ptplayer.library, or to just monitor what the games is tries to do.
Edited by LiveForIt on 2022/1/27 17:16:03
|
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
@sinisrus
The goal was to run it on AOS4 (no E-UAE).
@LiveForIt
I just tried running the game with NallePUH. The game started but it jammed. It didn't crash since the system is still fully functional but the game seems to be in some sort of busy loop. There is no sound, nor did the game open its screen, but the game seems to be running.
It would be great to have a "fake" destracker library to get the game running properly. The game would probably work since it uses rtg library for the graphics.
I've tried creating a skeleton library with idltool before but with no success. The problem was that the code it generated could not be compiled without first modifying the code manually. As a library developer beginner, tweaking the code was too hard for me despite the instructions :(
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Home away from home 
Joined: 2006/11/20 16:26 Last Login
: Today 18:00
From Norway
Group:
Registered Users
|
@jap Most likely it trys to busy loop for beam y position, or maybe mouse key press. have you tried to decompiled and look at the code, to see if you find anything that can look like a vertical blanking wait loop. and replace it with graphic.library/WaitTOF() http://amigadev.elowar.com/read/ADCD_ ... anual_guide/node0045.htmlhttps://ada.untergrund.net/?p=boardthread&id=1075It should look similar to this:
loop:
move.l $dff004,d0 ;WaitTOF (beam)
and.l #$fff00,d0
cmp.l #$0003000,d0
bne.s loop
http://amigadev.elowar.com/read/ADCD_ ... anual_guide/node0038.html
loop:
btst #6,$bfe001 ;Left mouse button pressed?
bne.s loop
Edited by LiveForIt on 2022/1/28 19:50:03 Edited by LiveForIt on 2022/1/28 19:54:20 Edited by LiveForIt on 2022/1/28 19:56:14
|
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
I don't have tools to modify the 68k game executable other than a hex editor.
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Home away from home 
Joined: 2006/11/20 16:26 Last Login
: Today 18:00
From Norway
Group:
Registered Users
|
Edited by LiveForIt on 2022/1/29 10:03:43
|
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
Posted on: 1/29 14:17
#10
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
@LiveForIt Thanks! I disassembled the game file and at least the game is not waiting for a mouse button to be pressed. There is one subroutine that does some calculations with the VPOSR register:
MOVE.L LAB_2D24(PC),D0
MULU #$686b,D0
ADD.L #$02ceda9f,D0
ADD.L VPOSR,D0
MOVE.L D0,LAB_2D24
RTS
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
Posted on: 1/30 12:24
#11
|
Home away from home 
Joined: 2006/11/20 16:26 Last Login
: Today 18:00
From Norway
Group:
Registered Users
|
@jap That code might need to be replaced, what it does I can’t see it from the small snippet. But I guess its used for some kind of time keeping. Created a small tool, that can help you find where the game/program gets stuck. now in the upload queue. http://os4depot.net/index.php?function=uploadsCode can be found here: https://github.com/khval/FrozenAt
|
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
Posted on: 1/30 14:49
#12
|
Just can't stay away 
Joined: 2006/11/30 11:30 Last Login
: Today 12:19
From Finland
Group:
Registered Users
|
@jap
Looks like a random number generator to me, with vposr being used not for timing but to get some extra entropy.
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
@LiveForIt I tried your tool and it printed this: Quote: Program pomIntro:psycheintro IDebug: 6ff92000 Task not found pomIntro:psycheintro The game is in three parts: intro (psycheintro), game (psyche), and outro (psycheout). I got the same address for psycheintro and psyche. There is no such address in the psyche's assembler listing, so the address is not from the intro/game but perhaps from the destracker library that the intro/game is trying to use.
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Home away from home 
Joined: 2006/11/20 16:26 Last Login
: Today 18:00
From Norway
Group:
Registered Users
|
@jap Quote: Task not found pomIntro:psycheintro try without the path. You are using the tool wrong, its the Name of the Task/Process, it’s not the file name, program does expect a path. you can find name of the running program in Scout PPC, or SysMon, Ranger programs. Make sure the game has not crashed, before you start it. it puts task into suspend and does not check if its already suspended. 
Edited by LiveForIt on 2022/2/8 23:33:04
|
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Not too shy to talk 
Joined: 2006/12/2 18:13 Last Login
: 2/9 6:30
From Sweden
Group:
Registered Users
|
|
|
|
|
Re: Getting Red Mars to run on AmigaOS 4.1
|
|
Just popping in 
Joined: 2007/12/19 12:36 Last Login
: 8/6 3:40
From Finland
Group:
Registered Users
|
@LiveForIt
Ah, I assumed that FozenAt starts the program.
@hotrod
With the help of CIAgent the intro started!
All the graphics are okay and the intro runs but there is no music. At some point I can hear a short sound fragment and then AHI crashes and the intro halts (alert number 80000003).
If I wait long enough or ignore the crash, the intro continues and I can hear sound effects but still no music.
After a 3 minutes or so, the intro crashes again and this time the whole system jams.
I tried starting NallePUH before the intro but then the intro refused to start.
Also the game itself starts but it crashes after I've entered the correct copy protection code (Guru Meditation: 80000003).
|
|
|
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)
|
|
|