Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > DeSmuME Discussion
Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old February 26th, 2008   #81 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
Thanks. I'm glad to see people likes my new GUI.

Good news : Rayman Raving Rabbids 2 starts to work !!!
The bug was VERY stupid : opcodes such as OP_STMDA2_W stopped execution. I fixed this, but the 3D core has a bug, it makes the game freezes before displaying the rabbit.

The game runs fine and fastly with DUMMY 3D core.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!

Last edited by NHervé; February 26th, 2008 at 20:24. Reason: Automerged Doublepost
NHervé is offline   Reply With Quote
Old February 26th, 2008   #82 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 651
Quote:
Originally Posted by NHervé View Post
Thanks. I'm glad to see people likes my new GUI.

Good news : Rayman Raving Rabbids 2 starts to work !!!
The bug was VERY stupid : opcodes such as OP_STMDA2_W stopped execution.
That code is commented for a good reason: it's unchecked, and it's not meant to be release ready. We know this was there for a long time, but until someone checks those ops properly, it won't be changed, atleast on official CVS: it's only making the interpreter more unstable.

Quote:
Originally Posted by NHervé View Post
I fixed this, but the 3D core has a bug, it makes the game freezes before displaying the rabbit.

The game runs fine and fastly with DUMMY 3D core.
The game seems to be throwing random data/trash to the 3D core, and it fails when some values go seriously out of range. I can't say if it's a bug in the 3D core, or somewhere else, without proper debugging. Don't assume that because it crashes on the 3D core, the bug is there.
__________________
Emulator development blog
shashClp is online now   Reply With Quote
Old February 26th, 2008   #83 (permalink)
Rockman fan
 
RockmanForte's Avatar
 
Join Date: May 2002
Location: Earth!
Posts: 3,387
Quote:
Originally Posted by NHervé View Post
Thanks. I'm glad to see people likes my new GUI.

Good news : Rayman Raving Rabbids 2 starts to work !!!
The bug was VERY stupid : opcodes such as OP_STMDA2_W stopped execution. I fixed this, but the 3D core has a bug, it makes the game freezes before displaying the rabbit.

The game runs fine and fastly with DUMMY 3D core.
Excellent. Don't give up. You are getting there. Keep up the good work!
__________________


CASE: EagleTech Sidewinder Gaming Tower Case w/420W Power Supply Black
OS: Windows XP Professional X64
CPU: Intel core 2 Duo Processor E8400 (2x 3.0GHz/6MB L2 Cache/1333FSB)
Processor Cooling: Thermaltake V1 CPU Cooling Fan System Kit Silent & Overclocking Proof
Graphics Card: NVIDIA GeForce 8800GT 512MB w/DVI + TV Out Video
Memory: 2048GB [1024GB X2] DDR2-800 PC6400 Memory Module Corsair-Value or Major Brand
Sound Card: 3D Premium Surround Sound Onboard
RockmanForte is offline   Reply With Quote
Old February 26th, 2008   #84 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
Thanks alot !

For Rayman, the bug is from NDS_glCallList func : when I disable it, the game works.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!

Last edited by NHervé; February 26th, 2008 at 22:23. Reason: Automerged Doublepost
NHervé is offline   Reply With Quote
Old February 26th, 2008   #85 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 651
Quote:
Originally Posted by NHervé View Post
For Rayman, the bug is from NDS_glCallList func : when I disable it, the game works.
Did you read my post? Something is sending trash to the 3D core. I know it's crashing there, I debugged it for curiosity, but you don't know the reason, which is equal to not knowing what the bug is: only where it crashes.
__________________
Emulator development blog
shashClp is online now   Reply With Quote
Old February 26th, 2008   #86 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
For Rayman, the bug is from NDS_glLoadMatrix4x4 func : when I disable it, the game works. So there is a matrix problem.

Yes I read your post. I found a matrix problem.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!

