Search found 565 matches
- Tue Jan 24, 2017 10:14 pm
- Forum: Programming Discussion
- Topic: TR Polys - Fixed(p_cxt.depth.comparison = PVR_DEPTHCMP_GEQ)
- Replies: 7
- Views: 1234
Re: TR Polys?
The PVR has a special sorting mode for TR polygons. Normally you have to sort all transparent polygons and then draw them in sorted order from back to front. On the Dreamcast you can draw the transparent polygons in any order. You can turn this on/off in pvr_init autosort_disabled: http://gamedev.al...
- Tue Jan 24, 2017 7:43 am
- Forum: Programming Discussion
- Topic: MIPMAP - Well that was Easier
- Replies: 2
- Views: 402
Re: MIPMAP - Next Step
Use the compile functions to turn this into a normal polygon header that you can send to the PVR
- Tue Jan 24, 2017 6:26 am
- Forum: Programming Discussion
- Topic: vqenc - PNG problems (fopen should use 'rb' instead of 'r')
- Replies: 9
- Views: 829
Re: vqenc - problems
Yeah, "rb" and "r" are different on Windows, but not on Linux.. On Linux newlines are always symbolized by '\n'. On Windows they're "\r\n" (stupid historical reason). So on Linux "r" and "rb" behave the same, but on Windows "r" is text mode...
- Tue Jan 24, 2017 6:08 am
- Forum: Programming Discussion
- Topic: vqenc - PNG problems (fopen should use 'rb' instead of 'r')
- Replies: 9
- Views: 829
Re: vqenc - problems
Yes it works for me like that. Things to try: 1. get_image_png.c:61 replace fopen(..., "r") with fopen(..., "rb") 2. readpng.c:36 replace fread with if(fread(sig, 1, 8, infile) != 8) { fprintf(stderr, "Cannot read PNG identifier.\n"); return 2; } printf("signature ...
- Mon Jan 23, 2017 5:58 am
- Forum: Programming Discussion
- Topic: vqenc - PNG problems (fopen should use 'rb' instead of 'r')
- Replies: 9
- Views: 829
Re: vqenc - problems
And here's an example image that works for me.
- Mon Jan 23, 2017 5:27 am
- Forum: Programming Discussion
- Topic: vqenc - PNG problems (fopen should use 'rb' instead of 'r')
- Replies: 9
- Views: 829
Re: vqenc - problems
The vqenc code is available in the utils folder of kos. Just add some printf statements to see where the code fails then type make and rerun vqenc. Don't be afraid of touching code
- Sun Jan 22, 2017 8:18 am
- Forum: Programming Discussion
- Topic: Script for automatically converting textures to best format
- Replies: 18
- Views: 3319
Re: Script for automatically converting textures to best for
When I installed texture packer on Linux it was installed in /use/bin so it was in my PATH. I assume on Windows it's installed to c:/program files, so you will have to add that to your path or copy it to another location (I think it was just an exe without other files?). So you would have to call ex...
- Sun Jan 22, 2017 12:03 am
- Forum: Programming Discussion
- Topic: Script for automatically converting textures to best format
- Replies: 18
- Views: 3319
Re: Script for automatically converting textures to best for
Seems like another messed up path :( This look like a bug that you should report to the msys2 team. The brute force method took you quite far. Only linking remains.. Try adding -lQt5Core at the very end of the g++ command. If it doesn't find the library you can s0ecify it with -L lib_dir before the ...
- Sat Jan 21, 2017 10:55 am
- Forum: Programming Discussion
- Topic: Script for automatically converting textures to best format
- Replies: 18
- Views: 3319
Re: Script for automatically converting textures to best for
Is C:/repo a valid path? Looks suspicious to me. I think manually specifying your path should fix things.
- Sat Jan 21, 2017 10:30 am
- Forum: Programming Discussion
- Topic: Script for automatically converting textures to best format
- Replies: 18
- Views: 3319
Re: Script for automatically converting textures to best for
I've never done this on Windows, so I can only guess.. What is the output of the following command? qmake -query You can use qmake -spec spec_here to specify the spec manually. You can also set the QMAKESPEC environment variable for this purpose: http://doc.qt.io/qt-5/qmake-environment-reference.htm...
- Fri Jan 20, 2017 11:51 pm
- Forum: Off-Topic Forum
- Topic: Backing up a website without server access
- Replies: 7
- Views: 2032
Re: Backing up a website without server access
Depends on the command line options you pass in. It can rewrite links so that local files become the target.
- Thu Jan 19, 2017 9:39 pm
- Forum: Homebrew Software and Indie Games Discussion
- Topic: Crafti (Minecraft clone) for the Dreamcast !
- Replies: 13
- Views: 16300
Re: Crafti (Minecraft clone) for the Dreamcast !
I actually tried to disable rendering, to see if using store queues on a texture would improve things and rendering is not the bottleneck, especially at the low resolution of 320x240. Best case, i would only gain 1~3 FPS. I will look at this at some point tho. I assumed the renderer is the bottle n...
- Wed Jan 18, 2017 3:20 pm
- Forum: Homebrew Software and Indie Games Discussion
- Topic: Crafti (Minecraft clone) for the Dreamcast !
- Replies: 13
- Views: 16300
Re: Crafti (Minecraft clone) for the Dreamcast !
1. Yeah you'd have to switch to float. If you want to support both platforms and that other platform doesn't have floats you'll have to introduce some global typedef depending on the platform you're on. 2. Check the first bullet point http://dcemulation.org/phpBB/viewtopic.php?f=29&t=104104&...
- Wed Jan 18, 2017 5:07 am
- Forum: Homebrew Software and Indie Games Discussion
- Topic: Crafti (Minecraft clone) for the Dreamcast !
- Replies: 13
- Views: 16300
Re: Crafti (Minecraft clone) for the Dreamcast !
Nice project! I had a quick look at the code. Some suggestions, if you want to speed things up 1. You can use the fast math routines of the SH4 (fsincos) instead of the sinus table to implement fast_sin and fast_cos. Your code also always computes both sine and cosine, so I suggest you add a call fa...
- Wed Jan 18, 2017 4:51 am
- Forum: Programming Discussion
- Topic: Iterative builds or hot-loading with DCLOAD + DC-TOOL 1.0.5
- Replies: 3
- Views: 587
Re: Iterative builds or hot-loading with DCLOAD + DC-TOOL 1.
I think you're talking about hot loading, also called compile and edit etc. For example jak and daxter on ps2 had its own programming language which allowed reloading absolutely any code at runtime (including changed data structures it seems) http://www.codersnotes.com/notes/disassembling-jak This i...
- Wed Jan 18, 2017 4:40 am
- Forum: Front Page News and Forum Guidelines
- Topic: In The Line Of Fire - Kickstarter Launched!
- Replies: 35
- Views: 30839
Re: In The Line Of Fire - Kickstarter Launched!
Yeah, I think there was a problem with promoting the kickstarter, especially before it even started.
I think rethinking the marketing strategy should make a second attempt work out well.
I think rethinking the marketing strategy should make a second attempt work out well.
- Wed Jan 18, 2017 4:36 am
- Forum: Off-Topic Forum
- Topic: Backing up a website without server access
- Replies: 7
- Views: 2032
Re: Backing up a website without server access
You can use wget for example
http://www.linuxjournal.com/content/dow ... -site-wget
http://www.linuxjournal.com/content/dow ... -site-wget
- Sun Jan 15, 2017 5:44 am
- Forum: Programming Discussion
- Topic: Problem with Cross Compiler Setup
- Replies: 2
- Views: 412
Re: Problem with Cross Compiler Setup
The files should be created in your msys2 directory.the default recommend location would be /opt/toolchains/DC within there.
If you have trouble figuring things out you may want to try using the installer script at least for the first attempt.
I'll need more detailed information to help you.
If you have trouble figuring things out you may want to try using the installer script at least for the first attempt.
I'll need more detailed information to help you.
- Thu Jan 12, 2017 7:22 pm
- Forum: Programming Discussion
- Topic: [SOLVED] Maple activity causing system crash?
- Replies: 3
- Views: 582
Re: Maple activity causing system crash?
Have you tried testing the return values of the maple functions? maple_device_t *cont; cont_state_t *state; cont = maple_enum_type(0, MAPLE_FUNC_CONTROLLER); while(1) { state = (cont_state_t *)maple_dev_status(cont); if(!state) { printf("Error reading controller\n"); break; } if(state->but...
- Thu Jan 12, 2017 6:39 pm
- Forum: Programming Discussion
- Topic: Wiki feedback
- Replies: 102
- Views: 75966
Re: Wiki feedback
Oops, I should've read more carefully. Do you think we can port the too-unixy code parts to windows? It seems like not all that much code depends on UNIX functionality which is unsupported in msys. Looks like it's just some utils, maybe even only genromfs? And there's also the default shell which d...