openitg.git
13 years agoDon't return false as a pointer
Mikko Rasa [Mon, 25 Jun 2012 20:46:35 +0000 (23:46 +0300)] 
Don't return false as a pointer

13 years agoFix the wrap functions again, properly this time
Mikko Rasa [Mon, 25 Jun 2012 19:58:24 +0000 (22:58 +0300)] 
Fix the wrap functions again, properly this time

13 years agoHow has this been in our repository for this long?:
infamouspat [Sun, 24 Jun 2012 23:17:51 +0000 (16:17 -0700)] 
How has this been in our repository for this long?:

* Fix wrong use of test syntax in build-home.sh that resulted in make
  creating an unlimited amount of threads when the number of processes
  is not specified

13 years agoReorder memcard loading to favor USB profiles over custom songs
infamouspat [Wed, 4 Apr 2012 05:57:55 +0000 (22:57 -0700)] 
Reorder memcard loading to favor USB profiles over custom songs

13 years agoDeploy script for copying binary to arcade cab for testing
Carl Myers [Wed, 4 Apr 2012 06:14:23 +0000 (23:14 -0700)] 
Deploy script for copying binary to arcade cab for testing

13 years agoRevert "Make wrap a template to avoid type-punning"
Carl Myers [Wed, 4 Apr 2012 03:53:35 +0000 (20:53 -0700)] 
Revert "Make wrap a template to avoid type-punning"

This reverts commit 334f1f865fde7123608a4c7363e33424464273d6.

13 years agoNo longer use -Wno-unused-but-set-variable for building libtommath
Carl Myers [Tue, 3 Apr 2012 03:59:43 +0000 (20:59 -0700)] 
No longer use -Wno-unused-but-set-variable for building libtommath

13 years agoFix songinprogress write crashing on marathons
infamouspat [Sun, 26 Feb 2012 00:31:37 +0000 (16:31 -0800)] 
Fix songinprogress write crashing on marathons

13 years agoFix busted FileCopy()
infamouspat [Tue, 3 Apr 2012 07:22:01 +0000 (00:22 -0700)] 
Fix busted FileCopy()

13 years agoreplace kludgy global flag with less kludgy callbacks; this code is untested, since...
Mark Cannon [Mon, 13 Feb 2012 19:38:33 +0000 (14:38 -0500)] 
replace kludgy global flag with less kludgy callbacks; this code is untested, since I don't have a test environment ri ght now, but shouldn't break anything hugely

13 years agoSongManager: Consolidate m_pMachineSongs and m_pCustomSongs into one vector
infamouspat [Sun, 22 Jan 2012 11:00:35 +0000 (03:00 -0800)] 
SongManager: Consolidate m_pMachineSongs and m_pCustomSongs into one vector

13 years agoMerge pull request #7 from Ugge/master
spigwitmer [Sat, 21 Jan 2012 06:22:49 +0000 (22:22 -0800)] 
Merge pull request #7 from Ugge/master

Build fixes

13 years agoMerge pull request #12 from DataBeaver/master
spigwitmer [Fri, 25 Nov 2011 23:00:41 +0000 (15:00 -0800)] 
Merge pull request #12 from DataBeaver/master

Warning fixes and pmount support

13 years agoAdd libtomcrypt and libtommath to vs2008 build
infamouspat [Fri, 25 Nov 2011 21:34:34 +0000 (13:34 -0800)] 
Add libtomcrypt and libtommath to vs2008 build

13 years agoBetter range check for keycodes on X11
Mikko Rasa [Mon, 7 Nov 2011 09:11:48 +0000 (11:11 +0200)] 
Better range check for keycodes on X11

13 years agoImplement pmount support for memory cards not found in fstab
Mikko Rasa [Wed, 2 Nov 2011 15:47:40 +0000 (17:47 +0200)] 
Implement pmount support for memory cards not found in fstab

13 years agoFix reading of USB device information
Mikko Rasa [Wed, 2 Nov 2011 15:46:19 +0000 (17:46 +0200)] 
Fix reading of USB device information

13 years agoFix line numbers in error messages
Mikko Rasa [Wed, 2 Nov 2011 15:06:15 +0000 (17:06 +0200)] 
Fix line numbers in error messages