Last edited by NHervé; February 26th, 2008 at 22:30. Reason: Automerged Doublepost
NHervé is offline   Reply With Quote
Old February 26th, 2008   #87 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 651
Quote:
Originally Posted by NHervé View Post
For Rayman, the bug is from NDS_glLoadMatrix4x4 func : when I disable it, the game works. So there is a matrix problem.

Yes I read your post. I found a matrix problem.
No, you didn't read. AT ALL. It's not a problem with matrices, making a patch there will not fix ANYTHING.
__________________
Emulator development blog

Last edited by shashClp; February 26th, 2008 at 22:45.
shashClp is online now   Reply With Quote
Old February 27th, 2008   #88 (permalink)
Registered User
 
Join Date: Nov 2007
Location: NZ
Posts: 10
If i were to guess i'd say the problem is with OP_STMDA2_W seeing as it stores data, and if its storing it incorrectly (which is probably the reason it stopped emulation) then it could be the cause of your so called matrix problem.
Normmatt is offline   Reply With Quote
Old February 27th, 2008   #89 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
This is not a matrix problem. It's another thing.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!
NHervé is offline   Reply With Quote
Old February 27th, 2008   #90 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 651
Quote:
Originally Posted by NHervé View Post
This is not a matrix problem. It's another thing.
I told you :P
__________________
Emulator development blog
shashClp is online now   Reply With Quote
Old February 27th, 2008   #91 (permalink)
PCSX2 Coder
 
refraction's Avatar
 
Join Date: Jan 2004
Location: Plymouth, UK
Posts: 9,583
i think a parrot has taken over NHervé's computer to try and make him look like he knows what hes doing

No offence NHervé, i know this isnt your area of expertese at the minute and you are trying, but the bugs youve found so far have either

a. already been fixed.
or
b. youve given clues on whats happening, then shash fixes it :P

while its nice you are helping and all this fix0ring is great, i think you n shash should take it to PM's or smth rather than on the forums, cos you are emitting newb rays!
__________________

http://www.generalemu.net/
Intel Core 2 Quad Q6600 @ 3.4Ghz (425x8), eVGA 8800GTX 768mb, 996Gb HDs, 2Gb Corsair DDR2-800 @ DDR2-1020 5-5-5-18 Dual Channel, 14605 3dMark 06 Points
CPU-Z Link
3dMark06 Score Link
Dont PM me for help, use the forums, thats what its for!



refraction is offline   Reply With Quote
Old February 27th, 2008   #92 (permalink)
The Alpha and Omega
 
ShakirMole's Avatar
 
Join Date: Mar 2007
Location: Tanzania
Posts: 300
lols to refraction
NHerve is still learning so let him prove himself as he has done so for DeSmuME and besides he has done well for the PS2 plugin
__________________
------------------------------------------------------
Join Irc server #thegoldcafe on channel irc.star-fleet.net and get rom compatibility lists for iDeaS,no$gba,and others and all your emulation needs
Alternatively, you could join through the java website which links directly to thegoldcafe channel
http://www.dscompatibilitydatabases.co.nr/

Professor Layton Walkthrough with excellent coverage and pics http://professorlaytonwalkthrough.blogspot.com/
ShakirMole is offline   Reply With Quote
Old February 27th, 2008   #93 (permalink)
PCSX2 Coder
 
refraction's Avatar
 
Join Date: Jan 2004
Location: Plymouth, UK
Posts: 9,583
oh i know hes still learning, and i think its great! but by saying hes finding all these problems without actually knowing, then shash corrects him (which i can tell is driving him a bit loopy lol), it serves no purpose than showing himself up, which is why i suggested while hes still getting to grips with it, if he has anything to report, keep it to PM's then he doesnt look like a 'wannabe' on the forums. Im not saying it to spite, im saying it to help him save face ;p
__________________

http://www.generalemu.net/
Intel Core 2 Quad Q6600 @ 3.4Ghz (425x8), eVGA 8800GTX 768mb, 996Gb HDs, 2Gb Corsair DDR2-800 @ DDR2-1020 5-5-5-18 Dual Channel, 14605 3dMark 06 Points
CPU-Z Link
3dMark06 Score Link
Dont PM me for help, use the forums, thats what its for!



