Who's Online 
 
              
          112  user(s) are online (
77  user(s) are browsing 
Forums )
Members: 0
Guests: 112
    more...
  
      
     
   
 
                
        
            
                        
            
                        
  
      
          Topic options 
                           
            
      
          View mode 
                        Newest First 
                 
                      
              
    
 
    
  
    
    
        
    
    
        
            
         
        
            Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 9:31 
                                  
                                    #1  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @all
After Vanilla Conquer (C&C), I am now working on Augustus (open source new version of Ceaser 3 strategy game)
https://github.com/Keriew/augustus I am able to compile the executable with latest SDL 2.24 and SDL2 Mixer.
I am able to compile AmigaOS executable with newlib (I don't have the all libraries compiled for clib2 yet)
Now I have compiled Augustus port for OS4 and I have Ceaser3 data files (GOG version).
However when I run the game, Snoopy (SnoopDOS) shows that Amiga executable is adding "./" to in front of data files.
E.g. "./c3.eng" instead "c3.eng).
Any ideas how to solve it ? What am I doing wrong ?
The file related sources are in this directory
https://github.com/Keriew/augustus/tree/master/src/core 
            
                                            
                
                
                    Edited by SinanSam460 on 2022/8/30 8:26:05
                      
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 9:51 
                                  
                                    #2  
     
    
                
                             Quite a regular
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Central Bohemia, Czech Republic
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        I am not expert with coding, but linux operates / and // in path the same way. 
                        
            
                                    
 
     
    
                
                                
                AmigaOS3:  Amiga 1200AmigaOS4:  Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000MorphOS:  Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 11:46 
                                  
                                    #3  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Italy, Perugia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        There is already a port for MorphOS, maybe can help you
https://github.com/BeWorld2018/augustus 
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 11:59 
                                  
                                    #4  
     
    
                
                             Just can't stay away
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Finland
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
                        
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 12:31 
                                  
                                    #5  
     
    
                
                             Just popping in
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Älvsbyn, Sweden
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
static const  char  * get_case_corrected_file (const  char  * dir , const  char  * filepath )
 char corrected_filename [ 2  *  FILE_NAME_MAX ];
 corrected_filename [ 2  *  FILE_NAME_MAX  -  1 ] =  0 ;
 size_t dir_len  =  0 ;
 size_t dir_skip  =  0 ;
 dir  || !* dir ) {
 dir  =  "." ;
 dir_skip  =  2 ;
 dir_len  =  strlen ( dir );
 strncpy ( corrected_filename ,  dir ,  2  *  FILE_NAME_MAX  -  1 );
 dir_len ) {
 dir [ dir_len  -  1 ] !=  '/' ) {
 corrected_filename [ dir_len ] =  '/' ;
 dir_len ++;
  
do note that this isn't the only place probably but you have to #ifdef __amigaos4__
around for instance if (!dir||!*dir)
remove the dir = "." and check the remaining parts
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 13:01 
                                  
                                    #6  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Indiana, USA
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
                        
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 13:11 
                                  
                                    #7  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @salass00
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caeser 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/29 15:00 
                                  
                                    #8  
     
    
                
                             Quite a regular
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Norway
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        Wow, that is excellent news! Well done, SinanSam460! 
 Looking forward to give it a try!
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 8:22 
                                  
                                    #9  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @all
Augustus is now available on OS4Depot.net
http://www.os4depot.net/?function=sho ... ame/strategy/augustus.lha Here is a short video of Augustus on Sam460:        
VIDEO 
Installation and Running Instructions:
---------------------------------------------
1) Purchase Ceaser III from GOG or Steam
https://www.gog.com/game/caesar_3 and install the game on Windows
2) Copy the Caesar III directory to AmigaOS 4. 
3)Please download and unpack open sources assets archive:
https://augustus.josecadete.net/download/latest/release/windows 4) Please copy the "assets", "maps", "manual" folders (from the archive you just have downloaded) to Caeser III folder on AmigaOS 4
5) Please copy augustus and augustus.ini to file to same directory on AmigaOS 4.
6) Run the game
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 9:09 
                                  
                                    #10  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Russia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @Sinan
Seems works on my x5000 as well:        
VIDEO 
Did you use newlib in end or afxgroup's clib2 ? If newlib, which ones 3d party libs you miss for clib2 ?
Btw, what i noticed, that when you move window, output flooded with SDL information about "window move to coordinates blblabla", maybe worth to disable ?
            
                                            
                
                
                    Edited by kas1e on 2022/8/30 9:32:21
                      
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 9:49 
                                  
                                    #11  
     
    
                
                             Site Builder
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Athens/Dublin
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
Great work. Well done man.
And of course thanks to BeWorld for helping out and Capehill for his continuous work on SDL
Quote:
when you move window, output flooded with SDL information about "window move to coordinates blblabla", maybe worth to disable ? Yeah, that would be great to be disabled, because output like that steals frames from the games.
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 9:55 
                                  
                                    #12  
     
    
                
                             Quite a regular
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Central Bohemia, Czech Republic
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
                        
            
                                    
 
     
    
                
                                
                AmigaOS3:  Amiga 1200AmigaOS4:  Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000MorphOS:  Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 10:24 
                                  
                                    #13  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @walkero
Thanks for nice words. 
I have disabled SDL_Log during gameplay, so these messages won't be displayed.
New V1.01 archive is at OS4Depot Upload section:
http://www.os4depot.net/index.php?function=uploads 
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 11:55 
                                  
                                    #14  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @kas1e
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 13:05 
                                  
                                    #15  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Russia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @Sinan
                        
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 15:59 
                                  
                                    #16  
     
    
                
                             Not too shy to talk
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Istanbul
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @kas1e
                        
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 16:27 
                                  
                                    #17  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Russia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @Sinan
                        
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 18:53 
                                  
                                    #18  
     
    
                
                             Just popping in
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Germany/NRW
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        Caesar III with german language patch including german voice output 
Great work, many thanks for the Port.
Running perfect on my X5K.
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/30 21:36 
                                  
                                    #19  
     
    
                
                             Just can't stay away
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Northern Ireland
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @kas1e
                        
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: Porting Augustus (Caesar 3) to AmigaOS4
         
        
            
                                    Posted on: 
2022/8/31 2:47 
                                  
                                    #20  
     
    
                
                             Home away from home
                         
                    
                        Joined: Last Login
                                : 
                                                    From  Russia
                                                                            Group: 
                                 
                                                
                                                                            
                                             
                                     
        
                        @ddni
Quote:
Were stopped in 2019 with, and the latest progress were there (if anyone willing to finish it):
https://github.com/pjasicek/OpenClaw/issues/142 
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
    
  
    
      Currently Active Users Viewing This Thread:
      1
      (
        0 members
                  and 1 Anonymous Users
              )