13 years agoEliminate various warnings about unused variables
Mikko Rasa [Wed, 2 Nov 2011 12:07:18 +0000 (14:07 +0200)] 
Eliminate various warnings about unused variables

13 years agoThe CString overload of GetSha1ForFile is never called, disable it to avoid a warning
Mikko Rasa [Wed, 2 Nov 2011 12:05:22 +0000 (14:05 +0200)] 
The CString overload of GetSha1ForFile is never called, disable it to avoid a warning

13 years agoMark dummy as unused since it's apparently needed on some platforms (OpenITG on OS...
Mikko Rasa [Wed, 2 Nov 2011 12:01:22 +0000 (14:01 +0200)] 
Mark dummy as unused since it's apparently needed on some platforms (OpenITG on OS/2?  Oh yeah.)

13 years agoCheck the return value of rfod->Read
Mikko Rasa [Wed, 2 Nov 2011 12:00:21 +0000 (14:00 +0200)] 
Check the return value of rfod->Read

13 years agopcre/chartables.c is #included from another file, don't compile it separately
Mikko Rasa [Wed, 2 Nov 2011 11:59:48 +0000 (13:59 +0200)] 
pcre/chartables.c is #included from another file, don't compile it separately

13 years agoRemove a no-op statement
Mikko Rasa [Wed, 2 Nov 2011 11:58:45 +0000 (13:58 +0200)] 
Remove a no-op statement

13 years agoFix some undefined behaviour
Mikko Rasa [Wed, 2 Nov 2011 11:58:07 +0000 (13:58 +0200)] 
Fix some undefined behaviour

13 years agoRemove an erroneous semicolon
Mikko Rasa [Wed, 2 Nov 2011 10:52:48 +0000 (12:52 +0200)] 
Remove an erroneous semicolon

13 years agoMore string literal workarounds
Mikko Rasa [Wed, 2 Nov 2011 10:52:33 +0000 (12:52 +0200)] 
More string literal workarounds

13 years agoAvoid a warning about converting a string literal to (non-const) char *
Mikko Rasa [Wed, 2 Nov 2011 10:51:48 +0000 (12:51 +0200)] 
Avoid a warning about converting a string literal to (non-const) char *

13 years agoDitch the asserts from dsnd*alloca, since they're only ever used on stack variables
Mikko Rasa [Wed, 2 Nov 2011 10:51:02 +0000 (12:51 +0200)] 
Ditch the asserts from dsnd*alloca, since they're only ever used on stack variables

13 years agoMake wrap a template to avoid type-punning
Mikko Rasa [Wed, 2 Nov 2011 10:46:16 +0000 (12:46 +0200)] 
Make wrap a template to avoid type-punning

13 years agoPrefer a union over type-punning
Mikko Rasa [Wed, 2 Nov 2011 10:45:19 +0000 (12:45 +0200)] 
Prefer a union over type-punning

13 years agoWe're not going to fall out of the loop, inform the compiler of that
Mikko Rasa [Wed, 2 Nov 2011 10:44:59 +0000 (12:44 +0200)] 
We're not going to fall out of the loop, inform the compiler of that

13 years agoUse temporary variables to avoid warnings about casts
Mikko Rasa [Wed, 2 Nov 2011 10:43:53 +0000 (12:43 +0200)] 
Use temporary variables to avoid warnings about casts

13 years agoSilence warnings from the .xpm file in GTK loading window
Mikko Rasa [Wed, 2 Nov 2011 10:43:20 +0000 (12:43 +0200)] 
Silence warnings from the .xpm file in GTK loading window

13 years agoSilence warnings from libtomcrypt
Mikko Rasa [Wed, 2 Nov 2011 10:42:20 +0000 (12:42 +0200)] 
Silence warnings from libtomcrypt

13 years agoFix aclocal invocation
Mikko Rasa [Wed, 2 Nov 2011 09:19:59 +0000 (11:19 +0200)] 
Fix aclocal invocation

13 years agosuper happy dickhouse productions
infamouspat [Sun, 23 Oct 2011 05:52:01 +0000 (22:52 -0700)] 
super happy dickhouse productions

13 years agomore tentative USB matching fixery; replace shorts with uint16_t, to avoid signedness...
Mark Cannon [Tue, 4 Oct 2011 02:47:47 +0000 (22:47 -0400)] 
more tentative USB matching fixery; replace shorts with uint16_t, to avoid signedness issues with casting

