NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Show us your projects you made with libXenon
User avatar
Pa0l0ne
User
User
Posts: 33
Joined: Mon Sep 19, 2011 8:58 pm

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by Pa0l0ne » Sat Oct 22, 2011 1:01 pm

[quote="mjstriker5"]
Anyone try compiling this? Is it even to the point where it can actually be compiled? I tried and am getting an error with "xenosRend.o". I assume it has something to do with the xenosRend.cpp file but my Linux/compiling skills are pretty weak. Just learned how to do this stuff with the amazing N64 emu GliGLi put together.
[/quote]

I have this Error too. More specific here it is the Error:

Code: Select all

/home/pa0l0ne/nulldc-360/plugins/drkPvr/xenosRend.cpp:1220:31: error: 'Xe_SetClipPlaneEnables' was not declared in this scope

/home/pa0l0ne/nulldc-360/plugins/drkPvr/xenosRend.cpp:1228:33: error: 'Xe_SetClipPlaneEnables' was not declared in this scope

/home/pa0l0ne/nulldc-360/plugins/drkPvr/xenosRend.cpp:1257:26: error: 'Xe_SetClipPlane' was not declared in this scope
Fixing typo as warfaren said (Thank you dude!), and rebuilding your libxenon dev with gligli fixed libxenon git, solve the problem! (https://github.com/gligli/libxenon)

Good Luck!

mjstriker5

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by mjstriker5 » Sat Oct 22, 2011 4:28 pm

Thanks for the hints. To be honest I have no coding ability just really good at following instructions  :P . I have no idea how to tell what is a typo and what is not. I have downloaded the update libxenon and from what I know I think it is installing the updated version. Just did the same process I did for initially installing the toolchains.

Any suggestions on what I could read to learn how to compile and understand code? Seems like there are  soo many sources I even know where to start. Thanks

warfaren

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by warfaren » Sun Oct 23, 2011 1:27 pm

i dont really know how to code either. So what you need to do is fix upper/lower case errors in the code. You gotta attempt to compile, when you hit an error it will say in which source file the error is located, and *filename* file not found. Go look for that file and check how upper/lowercase really is on that filename and edit in the source.also like i said before there are some backslashes that needs to be changed to regular slashes.

p4r0l3

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by p4r0l3 » Wed Oct 26, 2011 7:03 pm

Thanks for the tip on using GliGli's updated libxenon repo, Pa0l0ne. I was able to get the current revision (with minor edits) to compile after installing zlib, libpng and after updating the libxenon toolchain. Haven't tested the elf file that was produced yet though.

User avatar
Pa0l0ne
User
User
Posts: 33
Joined: Mon Sep 19, 2011 8:58 pm

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by Pa0l0ne » Wed Oct 26, 2011 9:00 pm

[quote="p4r0l3"]
Thanks for the tip on using GliGli's updated libxenon repo, Pa0l0ne. I was able to get the current revision (with minor edits) to compile after installing zlib, libpng and after updating the libxenon toolchain. Haven't tested the elf file that was produced yet though.
[/quote]

Good Job p4r0l3! I have tested the elf, and bios load correctly, but i have to compile this source:
https://github.com/gligli/nulldc-360/zipball/master instead of the source you can download with the command "git clone https://github.com/gligli/nulldc-360"

You have to manually add some files from PC versione like this:

ROOT DIRECTORY:
Image

NULLDC-360 DIRECTORY:
Image

DATA DIRECTORY:
Image

PLUGINS DIRECTORY:
Image

THE nullDC.cfg file:

Code: Select all

;; nullDC config file;;
[nullDC]
Dynarec.Enabled=0
Dynarec.DoConstantPropagation=1
Dynarec.UnderclockFpu=0
Dreamcast.Cable=3
Dreamcast.RTC=1543276800
Dreamcast.Region=1
Dreamcast.Broadcast=0
Emulator.AutoStart=1
Emulator.NoConsole=0
Dynarec.SafeMode=1

[nullDC_plugins]
GUI=nullDC_GUI_Win32.dll
Current_PVR=drkPvr_Win32.dll
Current_GDR=ImgReader_Win32.dll
Current_AICA=nullAica_Win32.dll
Current_ARM=vbaARM_Win32.dll
Current_ExtDevice=nullExtDev_Win32.dll
Current_maple0_5=drkMapleDevices_Win32.dll:0
Current_maple0_0=NUL
Current_maple0_1=NUL
Current_maple1_5=NUL
Current_maple2_5=NUL
Current_maple3_5=NUL

[nullExtDev]
mode=0
adapter=0

[Xmaple]
Controller.DeadZone=25
PuruPuru.UseRealFrequency=1
PuruPuru.Length=175
PuruPuru.Intensity=100

[drkpvr]
Emulation.AlphaSortMode=2
Emulation.PaletteMode=1
Emulation.ModVolMode=2
Emulation.ZBufferMode=2
Emulation.TexCacheMode=0
OSD.ShowFPS=0
OSD.ShowStats=0
Video.ResolutionMode=0
Video.VSync=0
Enhancements.MultiSampleCount=0
Enhancements.MultiSampleQuality=0
Enhancements.AspectRatioMode=0

[ImageReader]
PatchRegion=0
LoadDefaultImage=0
DefaultImage=defualt.gdi
LastImage=c:\game.gdi



IF YOU WANT TO TEST SOULCALIBUR GAME YOU HAVE TO PLAY WITH THE FILE "ImgReader.cpp" located on plugins/ImgReader and edit the line 52 and 54

Line 52 seems to autoload the game if set to "true"

Code: Select all

irsettings.LoadDefaultImage=true;
Line 54 seems to set the path of your iso game (soulcalibur)

Code: Select all

strcpy(irsettings.DefaultImage,"sda:/dcisos/soulcalibur/Soul Calibur v1.000 (1999)(Namco)(NTSC)(US)[!][4S T-1401N].gdi");
Remember that "SDA" unit is the internal HD, and "UDA" unit is the external USB PENDRIVE OR USB HARDDISK

...but on my tests the iso won't load....

GliGli Work is very promising but probably the actual committed source is still immature (The Dynamic recompilation (Dynarec) won't work so the emulation is still slow)

Anyway, can you test if the .gdi image work on your compiled source?

silva
User
User
Posts: 3
Joined: Thu Aug 11, 2011 9:43 pm
Location: Tanami Desert

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by silva » Sun Nov 06, 2011 7:03 am

Hi Everyone,

Have the same issue here of can not get images to load. Emulator does run OK to DC menu (Play, Music, File, etc) if loadDefaultImage=false. Have tried soulcalibur.gdi and some scene demos of .cdi format. USB hdd light indicates activity but in the end, nothing..

Used MinGW on Win7 to build the elf. Had to edit plugins/ImgReader/common.h (wstring path; to std::wstring path;). Don't know if thats ok or not?

Anybody get further than this have any tips?

Kindest Regards

warfaren

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by warfaren » Sun Nov 06, 2011 2:37 pm

[quote="silva"]
Hi Everyone,

Have the same issue here of can not get images to load. Emulator does run OK to DC menu (Play, Music, File, etc) if loadDefaultImage=false. Have tried soulcalibur.gdi and some scene demos of .cdi format. USB hdd light indicates activity but in the end, nothing..

Used MinGW on Win7 to build the elf. Had to edit plugins/ImgReader/common.h (wstring path; to std::wstring path;). Don't know if thats ok or not?

Anybody get further than this have any tips?

Kindest Regards
[/quote]

GliGli told me BIOS is all it can play for now.

silva
User
User
Posts: 3
Joined: Thu Aug 11, 2011 9:43 pm
Location: Tanami Desert

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by silva » Sun Nov 06, 2011 4:35 pm

Ok Cool, good fun following the progress in code updates on github for these projects.

Thanks !

warfaren

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by warfaren » Sun Nov 27, 2011 1:47 am

Ok, so I just tried out Soul Calibur. All I can say is.... wow!
Thank you GliGli!!!

User avatar
Razkar
Team
Team
Posts: 16
Joined: Sat Feb 19, 2011 6:18 pm
Location: France

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by Razkar » Sun Nov 27, 2011 10:48 pm

First post updated
Thx to Gli²
[align=center]Image[/align]

Sonic-NKT

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by Sonic-NKT » Mon Nov 28, 2011 8:19 am

Looks awesome :)
cant wait for a first release...

User avatar
Pa0l0ne
User
User
Posts: 33
Joined: Mon Sep 19, 2011 8:58 pm

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by Pa0l0ne » Thu Dec 01, 2011 11:47 pm

[quote="Sonic-NKT"]
Looks awesome :)
cant wait for a first release...
[/quote]

...so just compile yourself...and enjoy actual state of art!  ;)

HiGhLaNdR

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by HiGhLaNdR » Thu Dec 22, 2011 12:08 pm

Hello, I'm getting this problem:

/home/rui/xbox/nulldc-360/plugins/ImgReader/deps/chdr.cpp:44:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make[1]: *** [chdr.o] Error 1
make: *** [build] Error 2

Any ideia why?
If I copy the zlib.h and the zconf.h to the libxenon lib dir it will pass this error and then I'll get other errors like the png library missing which I can copy too ... in the end when linking to finalize I get the lpng and lz missing ...

Thanks!

User avatar
tuxuser
Administrator
Administrator
Posts: 301
Joined: Sat Feb 19, 2011 4:53 pm
Location: Germany
Contact:

NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by tuxuser » Thu Dec 22, 2011 12:21 pm

I have no idea what I am doing but atleast I am trying

HiGhLaNdR

Re: NullDC-360 (Dreamcast Emulator) for LibXenon by GliGli

Post by HiGhLaNdR » Thu Dec 22, 2011 12:51 pm

Thanks.

linking ... nulldc-360.elf
converting and stripping ... nulldc-360.elf32

Done :)

Cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests