Homebrew DSx86 (DSi Entry)

  • Thread starter Thread starter Pate
  • Start date Start date
  • Views Views 45,424
  • Replies Replies 141
  • Likes Likes 7
Heh, thanks NamoNakamura.
smile.gif


Roman_42: I quickly downloaded and tested Eye of the Beholder II myself. Indeed, it seems to hang when using 30fps screen refresh rate and Smooth scaling. However, you can first go to 15fps screen refresh, and then select Smooth scaling, and it will continue to run. Seems like the game does not like it when it gets noticeably less CPU time when using Smooth scaling mode at 30 fps.

Pate
 
I've tested 0.32 now and it acts like 0.31. So it's definatley the 0.33. So I'm using 0.32 now.

BTW: Thanks a lot for this wonderful emulator. It's not just all the great PC games, it's the feeling of turning my little DS into a dream laptop of my youth days.
smile.gif
 
It is interesting that 0.33 behaves differently to 0.32 in Mode-X smooth scaling, as I did not change that code at all (I just made a diff between 0.33 and 0.32 Mode-X code, and there are no differences). However, I changed the screen blitting routine from before keyboard reading to after the keyboard reading code, I'll check if that might be the cause for the hanging. I don't see why it would be, but you never know...

Pate
 
I've noticed another thing. I've always played EOB (1 and 2) with 30fps and smooth scaling on 0.31. Now while trying around with the framerates and versions I've noticed, that reducing to 15 fps causes in .31 .32 and .33 a problem. I happens that you push a dircection and your party wont move. It's exactly like .33 on 30fps.

To sum it up: .31 and .32 work without problems on 30fps with smooth scaling but with 15fps it seems to ignore button presses sometimes, .33 has the problem on 15 and 30fps. Hope this doesn't confuse more than it helps.
 
Very strange.. I moved one variable (that has nothing to do with the screen blitting) to a different location in the same routine, and now it does not hang in 30fps for me any more.

Would you be interested in testing whether this new build works better? It is available at: http://dsx86.patrickaalto.com/DSx86033b.nds

Edit: Removed the c test version.

This is not an official update, but if you report that this works as well (or better) than 0.31 and 0.32, I might copy this to the official 0.33 version.

Thanks!

Pate
 
I've tried it. Still, it happens very often, that you press forward and nothing hapens on 30fps+smooth.
On 3.2 and 3.1 this only happens in 15fps and smooth, with 30fps+smooth it always works, every button press.
 
Ok, thanks for testing! It seems that there is some strange interaction between the keyboard reading and screen blitting that I don't quite understand. I have the game now so I'll see if I can figure out some proper fix for this problem.

Edit: The last quick test version: http://dsx86.patrickaalto.com/DSx86033d.nds

This has now the exact same keyboard reading and screen blitting routine as version 0.32, I figured out a different way to accomplish the thing I wanted to fix by swapping their order. I really don't see what the difference is if this works differently to 0.31 and 0.32 in Eye of the Beholder 2! If you still feel like testing this, it would be appreciated.
smile.gif


Pate
 
Great, thanks for testing! Yeah, it is weird that the 15fps speed would affect the keyboard reading... But in any case, this fix will be included in the next 0.34 version, I'll probably release it next weekend. I hope to still add some other fixes and improvements to 0.34 version.

Pate
 
could the graphics for DOS games be written to a texture?
then all screen modes would be irrelevant as the DS 3d hardware could scale the texture on a quad.
 
There's another thing wrong with the smooth scaling in 0.33. You have to scroll the image in the y-axis to see everything. Below 0.33 smooth scaling generated the same fullscreen image as the "scale" option which showed everything without the need to scroll. You can see it at the Start Screen of EOB2 and 0.33. In "scale" mode you see 2 copyright lines at the bottom of the screen, whith smooth there is only one line.
 
slenkar: Interesting idea about using the 3D engine for smooth scaling.. I will need to check the quality it produces, to see if it would be worth it.

Roman_42: That is not a bug, that is by design.
smile.gif
I decided to remove the vertical hardware scaling, as it reduces the image quality and in most games the upper and lower 4 pixels (or 8 pixels on one side) do not contain very important information. This is the way the smooth scaling works in DS2x86 as well.

Pate
 
it needed to be installed same linux on top of this emu
laugh.gif

anyway - any good games comportable with emu ?
I believe this recommendation must be at first post. not download links, simply names alone, or with screen-shot.
 
Is there a way to run a file directly after loading? I mean something like a menu.bat or something like that.
 
Pate said:
Roman_42: That is not a bug, that is by design.
smile.gif
I decided to remove the vertical hardware scaling, as it reduces the image quality and in most games the upper and lower 4 pixels (or 8 pixels on one side) do not contain very important information. This is the way the smooth scaling works in DS2x86 as well.
Ah, OK, I understand. ScummVM DS does the same. It's always good for console games and homecomputer games, because their devs always had to include the safety cache for consumer TVs, so indeed, the outer space doesn't contain any information in these games.

Arcade and PC games on the other hand run on dedicated monitors, so they don't need the safety cache and many Arcade and PC devs used every pixel, so IMHO vscaling should be at least optional in DSX86 (and in ScummVM DS BTW).

BTW: Does anybody use "jitter"? It doesn't really look better than "scale" IMHO.
EDIT: Sorry. Retried it with "Jitter" and it s very useful. You can read font which isn't readable in "scale" mode.

OH BTW: Is there a way to toggle/switch the mouse buttons while using TapToClick controls?
 
Hi Pate, thank you for the amazing work, but i'd like to report a error with the version 0.33, when i try to initialize the program using Sudokuhax, it gives me the following error:

**** DSx86 v0.33 by Patrick Alto ****

BIOS date: May 29 2011
Running in DSi mode!
Initializing LibFAT: FAILURE!

Could not find '/DATA/DSx86/DSx86.INI'!
Could not find '/DSx86.INI'!
Starting command shell:
Try C:\DATA\DSx86\4DOS\4DOS.COM ...Fail!
Try C:\DATA\DSx86\4DOS.COM ...Fail!
Try C:\4DOS\4DOS.COM ...Fail!
Try C:\4DOS.COM ...Fail!
No Shell! System halted.



Previous version works fine in DSi mode and 4DOS is on the right folder. Also, v0.33 works in DS mode too.
 
HiroshiYamauchi said:
Hi Pate, thank you for the amazing work, but i'd like to report a error with the version 0.33, when i try to initialize the program using Sudokuhax, it gives me the following error:

**** DSx86 v0.33 by Patrick Alto ****

BIOS date: May 29 2011
Running in DSi mode!
Initializing LibFAT: FAILURE!

Could not find '/DATA/DSx86/DSx86.INI'!
Could not find '/DSx86.INI'!
Starting command shell:
Try C:\DATA\DSx86\4DOS\4DOS.COM ...Fail!
Try C:\DATA\DSx86\4DOS.COM ...Fail!
Try C:\4DOS\4DOS.COM ...Fail!
Try C:\4DOS.COM ...Fail!
No Shell! System halted.



Previous version works fine in DSi mode and 4DOS is on the right folder. Also, v0.33 works in DS mode too.

He's been made aware of this, and has already come up with a fix.
 

Site & Scene News

Popular threads in this forum