13 years agotentative fix for USB matching error
Mark Cannon [Mon, 3 Oct 2011 22:41:15 +0000 (18:41 -0400)] 
tentative fix for USB matching error

13 years agoUpdating songinprogress path to work in arcade and be the same
Carl Myers [Mon, 3 Oct 2011 08:17:28 +0000 (01:17 -0700)] 
Updating songinprogress path to work in arcade and be the same

CR: infamouspat

13 years agofile to mark song in progress
infamouspat [Mon, 3 Oct 2011 07:55:31 +0000 (00:55 -0700)] 
file to mark song in progress

13 years agoadd libtommath and libtomcrypt as includes in build
Pat McIlroy [Mon, 3 Oct 2011 06:52:18 +0000 (23:52 -0700)] 
add libtommath and libtomcrypt as includes in build

13 years agoadd patch data and fix bug in Data dir creation in setup-dev-env.sh
Pat McIlroy [Mon, 3 Oct 2011 06:51:51 +0000 (23:51 -0700)] 
add patch data and fix bug in Data dir creation in setup-dev-env.sh

13 years agoMerge branch 'dev'
Carl Myers [Mon, 3 Oct 2011 01:44:01 +0000 (18:44 -0700)] 
Merge branch 'dev'

13 years agocrypto561 dir BEGONE
infamouspat [Sat, 1 Oct 2011 22:27:48 +0000 (15:27 -0700)] 
crypto561 dir BEGONE

13 years agoUse stabler version of libtommath, replace cryptopp entries in Makefile with libtomcrypt
Patrick McIlroy [Sat, 1 Oct 2011 12:00:39 +0000 (05:00 -0700)] 
Use stabler version of libtommath, replace cryptopp entries in Makefile with libtomcrypt

13 years agoreplace cryptopp with libtomcrypt for PK cryptography
Patrick McIlroy [Sun, 25 Sep 2011 12:31:40 +0000 (05:31 -0700)] 
replace cryptopp with libtomcrypt for PK cryptography

13 years agosetup-dev-env.sh helps devs setup an environment to run home version
Carl Myers [Sun, 25 Sep 2011 06:40:05 +0000 (23:40 -0700)] 
setup-dev-env.sh helps devs setup an environment to run home version

13 years agobuild-home.sh now correctly invokes make without -j
Carl Myers [Sun, 25 Sep 2011 05:26:06 +0000 (22:26 -0700)] 
build-home.sh now correctly invokes make without -j

CR: infamouspat

13 years agoCherry-pick from Wanny/openitg pull request
Patrick McIlroy [Sun, 14 Aug 2011 22:50:03 +0000 (15:50 -0700)] 
Cherry-pick from Wanny/openitg pull request

MusicWheel.cpp /.h:
Added a metrics toggle to swap Random and Roulette

[MusicWheel]
SwapRandomAndRoulette=  0 is default behavior.

Banner.cpp:
Fixed the conditions for ScrollRandom and ScrollRoulette. Their effects were swapped.

OptionRowHandler.cpp:
Added a metrics toggle to display or not the song's meter besides the difficulty name in ScreenPlayerOptions

[ScreenPlayerOptions]
HideMeter= 0 is default behavior (not hiding it)

14 years agofix silly logic in GetNumMachineScores; now we properly count the number of scores...
Mark Cannon [Thu, 28 Apr 2011 02:41:10 +0000 (22:41 -0400)] 
fix silly logic in GetNumMachineScores; now we properly count the number of scores rather than every steps that was played

14 years agocommit more sensible implementation of GetNumMachineScores (untested)
Mark Cannon [Wed, 27 Apr 2011 21:54:56 +0000 (17:54 -0400)] 
commit more sensible implementation of GetNumMachineScores (untested)

14 years agoinitial reverse of ParseSerialNumber and GetGuidFromSerial; untested, but should...
Mark Cannon [Wed, 27 Apr 2011 21:39:56 +0000 (17:39 -0400)] 
initial reverse of ParseSerialNumber and GetGuidFromSerial; untested, but should be harmless for home users.

