English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 30 January 2014, 16:56   #1
TroelsDK
Registered Amiga Maniac

TroelsDK's Avatar
 
Join Date: Dec 2011
Location: Denmark
Age: 34
Posts: 385
Stop iGame from writing to disk.. Possible?

Stop iGame from writing to disk.. Possible?


TroelsDK is offline  
AdSense AdSense  
Old 09 February 2014, 02:10   #2
yeti
 
Posts: n/a
If this is the message that appears when it's loading a game then I don't think it's actually writing to disk - rather it's 'reading' from the disk.

I found the message a bit irritating so I just opened up the executable in a hex editor and changed it so it said 'Accessing disk, please wait....'.

Doesn't really matter if it's reading or writing then, the message still reads ok
 
Old 09 February 2014, 02:14   #3
davideo
Amiga Tomcat

davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,170
I thought the message was to say it is writing to the disk.

This is so that it can update your play list - with the games you have played, those you have played the most, etc.
davideo is offline  
Old 09 February 2014, 02:37   #4
yeti
 
Posts: n/a
Ah yes, that makes complete sense now that you mention it!

I probably wouldn't recommend my slightly sledgehammer approach then
 
Old 09 February 2014, 02:41   #5
davideo
Amiga Tomcat

davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,170
@yeti

I would say that your message is more correct though because it will be reading the file, making a change to it and then writing it back to the HD.
davideo is offline  
Old 09 February 2014, 06:17   #6
demolition
Unregistered User
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 37
Posts: 3,342
It is actually writing the gameslist file to disk, which can take a while if you have many games, so I understand why Troels would want it gone. Also it might wear down a CF card relatively fast if you run many games through iGame.

I have made a patched version which does not write the file when executing a game, so try the attached version. It seems to work for me, but there may be side effects, as I just removed the call to write the file.
Attached Files
File Type: zip iGame.zip (20.0 KB, 84 views)
demolition is offline  
Old 09 February 2014, 12:45   #7
alkis21
Zone Friend
alkis21's Avatar
 
Join Date: Jul 2002
Location: Athens, Greece
Age: 42
Posts: 1,276
Send a message via MSN to alkis21
I believe that the reason it does that is to update the 'last played' flag. So with your patch, this option will not display the game that was executed last when you select that option from the menu on the right, correct?

Which iGame version did you work on? Is it 1.5?
alkis21 is offline  
Old 09 February 2014, 17:06   #8
demolition
Unregistered User
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 37
Posts: 3,342
Yes, it is saving last played, most played (the file is about 350kB on my A600, so not just a small file!) etc. so those informations are lost after closing IGame with my patch. I used version 1.6 alpha which was the one I had in my ClassicWB.
demolition is offline  
Old 09 February 2014, 18:11   #9
MrZammler
Zone Friend
MrZammler's Avatar
 
Join Date: Jan 2005
Location: Crete
Age: 40
Posts: 191
Hi,

as others pointed out, it's there to save your stats. I guess I could change it to save them during exit and not on each run. However, then if the game you play crashes, or you reboot your amiga, or anyway do not return to iGame and exit properly, they'll be lost.

To be honest, when developing on an A3000 with a 060, it didn't seem like a big deal, but I guess it can have an impact on less fast amigas. It could be enabled as an option maybe. Ideas are welcome

I'm waiting for parts to setup my A1200/030 and will try to make some new builds with some changes.
MrZammler is offline  
Old 09 February 2014, 18:23   #10
demolition
Unregistered User
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 37
Posts: 3,342
I think saving during exit would be a good solution, at least for me, or to make it optional when to save as you write. On my 020 A600 it takes about 3-4 secs to write that file which feels like a long time. It can be deceiving to develop on fast machines.
demolition is offline  
Old 09 February 2014, 20:03   #11
alkis21
Zone Friend
alkis21's Avatar
 
Join Date: Jul 2002
Location: Athens, Greece
Age: 42
Posts: 1,276
Send a message via MSN to alkis21
Hi Manolis! Saving during exit would indeed be great. But if you do find the time to make a new built, I'd be much more interested in the feature I asked you for a few years ago by email. Just to remind you, iGame does not run non-WHDLoad games if the file to be executed is a script with multiple commands. It works fine if it's a single executable file, but if there are are more commands, even a single line such as "killaga game.exe", then it doesn't do anything.
alkis21 is offline  
Old 09 February 2014, 20:05   #12
MrZammler
Zone Friend
MrZammler's Avatar
 
Join Date: Jan 2005
Location: Crete
Age: 40
Posts: 191
hi alkis! I'm really sorry about that. I promise I'll have a look at this as soon as I set things up.
MrZammler is offline  
Old 09 February 2014, 20:17   #13
alkis21
Zone Friend
alkis21's Avatar
 
Join Date: Jul 2002
Location: Athens, Greece
Age: 42
Posts: 1,276
Send a message via MSN to alkis21
Awesome, looking forward to it.
alkis21 is offline  
Old 12 February 2014, 02:56   #14
TroelsDK
Registered Amiga Maniac

TroelsDK's Avatar
 
Join Date: Dec 2011
Location: Denmark
Age: 34
Posts: 385
Wow! Sometimes if I miss the first reply-mail and then come back to a thread I find a lot of answers

As Demolition mentions, yes I know it's to save the "last played" etc. but I don't care about that. I have my favourites, and I update my main card from time to time and then all that info about "times played" and so on is deleted anyway.. I LOVE iGame, especially after its more complete state when I made the iff pack. The extra seconds every time on my 030 with 1000+ games does get a bit annoying.

Thanks again Demolition for another great patch!!

And thanks to the creator of iGame as well
TroelsDK is offline  
Old 13 February 2014, 00:05   #15
demolition
Unregistered User
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 37
Posts: 3,342
Quote:
Originally Posted by TroelsDK View Post
Thanks again Demolition for another great patch!!
Another? This was my first attempt into the art of patching Amiga software.
demolition is offline  
Old 13 February 2014, 01:00   #16
TroelsDK
Registered Amiga Maniac

TroelsDK's Avatar
 
Join Date: Dec 2011
Location: Denmark
Age: 34
Posts: 385
I mean the HDtools patch
TroelsDK is offline  
Old 13 February 2014, 01:41   #17
demolition
Unregistered User
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 37
Posts: 3,342
I can't take credit for that one as mark_k did it. I just got it from Aminet and applied it to the file. Not much effort on my part.
demolition is offline  
Old 13 February 2014, 02:09   #18
TroelsDK
Registered Amiga Maniac

TroelsDK's Avatar
 
Join Date: Dec 2011
Location: Denmark
Age: 34
Posts: 385
All right then but you brought it to my attention
Btw this saturday is good if you want to pick up the stuff from the basement?
TroelsDK is offline  
Old 20 April 2014, 11:51   #19
alkis21
Zone Friend
alkis21's Avatar
 
Join Date: Jul 2002
Location: Athens, Greece
Age: 42
Posts: 1,276
Send a message via MSN to alkis21
Any update maybe?
alkis21 is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to stop winuae from writing out the config file after it quits? jimmy2x2x support.WinUAE 5 31 March 2012 23:04
stop hard disk on windows ? turrican3 request.Apps 9 07 July 2010 22:28
Writing an adf file to disk on my pc Ravenhook support.Apps 5 04 June 2010 15:42
IPF writing to disk status kipper2k project.SPS (was CAPS) 5 11 December 2006 17:55
DMS Not Writing to Disk pan1k support.Apps 4 08 July 2006 02:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:01.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.21723 seconds with 13 queries