refraction is offline   Reply With Quote
Old February 27th, 2008   #94 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
Yes. When I asked "how to create pcsx2 plugins", some guys answered me "if you have to ask you can't", and I've released Megapad.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!
NHervé is offline   Reply With Quote
Old February 27th, 2008   #95 (permalink)
PCSX2 Coder
 
refraction's Avatar
 
Join Date: Jan 2004
Location: Plymouth, UK
Posts: 9,583
Quote:
Originally Posted by NHervé View Post
Yes. When I asked "how to create pcsx2 plugins", some guys answered me "if you have to ask you can't", and I've released Megapad.
well thats cos they have a defeatest attitude. Im not saying if you dont know you never will, i realise you are learning and willing to learn, which is the most important thing.
__________________

http://www.generalemu.net/
Intel Core 2 Quad Q6600 @ 3.4Ghz (425x8), eVGA 8800GTX 768mb, 996Gb HDs, 2Gb Corsair DDR2-800 @ DDR2-1020 5-5-5-18 Dual Channel, 14605 3dMark 06 Points
CPU-Z Link
3dMark06 Score Link
Dont PM me for help, use the forums, thats what its for!



refraction is offline   Reply With Quote
Old February 28th, 2008   #96 (permalink)
Eric Cartmenez
 
dreampeppers99's Avatar
 
Join Date: Jul 2006
Location: Here
Posts: 295
Great works NHervé go on...
dreampeppers99 is offline   Reply With Quote
Old February 28th, 2008   #97 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
thanks. The 3d rendering is damn buggy, I've hacked the 3d core to get it, but I'll have to hack better. It seems the game is sending garbage or badly-formated commands to the 3d core.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!
NHervé is offline   Reply With Quote
Old February 28th, 2008   #98 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 651
Quote:
Originally Posted by NHervé View Post
thanks. The 3d rendering is damn buggy, I've hacked the 3d core to get it, but I'll have to hack better. It seems the game is sending garbage or badly-formated commands to the 3d core.
It's the CPU fault, the 3D core works quite flawlessly. Saying the 3D core is the culprit is utter nonsense, atleast on Rayman2 context. Oh, and PLEASE, don't make me elaborate why you're wrong on this, I'm not willing to write a 2 page explanation about why it's not the 3D core: I basically know way better how desmume, the 3D core, and the usual bugs are, that's why I'm saying this.
__________________
Emulator development blog
shashClp is online now   Reply With Quote
Old February 28th, 2008   #99 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 367
Guess what ??? I fixed the bug ! It was quite stupid : when command is 0, the variable that contained the commands was not shifted of 8 as it should do. I fixed this in 3 seconds and now the 3d rendering is correct.
__________________
Pcsx2 is great emulator and Megapad is great pad plugin !!!
NHervé is offline   Reply With Quote
Old February 28th, 2008   #100 (permalink)
Rockman fan
 
RockmanForte's Avatar
 
Join Date: May 2002
Location: Earth!
Posts: 3,387
Show a screenshot, man!
__________________


CASE: EagleTech Sidewinder Gaming Tower Case w/420W Power Supply Black
OS: Windows XP Professional X64
CPU: Intel core 2 Duo Processor E8400 (2x 3.0GHz/6MB L2 Cache/1333FSB)
Processor Cooling: Thermaltake V1 CPU Cooling Fan System Kit Silent & Overclocking Proof
Graphics Card: NVIDIA GeForce 8800GT 512MB w/DVI + TV Out Video
Memory: 2048GB [1024GB X2] DDR2-800 PC6400 Memory Module Corsair-Value or Major Brand
Sound Card: 3D Premium Surround Sound Onboard
RockmanForte is offline   Reply With Quote
Reply

Thread Tools
Display Modes
Linear Mode Linear Mode
Hybrid Mode