14 years agoonly define OITG_VERSION if we actually have it; handle the undefined case in the...
Mark Cannon [Sat, 16 Apr 2011 05:40:04 +0000 (01:40 -0400)] 
only define OITG_VERSION if we actually have it; handle the undefined case in the binary

14 years agomove debug serial generation back to where it belongs, removed ProductInfo::GetSerial...
Mark Cannon [Sat, 16 Apr 2011 05:38:54 +0000 (01:38 -0400)] 
move debug serial generation back to where it belongs, removed ProductInfo::GetSerial, fixed GetFullVersionString() not including the name

14 years agoremove unused ProductInfo header
Mark Cannon [Sat, 16 Apr 2011 03:19:17 +0000 (23:19 -0400)] 
remove unused ProductInfo header

14 years agogot rid of the out-of-place camel case, implemented some stuff with the new versionin...
Mark Cannon [Sat, 16 Apr 2011 03:19:04 +0000 (23:19 -0400)] 
got rid of the out-of-place camel case, implemented some stuff with the new versioning system

14 years agoadd quick/dirty hack to skip read-only dirs when opening a file for writing
Mark Cannon [Sat, 16 Apr 2011 03:00:24 +0000 (23:00 -0400)] 
add quick/dirty hack to skip read-only dirs when opening a file for writing

14 years agoadd more complex versioning system for Lua and friends
Mark Cannon [Sat, 16 Apr 2011 02:43:32 +0000 (22:43 -0400)] 
add more complex versioning system for Lua and friends

14 years agochange ProductInfo to a namespace
Mark Cannon [Sat, 16 Apr 2011 01:54:59 +0000 (21:54 -0400)] 
change ProductInfo to a namespace

14 years agofix broken Linux compile on Timer.cpp
Mark Cannon [Sat, 16 Apr 2011 01:54:47 +0000 (21:54 -0400)] 
fix broken Linux compile on Timer.cpp

14 years agoadd LightsDriver_ActorMessage to win32 vs2008 project, fix Timer.cpp so it compiles...
Pat [Wed, 13 Apr 2011 02:49:47 +0000 (19:49 -0700)] 
add LightsDriver_ActorMessage to win32 vs2008 project, fix Timer.cpp so it compiles on win32

14 years agohardcode release info for win32 builds, various fixes for win32 installer
Pat [Wed, 13 Apr 2011 02:02:50 +0000 (19:02 -0700)] 
hardcode release info for win32 builds, various fixes for win32 installer

14 years agoAdding chroot-home.sh to build home version in chroot also
Carl Myers [Mon, 11 Apr 2011 22:22:00 +0000 (15:22 -0700)] 
Adding chroot-home.sh to build home version in chroot also

14 years agoDefine AV_VERSION_INT if it isnt already defined.
August Gustavsson [Mon, 11 Apr 2011 19:00:27 +0000 (21:00 +0200)] 
Define AV_VERSION_INT if it isnt already defined.

14 years agoFixed Error in Profiling code
Carl Myers [Mon, 11 Apr 2011 09:12:38 +0000 (02:12 -0700)] 
Fixed Error in Profiling code

* sadly, still doesn't work.  Doesn't hurt either though, will fix soon.

14 years agoAdding profiling data to USB profile loading
Carl Myers [Mon, 11 Apr 2011 07:01:52 +0000 (00:01 -0700)] 
Adding profiling data to USB profile loading

CR: infamouspat

14 years agoAdded ProfilingTimer, RageLog::ProfileStart, RageLog::ProfileStop
Carl Myers [Mon, 4 Apr 2011 08:31:32 +0000 (01:31 -0700)] 
Added ProfilingTimer, RageLog::ProfileStart, RageLog::ProfileStop

* Implemented high-resolution timer not dependant on gettimeofday
* Added profiling functions to RageLog
* TODO: RageTimer should be replaced with ProfilingTimer eventually
because timers that depend upon gettimeofday break if the system clock
changes, which can happen due to NTP running or a host of other factors.
* TODO: untested on windows, but ought to work.

CR: infamouspat

14 years agoMerge branch 'master' of git@github.com:openitg/openitg
Mark Cannon [Mon, 11 Apr 2011 04:50:01 +0000 (00:50 -0400)] 
Merge branch 'master' of git@github.com:openitg/openitg

