/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/Bin/execute.bat
Defence Force logotype

Contents of /public/pc/tools/osdk/main/Osdk/_final_/Bin/execute.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1002 - (show annotations)
Sun Dec 8 10:50:26 2013 UTC (5 years, 11 months ago) by dbug
File MIME type: text/plain
File size: 982 byte(s)
Resynchronized my own changes to the OSDK with what was in the depot.
From now on I will continue the changes directly with the depot version, and try to update more regularly.
The reason I had this big change is that I had two computers with local changes done in demo parties when working on demos, where I did the fixes to handle Euphoric and Oricutron, plus new tools, modified tools, etc... giant mess.
I do not guarantee that what is on the depot is bug free, but it's the version I'm using right now (My OSDK var points to the public\pc\tools\osdk\main\Osdk\_final_ folder.
1 @ECHO OFF
2
3 ::
4 :: Store the current directory
5 ::
6 SET _=%CD%
7
8 ::
9 :: Initial checks to verify that everything is fine.
10 ::
11 IF "%OSDK%"=="" GOTO ErCfg
12
13 ::
14 :: Find which emulator we should run.
15 ::
16 IF "%OSDKEMUL%"=="" GOTO LaunchOricutron
17 IF "%OSDKEMUL%"=="ORICUTRON" GOTO LaunchOricutron
18 IF "%OSDKEMUL%"=="EUPHORIC" GOTO LaunchEuphoric
19
20 ECHO == ERROR ==
21 ECHO The OSDKEMUL variable contains an invalid value
22 ECHO It shoul either be not set, or set to either EUPHORIC or ORICUTRON
23 ECHO ===========
24 IF "%OSDKBRIEF%"=="" PAUSE
25 GOTO End
26
27 :LaunchEuphoric
28 CALL %OSDK%\Euphoric\osdk_euphoric.bat
29 GOTO End
30
31 :LaunchOricutron
32 CALL %OSDK%\Oricutron\osdk_oricutron.bat
33 GOTO End
34
35
36 ::
37 :: Outputs an error message about configuration
38 ::
39 :ErCfg
40 ECHO == ERROR ==
41 ECHO The Oric SDK was not configured properly
42 ECHO You should have a OSDK environment variable setted to the location of the SDK
43 ECHO ===========
44 IF "%OSDKBRIEF%"=="" PAUSE
45 GOTO End
46
47 :End
48 CD %_%

  ViewVC Help
Powered by ViewVC 1.1.26