giox
Newbie
Posts: 13
|
Post by giox on Oct 28, 2008 2:35:59 GMT -5
I was about to convert Elite128 v1.0 to DTV Flash file system by a Spiff-ZIP style of way with dtvmkfs. The only thing that I managed to convert right way was the actual loader part (Elite128.prg) were the load address and system address can be obtained from the prg itself. The question is, that how to handle other files in index.txt? Where can the load- and sys-addresses be obtained and how to know what type they are (DTV, PRG, BIN or RAW) ect... Or is this a kind of work, that only you coders with appropriate tools can do. cheers
|
|
|
Post by spiff on Oct 28, 2008 5:31:05 GMT -5
If you have a multi-part game, there is a very slim chance that it will work when put in the flash, because the loading routines need to be patched for them to work with the flash loader.
If the files are not PRG, but read by other routines in the kernel (Last Ninja 2 used the serial get byte function), this will not work with the kernel.
If the loaded files are actually PRG-files (although they cannot be loaded from BASIC), they have the load address in them anyway, but still, the routine that loads the remaining parts is possibly hard-coded to load from device 8.
|
|
|
Post by 1570 on Oct 28, 2008 8:11:21 GMT -5
Elite128 is no multiload game as far as I remember. Just use an emulator to run it until the title screen appears (and no further loading takes place), then freeze it using some cartridge emulation or directly from a .vsf using vsfReanimator [1]. The .PRG vsfReanimator creates has to be put into the flash with start address 2077. [1] dtvforge.ath.cx/vsfReanimator/
|
|
giox
Newbie
Posts: 13
|
Post by giox on Oct 29, 2008 5:10:47 GMT -5
www.gamebase64.com/forum/viewtopic.php?t=1921&highlight=&sid=09a0afaf3c9c5fc770c794af55305cc0// quote start "...Actually we shouldn't believe it, because Elite 128 is not a single-load game, since the mission texts were moved to disk and are loaded in-game as needed..." // quote end As a conclusion it seems that freezed game will crash when missions start to appear in game. On the second hand the Loader part contains a few toggle selections like language, charset and video, which can't any more be changed from "once freezed and then reflated" program. cheers
|
|
|
Post by 1570 on Oct 29, 2008 10:18:17 GMT -5
Fixing multiload games for the DTV requires some assembler knowledge (and quite some time, at least for unexperienced coders). picobay.com/dtv_wiki/index.php?title=Fixing_Games_for_the_DTV#FAQAs Elite without a saving option is nonsense anyways, making it a DTV onefiler is probably a bit pointless. Just run it from an attached drive. I remember Elite128 crashed on initial load on the DTV but with a bit of luck this really can be solved by freezing. If it uses some fastloader routine in the drive you're out of luck with this easy approach though.
|
|