14 years agoadded LightsDriver_ActorMessage - broadcasts messages corresponding to the state...
Mark Cannon [Mon, 11 Apr 2011 04:49:47 +0000 (00:49 -0400)] 
added LightsDriver_ActorMessage - broadcasts messages corresponding to the state of each light

14 years agoUGH...
Pat McIlroy [Mon, 11 Apr 2011 03:12:51 +0000 (20:12 -0700)] 
UGH...

14 years agoignore null LightsStates in LightsMapper::GetLightsField
Mark Cannon [Mon, 11 Apr 2011 02:37:03 +0000 (22:37 -0400)] 
ignore null LightsStates in LightsMapper::GetLightsField

14 years agoanti-seizure feature for DDR lights easter egg (caps out around ~350 BPM)
Mark Cannon [Mon, 11 Apr 2011 02:33:45 +0000 (22:33 -0400)] 
anti-seizure feature for DDR lights easter egg (caps out around ~350 BPM)

14 years agoLog ignored invalid actor
Pat McIlroy [Mon, 11 Apr 2011 02:14:35 +0000 (19:14 -0700)] 
Log ignored invalid actor

14 years agouser ability to address invalid/nonexistant actors a.k.a. fix bugzilla ID 3
Pat McIlroy [Mon, 11 Apr 2011 01:55:26 +0000 (18:55 -0700)] 
user ability to address invalid/nonexistant actors a.k.a. fix bugzilla ID 3

14 years agoOnly show songs from cache if they have an actual music file available
Pat McIlroy [Sun, 10 Apr 2011 22:32:14 +0000 (15:32 -0700)] 
Only show songs from cache if they have an actual music file available

14 years agoredundancy fixup
Pat [Fri, 8 Apr 2011 06:36:04 +0000 (23:36 -0700)] 
redundancy fixup

14 years agoAllow new users with USB cards who do not have high scores to enter their name
Pat [Mon, 4 Apr 2011 01:35:29 +0000 (18:35 -0700)] 
Allow new users with USB cards who do not have high scores to enter their name

14 years agoRemove precompiled headers until we get it working again, remove most useless #includ...
Pat [Sun, 3 Apr 2011 22:04:20 +0000 (15:04 -0700)] 
Remove precompiled headers until we get it working again, remove most useless #include ever in StdString.h

14 years agoAdd USBDriverImpl stuff to vcproj
infamouspat [Sat, 2 Apr 2011 04:00:59 +0000 (21:00 -0700)] 
Add USBDriverImpl stuff to vcproj

14 years agoAdded one more case to detect lua 5.1. Fixed avformat API breakage for
August Gustavsson [Wed, 30 Mar 2011 09:33:17 +0000 (11:33 +0200)] 
Added one more case to detect lua 5.1. Fixed avformat API breakage for
versions > 52.67.0

14 years agoUpdated ReleaseNotes.txt
Carl Myers [Mon, 28 Mar 2011 20:56:40 +0000 (13:56 -0700)] 
Updated ReleaseNotes.txt

14 years agoadd patch data the proper way in win32 installers, keep product name as just "OpenITG...
infamouspat [Mon, 28 Mar 2011 03:08:41 +0000 (20:08 -0700)] 
add patch data the proper way in win32 installers, keep product name as just "OpenITG" in installer

14 years agoAdd DLL files to source control, change win32-related code to use ProductInfo static...
infamouspat [Sat, 5 Mar 2011 08:08:22 +0000 (00:08 -0800)] 
Add DLL files to source control, change win32-related code to use ProductInfo static class

14 years agoadd global.h to ProductInfo.cpp for win32 precompiled headers (sigh), add stupid...
infamouspat [Sat, 5 Mar 2011 10:19:18 +0000 (02:19 -0800)] 
add global.h to ProductInfo.cpp for win32 precompiled headers (sigh), add stupid frontend hack to show title screen background video in home theme

14 years agoFixed patch script to warn if itg2ac-util missing
Carl Myers [Sun, 27 Mar 2011 20:58:14 +0000 (13:58 -0700)] 
Fixed patch script to warn if itg2ac-util missing

* Fixed patch script to warn if itg2ac-util missing
* Also added comments about the "ITG 2 *" prefix for patches
* Removed code that searches for "OpenITG" prefix for patches
CR: infamouspat

