REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Moderators: pcwzrd13, deluxux, VasiliyRS



User avatar
fafadou
Gold Lion
Posts: 1653

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#13 » Wed Mar 24, 2021 1:47 pm

Thank you :-)
Why did you have focus on this game in particular ? I love this one.

User avatar
Ian Micheal
Developer
Posts: 5994
Contact:

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#14 » Wed Mar 24, 2021 1:49 pm

fafadou wrote:Thank you :-)
Why did you have focus on this game in particular ? I love this one.


It was a request :) so both french and english.. if all goes well working now on looping cdda from the mega cd game :)

User avatar
Ian Micheal
Developer
Posts: 5994
Contact:

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#15 » Wed Mar 24, 2021 2:39 pm

Well got the cdda looping now should i keep going dont want up set the people still selling the none homebrew version?

keep going might be the best version you can get dos grafix amiga sound effect mega cd music? I think i stop short adding mega cd fmv..

I have the src to another world it has no sfx or music but i could write it to have cdda and sfx any one want that? dos version btw/..

User avatar
Ian Micheal
Developer
Posts: 5994
Contact:

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#16 » Wed Mar 24, 2021 6:19 pm

Dev video show it now with mega cd music :)


Run out of puff today so it have be another time for this version

mkandersson1082
MegaDeath
Posts: 217
Contact:

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#17 » Thu Mar 25, 2021 4:23 am

Cheers! It plays great 8-)

colgate
Doom
Posts: 185

Re: REminiscence Update [flashback][homebrew version [with video]

Post#18 » Mon Apr 05, 2021 1:15 am

Thank you for explaining this. Can you show us an example of the wrong way of using this?

Ian Micheal wrote:
colgate wrote:Can you explain this memory alignment? Not the first time I see your mentioning it.



Unaligned reads happens when you have types that dont match this does not show up on dreamcast emulators but does on real hardware

Code: Select all

/* We expect these type sizes:
   sizeof (char)   == 1
   sizeof (short)   == 2
   sizeof (int)      == 4
   sizeof (float)   == 4
   sizeof (long)   == 4 / 8
   sizeof (pointer *)   == 4 / 8
   For this, we need stdint.h (or inttypes.h)
   FIXME: Properly replace certain short and int usage
     with int16_t and int32_t.
 */

Code: Select all

CPUs used to perform better when memory accesses are aligned, that is when the pointer value is a multiple of the alignment value. This differentiation still exists in current CPUs, and still some have only instructions that perform aligned accesses. To take into account this issue, the C standard has alignment rules in place, and so the compilers exploit them to generate efficient code whenever possible. We need to be careful while casting pointers around to be sure not to break any of these rules.


The SH4 cpu in the dreamcast does not allow this most times and you will get a crash or slow and undefined behavior..

All current dreamcast emulators will allow this and not crash so never use them when porting anything like this.

Example of this is in the video i show how it worked before with the colour being wrong alignment it was somehow using 15bit colour which brought about very slow framerate and other problems on hardware it did this.

Code: Select all

OUTPUT:> Unhandled exception: PC 8c0650ec, code 1, evt 0100
OUTPUT:>  R0-R7: 8c1f7b78 8c1d2858 00000000 007ffc09 000003bf 00000001 8c1d2858 00000834
OUTPUT:>  R8-R15: 8c1f7b7c 8c1f7b98 00000040 000003d7 8c1f7f6f 8c1f7b7c 8c161b08 8cfffe94
OUTPUT:>  SR 40000001 PR 8c064d2e
OUTPUT:> Stack Trace: frame pointers not enabled!
OUTPUT:> kernel panic: unhandled IRQ/Exception
OUTPUT:> arch: aborting the system
STATE:> Upload processus completed on 3/23/2021 - 01:35:12, Exit Code :
0

Still according to the C standard, converting a pointer from a type to another without respecting this alignement rule is undefined behavior.

I had this problem bite me on my port of hexen.

colgate
Doom
Posts: 185

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#19 » Mon Apr 05, 2021 1:17 am

Ian Micheal wrote:Dev video show it now with mega cd music :)


Run out of puff today so it have be another time for this version


This is great, are you planning in releasing it? Out of this world with cdda and sfx would be nice too :-)

gamesreup
killer
Posts: 267
Contact:

Re: REminiscence Update [flashback]ENG AND FRENCH [homebrew version [with video]

Post#20 » Mon Apr 05, 2021 11:17 am

Ian Micheal wrote:[English]


https://mega.nz/file/auJxUKZY#fopsMvjD9 ... 43xQAjJXHY


[French version]

Update By Ian micheal
----------------------------
fast cutscenes
-fullspeed now
-full english bug fixed
-Pvr dma double buffer no more screen tearing fixed
15 bit colour fixed 16 bit alignment and memory no more shaking and more speed
--todo music looping not sure if i should fix this
-----------------------------------------------------
DOS pc version with amiga music for cutscenes not the snes or amiga or 16 bit version
This is not the sold version but homebrew update to troys port.
[ENGLISH VERSION]
https://mega.nz/file/auJxUKZY#fopsMvjD9 ... 43xQAjJXHY
[FRENCH VERSION]
https://mega.nz/file/vupWVTTB#nQqBsn26H ... 2dulmj0I_o

--------------------------------------------------
You can compare the new version up top with the old one below

OLD REminiscence Flash back Before optimizing slow screen blit unaligned memory shake



Now you can see how it ran before i fixed it.
Dreamcast Controller
D-Pad move Conrad
Start Button display the options
A Button talk / use / run / shoot
X Button Draw weapon from holster
Y Button use the current inventory object
B Button display the inventory

Credits:
--------

Delphine Software, obviously, for making another great game.
Gregory Montoir[3] for sharing the sourcecode.
qatmix [4] for suggesting the port on the dcemulation.com - Developmental Ideas forum.


Another awesome bit of work Ian. I've never played Flashback... but thinking maybe it's time to? :)

  • Similar Topics
    Replies
    Views
    Last post

Return to “Modifications”

Who is online

Users browsing this forum: No registered users