KOS under windows and VC6++

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

KOS under windows and VC6++

Post by Vorrtexx »

For anyone who wants to use KOS 1.1.9 with VC6++ in windows you can use this little DC Project Wizard I Created.
Basically The same thing at the Pern Project but I updated it for KOS 1.1.9
enabled romdisk usage more easily
and allows you to select between using c files or cpp files.

you can grab it here:
http://vorrtexx.ionichost.com

any questions, suggestions, comments email me at vorrtexx@yahoo.com
Read the readme.txt file included to install/setup.
User avatar
JMD
Insane DCEmu
Insane DCEmu
Posts: 234
Joined: Wed Dec 11, 2002 6:45 am
Location: A Melody From a Past Life Keeps Pulling Me Back
Has thanked: 0
Been thanked: 0
Contact:

Post by JMD »

Wow, great !

I tried it and work's fine for the app wizard.
I Just had a pbm with the Romdisk creation. My Dos console (I use WinMe) don't run the 'if exist' conditions of createim.bat and createo.bat. The batch always return 'directory not found'. When I delete them, all works nice.

I'll update my pern Project's app wizard // Bin2odc.exe :D

Thanks
Image
There is the theory of Möbius. A twist in the fabric of space where time becomes a loop
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

Does anyone still have the appwizard?
I noticed it's not on the site anymore, I would appreciate if someone could send it to me. :mrgreen:
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
q_006
Mental DCEmu
Mental DCEmu
Posts: 415
Joined: Thu Oct 10, 2002 7:18 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by q_006 »

are you gonna make one for KOS 1.3.0? or whatever the latest version is now?

edit: question directed towards OP (Vortexx)
Last edited by q_006 on Sun May 16, 2004 3:23 pm, edited 1 time in total.
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

Not really, I just need it to get back to devving.

Do you have it?
Vorrtexx?
Anyone?
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
q_006
Mental DCEmu
Mental DCEmu
Posts: 415
Joined: Thu Oct 10, 2002 7:18 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by q_006 »

Tvspelsfreak wrote:Not really, I just need it to get back to devving.

Do you have it?
Vorrtexx?
Anyone?
check your PM
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Vorrtexx »

this is an old one heh.
I have one that works with KOS 1.2.0 which links to a cygwin setup.
basically it lets you use VC6++ as your IDE editor and pressing Alt B B will compile it for you then, without using a makefile (well it uses a VC mak file).
It works fine for me, but when my projects get large, I tend to use a MakeFile instead and run it from within cygwin, as it will recompile only the class files that were altered (where in VC6++, it will recompile every class file) and it can take a couple of seconds longer for larger projects when using it in VC.

I have KOS 1.3.0 but I have not had time to compile it yet.
If you're looking for a link let me know. I have the source to the project wizard somewhere here, I can recompile it and upload it.
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

q_006 wrote:check your PM
Okay, I sent you a message I think. I've had problems with PM's before. :wink:

Vorrtexx:
I've used 1.1.9 for all my devving, Is there a lot of differences between 1.1.9 and 1.2.0?
It would be very nice of you to recompile and upload it again. :D
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Vorrtexx »

Tvspelsfreak wrote:
q_006 wrote: I've used 1.1.9 for all my devving, Is there a lot of differences between 1.1.9 and 1.2.0?
It would be very nice of you to recompile and upload it again. :D

I have no idea, it's been over a year since I last looked at 1.1.9 and many months since I last loaded the wizard code. If I have both I'll take a look and do two seperate builds if neccessary. I'll try getting it up within the next couple of days (busy with final exams)
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

Okay, thanks Vorrtexx!
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

Err, what ever happened to createo.bat and createim.bat?
They're not part of the installation but the compiler needs them and I'm sure I had them before.

EDIT: Oh, I just realized they had to be created by your appwizard or something. It's not needed with the 1.1.7 setup and it's not a part of cygwin. it's only needed for the stuff I created using your appwizard. :)
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Vorrtexx »

Ok I re-upped them. you can grab them from here: http://vorrtexx.ionichost.com
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

Thanks Vorrtexx, I really appreciate it!

However, It won't work for me. :(

All the things I've tried compiling gives me the same error:

Code: Select all

Deleting intermediate files and output files for project 'test - Win32 Debug'.
--------------------Configuration: test - Win32 Debug--------------------
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 C:\DevKitDC\bin\createim c:\test\romdisk.img c:\test\romdisk
0    rom 40a9fbaa         [0xffffffff, 0xffffffff] 37777777777, sz     0, at 0x0     
1    .                    [0x1000    , 0x14376064] 0040755, sz     0, at 0x20    
1    ..                   [0x1000    , 0x78aaa8d ] 0040755, sz     0, at 0x40     [link to 0x20    ]
 C:\DevKitDC\bin\createo c:\test\romdisk.img romdisk c:\test\romdisk.o
 C:\DevKitDC\bin\g++ -o test.elf romdisk.o  startup.o  test.cpp -I C:\DevKitDC\include -I C:\DevKitDC\kernel\arch\dreamcast\include -ml -m4-single-only -O2 -fno-builtin -fno-strict-aliasing -fomit-frame-pointer -fno-optimize-sibling-calls -nostartfi
les -nostdlib -Wl -Ttext=0x8c010000 -L C:\DevKitDC\lib -L C:\DevKitDC\sh-sega-dreamcast\lib -lkallisti -lgcc -ltsunami -lk++ -lparallax -lpcx -lz -lm -Ttext=0x8c010000
Virtual memory exhausted: Invalid argument
NMAKE : fatal error U1077: 'C:\DevKitDC\bin\g++.exe' : return code '0x1'
Stop.
Error executing NMAKE.

test.exe - 1 error(s), 0 warning(s)
I doesn't look that serious, but what do I know...

Has anyone got a clue at what might be wrong?
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Vorrtexx »

I notice its the one for the DCDevKit from The Pern Project.
The project wizard/mak file I used for that was really old and I think it had some problems in it.
Because I haven't used it in so long, I really couldn't say.
Tvspelsfreak
Team Screamcast
Team Screamcast
Posts: 144
Joined: Tue Dec 23, 2003 6:04 pm
Location: Umeå, Sweden
Has thanked: 0
Been thanked: 0
Contact:

Post by Tvspelsfreak »

I fixed it a couple of days ago.
I just reinstalled Visual C++ and the devkit and now it works like a charm.

Thanks again Vorrtexx! :D
https://github.com/tvspelsfreak/texconv - Converts images into any texture format supported on the DC.
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Vorrtexx »

No prob.
I put the source to the dcdevkit project wizard up on my page so if you want to fiddle with editing it for you own purposes you can do so.
Post Reply