14 years agominor fixups in start-3.sh, updated patch.xml a bit
Mark Cannon [Sat, 26 Mar 2011 20:13:42 +0000 (16:13 -0400)] 
minor fixups in start-3.sh, updated patch.xml a bit

14 years agoadd gen-arcade-patch.sh (tested and working so far), fixes for gen-patch-zip.sh,...
Mark Cannon [Sat, 26 Mar 2011 20:10:26 +0000 (16:10 -0400)] 
add gen-arcade-patch.sh (tested and working so far), fixes for gen-patch-zip.sh, removed old generate-patch.sh

14 years agofixed potential bug - on PC, a dongle decryption error could cause a segfault
Mark Cannon [Sat, 26 Mar 2011 16:55:23 +0000 (12:55 -0400)] 
fixed potential bug - on PC, a dongle decryption error could cause a segfault

14 years agofinally added xterm message on iButton::GetAESKey() failure; tested and working
Mark Cannon [Fri, 25 Mar 2011 23:09:41 +0000 (19:09 -0400)] 
finally added xterm message on iButton::GetAESKey() failure; tested and working

14 years agoiButton::GetAESKey() now returns bool instead of int; functionally the same, but...
Mark Cannon [Fri, 25 Mar 2011 22:34:04 +0000 (18:34 -0400)] 
iButton::GetAESKey() now returns bool instead of int; functionally the same, but less unintuitive conditionals

14 years agoadded gen-patch-zip.sh (which generates an encrypted patch.zip for use with arcade...
Mark Cannon [Fri, 25 Mar 2011 09:22:01 +0000 (05:22 -0400)] 
added gen-patch-zip.sh (which generates an encrypted patch.zip for use with arcade patches and home releases)

14 years agofix potential bug with Iow's last input state not being initialized
Mark Cannon [Fri, 25 Mar 2011 08:12:49 +0000 (04:12 -0400)] 
fix potential bug with Iow's last input state not being initialized

14 years agooptimized Iow and PIUIO processing: use one RageTimer for all input reports in a...
Mark Cannon [Fri, 25 Mar 2011 08:04:53 +0000 (04:04 -0400)] 
optimized Iow and PIUIO processing: use one RageTimer for all input reports in a single update (which shouldn't lose any precision anyway), only report button changes on HandleInput instead of reporting everything, use LightsMapping's GetLightsField() to update lights instead of doing it by hand (so to speak)

14 years agomove RageUtil functions IsBitSet/SetBit to use 0-31 instead of 1-32 (i.e. zero indexi...
Mark Cannon [Fri, 25 Mar 2011 08:02:36 +0000 (04:02 -0400)] 
move RageUtil functions IsBitSet/SetBit to use 0-31 instead of 1-32 (i.e. zero indexing - 0 = MSB, 31 = LSB)

14 years agoadded GetLightsField() to LightsMapper - now it'll generate a bit field from its...
Mark Cannon [Fri, 25 Mar 2011 08:01:11 +0000 (04:01 -0400)] 
added GetLightsField() to LightsMapper - now it'll generate a bit field from its mappings given a LightsState

14 years agoadd 'critical sound' flag to RageSoundParams; should make the sound play at normal...
Mark Cannon [Mon, 21 Mar 2011 20:36:37 +0000 (16:36 -0400)] 
add 'critical sound' flag to RageSoundParams; should make the sound play at normal volume regardless of the current mixer settings. untested (this computer has no sound card)

14 years agoMerge branch 'master' of git@github.com:openitg/openitg
Mark Cannon [Sun, 20 Mar 2011 17:59:16 +0000 (13:59 -0400)] 
Merge branch 'master' of git@github.com:openitg/openitg

14 years agodumb hack for ResolvePath() to only used directory-based file drivers
Pat McIlroy [Sun, 20 Mar 2011 09:35:50 +0000 (02:35 -0700)] 
dumb hack for ResolvePath() to only used directory-based file drivers

14 years agofix crash in the crash handler caused by unconditional CString assignment of Dl_info...
Mark Cannon [Sun, 20 Mar 2011 08:19:18 +0000 (04:19 -0400)] 
fix crash in the crash handler caused by unconditional CString assignment of Dl_info::dli_saddr, which might be NULL