Emuforums.com

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

Reply
 
LinkBack Thread Tools Display Modes
Old March 29th, 2008   #1 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
3D being seriously bugged

Hi,

In most games the 3D is fine, but in RaymanDS the 3D display has serious bugs, such as the menu texts not showing up, the sky and the water moving way too fast, the Ptizetre on left being IN the rock instead of being ON the rock, Carmen the Whale being upside-down as a dead fish, artifacts appearing and disappearing suddently, and others... That was only the menu.

I've also another game where the 3D is seriously bugged : it's Worms2 Open Warfare. The game works but is not (very) playable due to the land being seriously incorrect.

Hope some of these bugs will be fixed in the next version.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old March 29th, 2008   #2 (permalink)
Emu author
 
Lino's Avatar
 
Join Date: May 2007
Location: Italy
Posts: 313
Which version? :eating
__________________
iDeaS Emulator
Lino is offline   Reply With Quote
Old March 29th, 2008   #3 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
version 1.0.2.2
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old March 29th, 2008   #4 (permalink)
Rockman fan
 
RockmanForte's Avatar
 
Join Date: May 2002
Location: Earth!
Posts: 3,804
Quote:
Originally Posted by Lino View Post
Which version? :eating
Maybe you should focus on 3-D to fix to improvement it.
__________________


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 March 29th, 2008   #5 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
Yes, the 3D is damn buggy, I think the main problem is some coordinates being wrong.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old April 2nd, 2008   #6 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
I think I'll release a plugin for 3D, that will be more correct.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old April 3rd, 2008   #7 (permalink)
Emu author
 
Lino's Avatar
 
Join Date: May 2007
Location: Italy
Posts: 313
Well
__________________
iDeaS Emulator
Lino is offline   Reply With Quote
Old April 3rd, 2008   #8 (permalink)
Rockman fan
 
RockmanForte's Avatar
 
Join Date: May 2002
Location: Earth!
Posts: 3,804
Lino will need everything he can get help from you and maybe some other people. Lino deserves it!
__________________


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 April 3rd, 2008   #9 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
Yes but I've 2 problems :

1 - To get the DC of iDeaS, I need to use the funcs in the IWnd struct that is in the VIDEO3DPARAM struct. But I must Sleep() of at least 1 millisecond before and after each call, else the emu crashes. Isn't there a less hacky way to avoid this crash ?

2 - The touchscreen doesn't work in some cases (RRR2, Mario 64, NSMB menus, ...). It works perfect with the older versions. Lino, did you touch the touchscreen handling ? Try to fix it in the new version.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old April 3rd, 2008   #10 (permalink)
Emu author
 
Lino's Avatar
 
Join Date: May 2007
Location: Italy
Posts: 313
Quote:
Originally Posted by NHervé View Post
Yes but I've 2 problems :

1 - To get the DC of iDeaS, I need to use the funcs in the IWnd struct that is in the VIDEO3DPARAM struct. But I must Sleep() of at least 1 millisecond before and after each call, else the emu crashes. Isn't there a less hacky way to avoid this crash ?

2 - The touchscreen doesn't work in some cases (RRR2, Mario 64, NSMB menus, ...). It works perfect with the older versions. Lino, did you touch the touchscreen handling ? Try to fix it in the new version.
1) Crash? I havent problems? Linux or Windows? Do you must Sleep()? Why? It's created with the window.

2) The functions of the touchscreen are always the same, maybe your setting are bugged.
__________________
iDeaS Emulator
Lino is offline   Reply With Quote
Old April 3rd, 2008   #11 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
1) It's on Windows, here's my code :
Code:
PROTO_SINT SetInfoFunc(LPSETPLUGININFO lpInfo){
	if(lpInfo==NULL)return 0;

	if(PLUGINISENABLE(lpInfo)){
		if(lpInfo->lParam)memcpy(&Nitro3D.pluginStruct, (void*)lpInfo->lParam, sizeof(VIDEO3DPARAM));
		if(!(Nitro3D.pluginStruct.lpWnd))return 0;
		Sleep(0);
		Nitro3D.dc=Nitro3D.pluginStruct.lpWnd->DC();
		Sleep(0);
		Nitro3D.glInit();
	}
	return 1;
}
You can see that I call Sleep(0) before and after my call to IWnd->DC(). If I remove one of the two Sleep(0) calls, the emu crashes. Why ? Please help me, or I'll think you don't want the plugins you didn't create.

2)It's me who is buggy, the touchscreen setting was set to Far Corners instead of Normal. The touchscreen now works perfect.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old April 4th, 2008   #12 (permalink)
Emu author
 
Lino's Avatar
 
Join Date: May 2007
Location: Italy
Posts: 313
I repeat I havent problems, DC() returns a simple value of variable, it isnt a complex code, I dont know because your code requires a small timeslice. Do you know?
__________________
iDeaS Emulator
Lino is offline   Reply With Quote
Old April 4th, 2008   #13 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
I don't know why, else I won't ask.
I think I'll rather use GetDC(0) to get my DC.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Old April 4th, 2008   #14 (permalink)
Rockman fan
 
RockmanForte's Avatar
 
Join Date: May 2002
Location: Earth!
Posts: 3,804
You are working on desmume and ideas ? Interesting. I would love to see how far you can go.
__________________


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 April 5th, 2008   #15 (permalink)
Emu author
 
Lino's Avatar
 
Join Date: May 2007
Location: Italy
Posts: 313
Quote:
I don't know why, else I won't ask.
I think I'll rather use GetDC(0) to get my DC
I havent problems, I don't know it.
I use the variable up to when I havent problems.

Quote:
You are working on desmume and ideas ? Interesting. I would love to see how far you can go.
__________________
iDeaS Emulator
Lino is offline   Reply With Quote
Old April 27th, 2008   #16 (permalink)
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 518
For sound plugins, I started another plugin I compiled with DevC++ and the pfn_r* funcs now work fine.
__________________
No pity for n00bs here !
NHervé is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:14.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5