freebasic.net Forum Index
FreeBASIC's Official Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in

NDS2xGL utility

 
Post new topic   Reply to topic    freebasic.net Forum Index -> Projects
View previous topic :: View next topic  
Author Message
Mysoft

PostPosted: Nov 06, 2007 10:29    Post subject: NDS2xGL utility Reply with quote

for those who know NO$GBA, (NDS emulator) will notice that it doesnt allow resize... for this reason, i haved programmed to actually take control of the emulator and add some features to it (1.5x zoom for now) , allow rotate the DS and etc...

using NDS2XGL2 (that is a loder) it creates a remote thread in the NO$GBA
process and execute the program from a dll, that makes all the rest, it get the DS screen buffer, by search the NO$GBA memory, and process it, also it uses OpenGL for faster blit, the result was impressive fast =)

the Readme:
Code:
hello, this Is the version 2.5 of the my program

NDS2xGL Is a program that add functions To the NO$GBA DS emulator (http://nocash.emubase.de/gba.htm), also thkz For martin For this incredible emulator =)

How To Install??

Just Extract/copy these contents into NO$GBA directory And To Run use the NDS2XGL2 executable

Features From Version 2.5

1) 1.5x zoom fixed (To fit in 1024x768) (fullscreen Is TODO)
2) Allow NO$GBA To rotate the Screen
3) Can Speed NO$GBA emulator a bit (2%-10%)
4) It uses/requires OpenGL (a faster card more speed-up)
5) It will Remeber the last select files for the roms you open using the normal open method (rom list not supported in this version)
6) It add 2 filter For the Graphics HQ2X And Scale2X
7) Add Right Click in the Touchscreen area (simulates mouse-look like those New games (CS/quake/etc..)

Optimized Settings:

Ok, i expect you have some New computer (that Is needed To Run NDS anyway), so this Is the best you can Do

in the emulator setup (F11):
  Video Output: Set To 15bpp

in the nds2xgl menu:
  FrameSkip 1 (30 fps) (you can use more To Get little extra speed)
  Textures: 16bits
  Filter: Scale2x Or None


Download it from here:
http://www.mediafire.com/?5hgzr4jznj9

Source Code:
http://www.mediafire.com/?b0y95dxfte2

Ds Emulator Website:
http://nocash.emubase.de/gba.htm


ps: Vista Users need to run in XP compatibility mode or else they will get a blank window...
if you are using XP and get a blank window, try changing the texture to 32bpp =)

edit: UPDATED both source code and download link, (i have fixed some bugs that caused the program to freeze in some computers and i have cleaned the code, and added more debug comments... plus i send the .dll with the debug version in a zip file.
 
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Mysoft

PostPosted: Nov 07, 2007 2:58    Post subject: Reply with quote

Updated!
 
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
KaraK

PostPosted: Nov 09, 2007 21:05    Post subject: Reply with quote

i tested it on my box , NO$GBA runs ok , but when i open NDS2XGL2.exe (the injector) the window of NO$ dissapears (but i still can hear the sound of the game and the process its still open)
 
Back to top
View user's profile
Mysoft

PostPosted: Nov 10, 2007 1:14    Post subject: Reply with quote

KaraK wrote:
i tested it on my box , NO$GBA runs ok , but when i open NDS2XGL2.exe (the injector) the window of NO$ dissapears (but i still can hear the sound of the game and the process its still open)


the FreeBasic Window Doesnt Even Open? wow
you can try extracting the Debug DLL an seeing in what point it stuck, but well, i only tested it running in pure Windows, since it uses some delicated things (like remotethreads) and it uses OpenGL... so:

1) if you have run it using the debug dll, and a white console window didnt open, means that is a problem with the CreateRemoteThread, maybe something related to permission, i can check this... but is the first time i have seen this problem xD
 
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    freebasic.net Forum Index -> Projects All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



sf.net phatcode